Lab 03 - S3 Content Recovery
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. The bucket exists, the URL is reachable, and the bucket policy is correct.
Deploy the Lab
- Open the AWS CloudFormation console
- Click Create stack > With new resources (standard)
- Select Upload a template file and upload lab-03-versioning.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.”
The bucket, policy, and URL are all correctly configured.
Fix the Lab
Investigate 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