CloudFront Custom Origin and Invalidations
A bunch of updates to the Ylastic CloudFront support. AWS recently added the ability to serve your content from an origin server that is not a S3 bucket. You can now use CloudFront as the CDN for files hosted on your own server. Here is a sample of how one would set up a custom origin server to serve the files hosted on the domain xanthe.us.
if you have an updated version of a file that is part of a distribution currently being served up by CloudFront, you have to ensure that the older version of the file is removed from the edge server cache before you upload a new version to the server. You do this by creating an invalidation request specifying the paths/files to expire. Do keep in mind that AWS limits the number of invalidations in progress at one time, as well as the number of free invalidations allowed per month.
Enjoy :-)
Comments [0]