Serve your files using the CloudFront CDN

Beginner

2954 students completed the lab in ~45m

Total available time: 1h:30m

1560+ students rated this lab!

Create a Content Delivery Network (CDN) Distribution using Amazon CloudFront

Amazon CloudFront is a content delivery network (CDN) service. You can speed up the delivery of static files using the HTTP or the HTTPS protocols. You can stream audio or video contents in real time using the RTMP protocol. Each CloudFront distribution has a unique cloudfront.net domain name that can be used to reference objects through the global network of edge locations.

AWS CloudFront uses a global network of edge locations for content delivery. There are 20 locations in USA, 16 locations in Europe, 13 in Asia, 2 in Australia and 2 in South America. You can also monitor and receive notifications on the operational performance of CloudFront distributions using CloudWatch, and track trends in data transfer and requests checking the usage charts.

CloudFront is a powerful service and, during this lab, you will learn to create a fully functional CloudFront distribution using an S3 bucket as origin.

 

Note: Cloudfront may takes up to 25 minutes to deploy your distribution. You will need to wait until it is deployed to complete the laboratory.

Have a look at what you will learn

You'll build and learn following these steps:

Log In to the Amazon Web Service Console

Your first step to start the laboratory experience

Create an S3 bucket

How to create an S3 bucket.

Upload a demo image gallery to the S3 Bucket

Upload a directory with several files to a S3 bucket.

Make S3 files accessible to everyone

How to make public S3 objects

Create a CloudFront Distribution

Start distributing your files using the Cloudfront CDN

Test the CloudFront distribution

Check the benefits of CloudFront by browsing the demo gallery.

Disable a CloudFront distribution

How to put offline a CloudFront distribution.

Delete a CloudFront distribution

How to destroy a CloudFront distribution

Destroy an S3 bucket

How to destroy an S3 bucket