The hands-on lab is part of these learning pathsSee 3 more
Ready for the real environment experience?
During this lab, you will host your static website using the Amazon Simple Storage Service (S3) so that it is secure, fast, protected against data loss, and can scale to support enterprise-level traffic. To do that, you'll store your website files on Amazon S3 and also use S3 to deliver your content to visitors to your website.
After setting up the static website on S3, this lab will show you how to use Amazon CloudFront to create a content delivery network (CDN). A CDN makes your website content available from data centers around the world, called edge locations. Using edge locations improves the speed of your website by reducing latency. Doing so is especially important if your website displays large media files such as high-resolution images, audio, or video.
Are you ready to get started?
Upon completion of this lab you will be able to:
- Configure static website hosting on Amazon S3
- Configure static websites to work with CloudFront distributions
This is a beginner level Lab, however, in order to follow the next steps you should be able to:
- Create and navigate S3 buckets
- Create CloudFront distributions
We recommend these labs as pre-requisites:
- Create Your First Amazon S3 Bucket
- Using S3 Bucket Policies and Conditions to Restrict Specific Permissions
- Serve your files using the CloudFront CDN
After completing the lab instructions the environment should look similar to:
June 27th, 2019 - Added a custom validation lab step to check the work performed in the lab
January 10th, 2019 - Added a validation Lab Step to check the work you perform in the Lab
About the Author
Eric Magalhães has a strong background as a Systems Engineer for both Windows and Linux systems and, currently, work as a DevOps Consultant for Embratel. Lazy by nature, he is passionate about automation and anything that can make his job painless, thus his interest in topics like coding, configuration management, containers, CI/CD and cloud computing went from a hobby to an obsession. Currently, he holds multiple AWS certifications and, as a DevOps Consultant, helps clients to understand and implement the DevOps culture in their environments, besides that, he play a key role in the company developing pieces of automation using tools such as Ansible, Chef, Packer, Jenkins and Docker.