AWS Services and Fees
Posted: December 12th, 2011, 6:01 am
Form AWS:
"It looks like there are lots of requests coming from cloud front and the bucket has increase in size by 200GB since the beginning of December. Every time cloud front needs to update its cache, the customer is charged for the requests as per this text found on http://aws.amazon.com/cloudfront.
(Amazon CloudFront can use Amazon S3 or Amazon EC2 as the origin server to store the original, definitive versions of your files. Normal fees will apply for Amazon S3 and Amazon EC2 usage, including “origin fetches” – data transferred from Amazon S3 or Amazon EC2 to edge locations. )
We would advise that unless you require cloud front, you should cancel the service."
So, please be advised Guys
from that page
When a client requests a page using that domain name, Amazon CloudFront determines the best edge location to serve your content. If an edge location doesn’t have a copy of the file that the end user requests, Amazon CloudFront will get a copy from the origin server and hold it at the edge location so it’s available for future requests. You can also specify a default file (e.g., index.html) that will be served for requests made for the root of your distribution without an object name specified – for instance, requests made to http://abc123.cloudfront.net/ alone, without a file name.
-----------------------------------------------------------
"Amazon CloudFront uses the expiration period you set on your files (through cache control headers) to determine whether it needs to check the origin for an updated version of the file. If you expect that your files will change frequently, the best practice is to use object versioning to manage these changes. To implement object versioning, you create a unique filename in your origin server for each version of your file and use the file name corresponding to the correct version in your web pages or applications. With this technique, Amazon CloudFront caches the version of the object that you want without needing to wait for an object to expire before you can serve a newer version."
So Jason, I was correct..When I was updating each post to use AWS and testing that file, it was a whole request for the whole video size, some as large as 1GB even thought I only tested 5 seconds of that file.
Looking at my requests:
Amazon CloudFront: Dec total is: $2.61
Amazon Simple Storage Service: Dec 1st to 12: $39.05
Now, this is what I do not understand Jason
AWS Data Transfer (excluding Amazon CloudFront):
$0.120 per GB - up to 10 TB / month data transfer out 680.766 GB 81.69
That's when I had both streaming and html5 fallback on my JWPlayer code
Since I removed html5 fallback and the price been up by 3 dollars (form 6trh to 12th)
"It looks like there are lots of requests coming from cloud front and the bucket has increase in size by 200GB since the beginning of December. Every time cloud front needs to update its cache, the customer is charged for the requests as per this text found on http://aws.amazon.com/cloudfront.
(Amazon CloudFront can use Amazon S3 or Amazon EC2 as the origin server to store the original, definitive versions of your files. Normal fees will apply for Amazon S3 and Amazon EC2 usage, including “origin fetches” – data transferred from Amazon S3 or Amazon EC2 to edge locations. )
We would advise that unless you require cloud front, you should cancel the service."
So, please be advised Guys
from that page
When a client requests a page using that domain name, Amazon CloudFront determines the best edge location to serve your content. If an edge location doesn’t have a copy of the file that the end user requests, Amazon CloudFront will get a copy from the origin server and hold it at the edge location so it’s available for future requests. You can also specify a default file (e.g., index.html) that will be served for requests made for the root of your distribution without an object name specified – for instance, requests made to http://abc123.cloudfront.net/ alone, without a file name.
-----------------------------------------------------------
"Amazon CloudFront uses the expiration period you set on your files (through cache control headers) to determine whether it needs to check the origin for an updated version of the file. If you expect that your files will change frequently, the best practice is to use object versioning to manage these changes. To implement object versioning, you create a unique filename in your origin server for each version of your file and use the file name corresponding to the correct version in your web pages or applications. With this technique, Amazon CloudFront caches the version of the object that you want without needing to wait for an object to expire before you can serve a newer version."
So Jason, I was correct..When I was updating each post to use AWS and testing that file, it was a whole request for the whole video size, some as large as 1GB even thought I only tested 5 seconds of that file.
Looking at my requests:
Amazon CloudFront: Dec total is: $2.61
Amazon Simple Storage Service: Dec 1st to 12: $39.05
Now, this is what I do not understand Jason
AWS Data Transfer (excluding Amazon CloudFront):
$0.120 per GB - up to 10 TB / month data transfer out 680.766 GB 81.69
That's when I had both streaming and html5 fallback on my JWPlayer code
Since I removed html5 fallback and the price been up by 3 dollars (form 6trh to 12th)