I'm now setting myself to learn about AWS. Has anybody documented their experiences with CloudFront and Craft?
I'm running Amazon S3+CloudFront on several of my sites. There's not really much to it, Craft makes it really easy:
- Create a new Amazon S3 assets source in Craft.
- Set up CloudFront in AWS (see this link).
- In the settings for your assets source, add your cloudfront url (something like http://xxxxxxxxx.cloudfront.net/, or your custom CNAME if you set one up) to the "URL Prefix" field.
That should be it!
I wrote up an article that might be helpful for future-people looking for step by step instructions on setting this up: Setting Up AWS S3 Buckets + CloudFront CDN for your Assets