Reputation: 1284
I see in Amazon CloudFront FAQ, the file size limit is 20 GB.
I plan to provide downloads in 10-30 MB filesize, in case the result is bad after the coding is completed, just hope to know --- is CloudFront capable for files in 10-30 MB filesize?
Or I should use Amazon S3 for download?
Thank you very much.
Upvotes: 6
Views: 9379
Reputation: 6977
Always go with CloudFront (CF), especially if you operate in North America or/and Europe.
I've personally never had an edge case, only one I can think of right now is that if you're very price sensitive & you operate in Asia or/and South America which have higher CF data transfer prices.
North America or/and Europe:
Data transfer is cheaper than S3 which basically cancels out all extra costs from CF.
South America or/and Asia:
It's more expensive. CF data transfer prices are roughly 2x more expensive on average.
Any kind of combination or all:
Create an example scienario, take a look at the prices & do the math. It's probably going to be more expensive but like I listed above: CloudFront has many very important advantages.
Upvotes: 4
Reputation: 14521
Of course you could use Cloud Front for files up to 20 GB.
What comes out better depends always on your situation. Generally speaking, using Cloud Front makes sense where speed of access matters, and for most scenarios this will be for small files like static resources for your webpage. With a large file, the user will not likely notice whether it's being pulled from S3 or Cloud Front edge location close to him.
Another important aspect is the price. With Cloud Front your costs multiply, again depending on how many downloads your users generate, and how are they spread out geographically.
My recommendation for you is staying with S3, unless there is some very specific requirement, you have not mentioned.
Upvotes: 6