Amazon Web Services (AWS) offers many valuable services for different purposes. In this Cloud Lab, you’ll learn to host a static website using two of its services, S3 and CloudFront. S3 is a storage service, and CloudFront is a content delivery network (CDN) service.
You’ll use the AWS management console to create an S3 bucket, upload files, host a static website, and configure the public access permissions. You’ll create a custom error page, Origin Access Control (OAC) for CloudFront, the configuration of CloudFront distribution, and clean up the allocated resources at the end of this Cloud Lab.
After completing this Cloud Lab, you can host your static website on an S3 bucket and extend your knowledge and understanding of CloudFront to host dynamic websites even with your custom domain names.
The following is the high-level architecture diagram of the infrastructure that we will create in this lab: