Serve your files using the CloudFront CDN

Lab Steps

lock
Logging in to the Amazon Web Services Console
lock
Creating an S3 Bucket
lock
Creating a CloudFront Distribution
lock
Uploading a Demo Image Gallery to the S3 Bucket
lock
Making the S3 Files Publicly Accessible
lock
Testing the CloudFront Distribution
lock
Disabling a CloudFront Distribution
lock
Deleting a CloudFront Distribution
lock
Destroying an S3 Bucket

The hands-on lab is part of these learning paths

Certified Developer – Associate Certification Preparation for AWS
course-steps
30
certification
6
lab-steps
22
description
2
AWS Networking & Content Delivery
course-steps
5
certification
2
lab-steps
5
AWS Advanced Networking – Specialty Certification Preparation
course-steps
20
certification
2
lab-steps
8
quiz-steps
4
Operations on AWS
course-steps
4
certification
2
lab-steps
3
more_horizSee 2 more

Ready for the real environment experience?

DifficultyBeginner
Time Limit1h 30m
Students5528
Ratings
4.6/5
starstarstarstarstar-half

Description

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

Learning Objectives

Upon completion of this beginner level lab, you will be able to:

  • Create an Amazon S3 bucket
  • Create a Amazon CloudFront distribution
  • Upload a demo website to a S3 bucket
  • Delete a S3 bucket
  • Delete a CloudFront distribution

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

Prerequisites

Experience with Amazon S3 and Amazon CloudFront will be beneficial but is not required.

The following courses can be used to learn more about them:

Updates

August 25th, 2020 - Updated all screenshots and instructions

January 10th, 2019 - Added a validation Lab Step to check the work you perform in the Lab

November 20th, 2018 - Updated instructions to incorporate new S3 public access security settings

About the Author

Andrew is a Labs Developer with previous experience in the Internet Service Provider, Audio Streaming, and CryptoCurrency industries. He has also been a DevOps Engineer and enjoys working with CI/CD and Kubernetes. He holds the AWS Certified Developer - Associate certification.