Skip to content

Instantly share code, notes, and snippets.

@francirp
Created February 27, 2015 04:32
Show Gist options
  • Save francirp/f5cc3b7f8ed42599be5d to your computer and use it in GitHub Desktop.
Save francirp/f5cc3b7f8ed42599be5d to your computer and use it in GitHub Desktop.
Setting up a CDN on Cloudfront
1. Login to AWS: http://aws.amazon.com/
2. Go to Cloudfront
3. Create Distribution
4. Under Web: Get Started
5. Origin Domain Name: example.herokuapp.com
6. Submit
7. Click into the recently created CDN and copy the "Domain Name", which will look like ddho32frg3ham.cloudfront.net
8. Follow steps here to setup in Rails app: https://gist.github.com/francirp/9fe05dcbcf4ffabbf0e1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment