Turn On S3 Versioning and Recover an Overwritten File
Beginner · 30 minutes · 5 tasks, checked automatically · 100 points
In this beginner lab you will create an S3 bucket, enable versioning, upload a file, overwrite it, and then recover the original content by retrieving a specific version. This is one of the most common real-world S3 recovery patterns and teaches you how versioning protects against accidental overwrites.
What you’ll learn
- Create an S3 bucket and enable versioning on it
- Upload a file and overwrite it with different content
- List all versions of the file and identify the original version ID
- Recover the original file content by downloading a specific version
How this lab works
- Start the lab: One click starts an emulated cloud on your computer, with the cloud’s own CLI ready: no account and no bill.
- Work through 5 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work reads the emulated cloud’s resources and says, task by task, what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: An emulated cloud on your computer: no cloud account, no bill
- Cloud: AWS
- Services: S3
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop (or Podman / Rancher Desktop) installed and running
- A AWS sandbox created in the Local Cloud Playground
Topics: s3, versioning, data-recovery, storage, aws, object-storage
Create a free account to start this lab.