website designer singapore,singapore web design services,website developer singapore,app development singapore,web development company singapore,mobile application developer singapore,android developer singapore,singapore app developer,design agency singapore,design firms in singapore,mobile app development singapore,ios developer singapore,mobile apps development singapore,mobile developer singapore,web design services singapore,singapore mobile application developer,singapore mobile app developer,ruby on rails developer singapore,mobile apps singapore,singapore web development,ios app development singapore,app developer singapore,web designer singapore,web application singapore,web design singapore,graphic designer in singapore,mobile game developer singapore,singapore web design,mobile application development singapore,developer in singapore,web development singapore,singapore website design,web design company singapore,website design singapore,website development singapore,mobile app developer singapore,developers in 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

Malcare WordPress Security