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”

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”.

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

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.

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”)

vinova

Recent Posts

Guide to Facial Recognition Software Development in 2024

Facial recognition, once a staple of science fiction, is rapidly becoming a reality. In 2019,…

23 mins ago

Guide to Using AI in Recruitment Effectively in 2024

The recruitment picture is changing rapidly, and AI in recruitment is at the forefront of…

1 day ago

What is Multimodal AI? 10 Creative Applications and Real-World Examples

Multimodal AI is a groundbreaking technology that combines multiple modalities, such as text, images, and…

2 days ago

Top 10 AI Applications in the Energy Sector for 2024

Artificial intelligence (AI in the energy) sector is revolutionizing how we produce, distribute, and consume…

3 days ago

Top Mobile App Monetization Strategies for 2024

Nowadays, monetization application is the end game of mobile app development. Whether you're an indie…

4 days ago

Top Reasons Why Mobile Apps Fail and Lessons for Success

Nowadays, many mobile apps fail to make an impact. From poor research to bad user…

5 days ago