Upload Limit for AWS S3

0

I'm working with Amazon S3 and AWS SDK for PHP .

  • Is there a file size limit to upload?

  • Is there a simultaneous upload limit?

You have given me a lot of these errors when I try to send 20 200MB files simultaneously to my bucket .

  

RequestTimeTooSkewedException: AWS Error Code: RequestTimeTooSkewed,   Status Code: 403, AWS Request ID: 0CE24AEDE4162AC9, AWS Error Type:   client, AWS Error Message: The difference between the request time and   the current time is too large.

     

RequestTimeoutException: AWS Error Code: RequestTimeout, Status Code:   400, AWS Request ID: 913367E51F2BC5AD, AWS Error Type: client, AWS   Error Message: Your server connection to the server was not read from   or written to within the timeout period. Idle connections will be   closed.

Or will it be my code or PHP problem?

    
asked by anonymous 13.11.2014 / 17:11

1 answer

2

First answering your question:

  
  • Is there a file size limit to send?
  •   

Yes. Using upload in single operation the limit is 5GB . For multipart the limit is 5TB . Amazon recommends using multipart for files larger than 100MB.

The RequestTimeTooSkewedException error usually occurs when your watch is wrong and you check comparing your watch with Amazon's watch :

# Hora na Amazon (UTC)
$ curl http://s3.amazonaws.com -v

# Hora na sua Máquina (UTC)
$ date -u

However, the RequestTimeoutException error is probably occurring because your internet connection is slow.

If your clock is right then probably your uploads are taking more than 15 minutes, to mitigate this I recommend that you use multipart upload

    
30.12.2014 / 12:46