Serve your files using the CloudFront CDN

The hands-on lab is part of these learning paths

Scenario: Selecting a Cloud Platform and Designing a Highly Available Business Solution

course-steps 3 certification 1 lab-steps 3

AWS Networking & Content Delivery

course-steps 7 certification 1 lab-steps 5

Advanced Networking – Specialty Certification Preparation for AWS

course-steps 17 certification 1 lab-steps 6 quiz-steps 1

Certified Developer—Associate Certification for AWS

course-steps 14 lab-steps 15 quiz-steps 18

Operations on AWS

course-steps 6 certification 1 lab-steps 3

Solutions Architect – Associate Certification Preparation for AWS

course-steps 8 certification 1 lab-steps 18 quiz-steps 5

Developer – Associate Certification Preparation for AWS

course-steps 7 certification 1 lab-steps 14 quiz-steps 2

SysOps Administrator – Associate Certification Preparation for AWS

course-steps 6 certification 1 lab-steps 18 quiz-steps 7

Solutions Architect—Associate Certification for AWS (2016)

course-steps 9 lab-steps 13 quiz-steps 12

SysOps Administrator—Associate Certification for AWS

course-steps 14 lab-steps 18 quiz-steps 13

Lab Steps

Logging in to the Amazon Web Services Console
Create an S3 bucket
Create a CloudFront Distribution
Upload a demo image gallery to the S3 Bucket
Make S3 files accessible to everyone
Test the CloudFront distribution
Disable a CloudFront distribution
Delete a CloudFront distribution
Destroy an S3 bucket

Ready for the real environment experience?

Duration1h 30m


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 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 take up to 25 minutes to deploy your distribution. You will need to wait until it is deployed to complete the laboratory.

About the Author


Antonio is an IT Manager and a software and infrastructure Engineer with 15 years of experience in designing, implementing and deploying complex webapps.

He has a deep knowledge of the IEEE Software and Systems Engineering Standards and of several programming languages (Python, PHP, Java, Scala, JS).

Antonio has also been using and designing cloud infrastructures for five years, using both public and private cloud services (Amazon Web Services, Google Cloud Platform, Azure, Openstack and Vmware vSphere).

During his past working experiences, he designed and managed large web clusters, also developing a service orchestrator for providing automatic scaling, self-healing and a Disaster Recovery Strategy.

Antonio is currently the Labs Product Manager and a Senior DevOps Engineer at Cloud Academy; his main goal is providing the best learn-by-doing experience possible taking care of the Cloud Academy Labs platform.