I was looking to increase my experience working with large scalable websites, so I decided to switch all of my static items such as images over to Amazon S3 and CloudFront. S3 is Amazon’s storage service and CloudFront is their content delivery service. By doing this, I get to take advantage of the same infrastructure Amazon uses to run their websites.
From Amazon’s website:
“Amazon CloudFront delivers your content using a global network of edge locations. Requests for your objects are automatically routed to the nearest edge location, so content is delivered with the best possible performance. Amazon CloudFront works seamlessly with Amazon Simple Storage Service (Amazon S3) which durably stores the original, definitive versions of your files.”
This means that I get to upload my website’s images to Amazon’s S3. Then, when a user accesses this website, Amazon CloudFront delivers these images to the nearest edge location of that user. CloudFront stores these images in the edge’s cache until it expires. read more »