In this lab, we will be setting up a S3 bucket to serve as an origin for our CloudFront distribution by creating a S3 bucket, making it public, and creating a CloudFront distribution to help keep your site safer.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Create an S3 Bucket with Content
Create an S3 bucket that will hold your content and upload a JPEG file.
- Add a Bucket Policy and Add a Tag on JPEG
Make the bucket pulic with a bucket policy and add a public tag to your JPEG file.
- Create a CloudFront Distribution
Create a CloudFront distribution and set your JPEG image as the default root object.
- Navigate to the Distribution
Once your distribution has been deployed, navigate to your lovely JPEG image.