Lab 03 - Site Content
Difficulty: Beginner Service: Amazon S3
Scenario
Your team hosts a static website in S3. A teammate pushed a content update and now the site is showing the wrong page. They’re confident they uploaded the right file — but something went wrong. Your job is to figure out what happened and restore the correct content.
What Was Deployed
| Resource | Purpose |
|---|---|
AWS::S3::Bucket |
S3 bucket configured for public static website hosting |
AWS::S3::BucketPolicy |
Bucket policy granting public s3:GetObject on all objects |
The stack deployed without errors.
Deploy the Lab
- Open the AWS CloudFormation console
- Click Create stack > With new resources (standard)
- Select Upload a template file and upload lab-03-site-content.yaml
- Enter a stack name (e.g.,
brokenlabs-lab-03) and click Next > Next > Submit - Wait for the stack status to reach CREATE_COMPLETE
- Open the stack Outputs tab — you will see
BucketNameandBucketURL
The Problem
Open the BucketURL from the stack Outputs in your browser.
Expected: the page displays the AWS Broken Labs welcome page. Actual: the page displays “Coming Soon — This page is under construction.”
Fix the Lab
Diagnose why the wrong content is being served and restore the correct page.
Need help? Open hints for progressive hints.
Cleanup
- Open CloudFormation, select your stack, and click Delete