Introduction

Amazon cloud front is basically a web service that helps you to speed up distribution of your static and dynamic web content such as .html,.css,.js and image files etc.

Cloud front basically delivers your content through a worldwide network of data centers which is used to call edge locations.

The advantage of cloud front is that users can easily navigate the URL and see the image.

Cloud front speeds up the distribution of your content by routing each user request to the edge location that can basically serve your content.

Typically, this cloud front edge server provides the fastest delivery to the viewer.

Another advantage is to get increased reliability and availability because it creates the copy of your files in multiple edge locations around the world.

Let's see how to create the Cloud Front Distribution

Create a Cloud Front Web Distribution

So, Under Default Cache Behavior Settings

Now Under distribution settings

Test Your link

Copy the following HTML into a new file:

For example, if your domain name was abc.cloudfront.net and your object was image.jpg, the URL for the link would be:

http://abc.cloudfront.net/image.jpg.

Hope you like my article. This is how we can create cloud front distribution service.