I was checking the pricing on the AWS page and noticed that for the us-east-1 region, the outgoing traffic is $ 0.09/GB and for transferring to Cloudfront is free. The pricing for delivering content from Cloudfront to US/EU is $ 0.085/GB. Are there any other fees (except request fees) than I am missing out, or is the transfer really cheaper?
http://aws.amazon.com/s3/pricing/
http://aws.amazon.com/cloudfront/pricing/
AWS CloudFront can be in some cases cheaper (or more expensive) than using S3. However, you gain a lot of performance. There are CDN providers such as CloudFlare who charge a flat fee.
In addition, data transfer out for content by using CloudFront is often more cost effective than serving files directly from S3, and there is no data transfer fee from S3 to CloudFront. You only pay for what is delivered to the internet from CloudFront, plus request fees (see the full pricing information).
Yes. CloudFront has lower latencies than S3 even when the request originates from a non-edge location. Generally, CloudFront responds tens of milliseconds faster. Whether you care about such small differences is a separate question.
S3 stores all the pre-recorded videos in different formats. CloudFront is used to cache the video to edge locations. This can be used to deliver content to the end user. Location is picked up automatically based on the closest physical edge location.
There are also charges for number of requests. As far as serving out content goes (and for US East), in S3 it's $0.004 per 10,000 GET requests, while CloudFront is $0.0075 per 10,000 HTTP Requests and $0.0100 per 10,000 HTTPS Requests. The info is listed under the Request Pricing sections on the pages you linked.
So, yes, CloudFront is cheaper in terms of data transfer, but you pay a bit more for each request.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With