Introduction to Amazon CloudFront

In this lab, I will be storing a picture into a public S3 bucket that can be accessed by others.

Storing a publicly accessible image file in an Amazon S3 Bucket

First I need to create an S3 Bucket and make it public

picture.PNG

s3

Now I need to upload an image to my newly created bucket.

bucket.PNG

Now I must get the link for image fileĀ s3 cloud.PNG

Creating an amazon CloudFront Web Distribution

Now I will create an Amazon CloudFront that will distribute the file.

clouddd.PNG

I select the bucket I wish to be linked to CloudFront and create it. The creation process can take up to 20 mins.

cloddd.PNG

Creating a Link to your Object

Using the template below I can create a basic website to access my image.

lola.PNG

 

It works! it’s on a local directory but it’s talking to my S3 bucket! how cool!!!!

yay.PNG

Post Author: Techdox

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.