mobile app developer singapore,design firms in singapore,mobile developer singapore,web application singapore,web design company singapore,singapore web development,website design singapore,mobile game developer singapore,singapore mobile application developer,ruby on rails developer singapore,website designer singapore,web development company singapore,mobile application development singapore,mobile apps development singapore,graphic designer in singapore,singapore web design,website development singapore,singapore mobile app developer,mobile app development singapore,singapore website design,web design services singapore,app developer singapore,singapore app developer,mobile apps singapore,ios developer singapore,singapore web design services,app development singapore,developers in singapore,design agency singapore,android developer singapore,web design singapore,web designer singapore,website developer singapore,developer in singapore,web development singapore,mobile application developer singapore,ios app development singapore

How to turn your S3 bucket into a CDN

How to turn your S3 bucket into a CDN

Having Amazon serve your image through their awesome CDN is dead simple. It’s also about $0.12/GB per month… cheap.

Log into your Amazon account via the Amazon Console . Click on “CloudFront”

image

Once you have clicked on CloudFront, fint the “Create Distribution” link, which will either be at the top, or if you are a first time user, might be in the middle of the console page as well. Either way, click “Create Distribution”.

image

You can use the default “Download” option on this page, and simple click the “Continue” button.

image

On the Settings page, click in the Origin Domain Name box, and you will get a dropdown of all your S3 buckets. Choose your bucket you want to be served from the CDN. Leave the other settings alone and click the “Create Distribution” button.

imageimage

Viola! You now have a CDN that uses the images from the S3 bucket you chose on the settings page. The CDN will have some unfriendly url likeuweoqruqyr.cloudfront.com (which will be the new base url for your images, like https://uweoqruqyr.cloudfront.com/mykey/foo.jpg)

You can go to your DNS provider and just add a CNAME that can map this to some friendly url like “cdn.myawesomeapp.com”)

image

%d bloggers like this:
WordPress Security