This lab is currently in Beta, content may be updated as we refine the material
LABINTERMEDIATE

S3 Versioning and Replication Recovery

Build a resilient S3 setup: enable versioning, configure cross-region replication to us-east-2, recover from accidental deletes via delete markers, and apply a lifecycle policy.

50 minutes
aws/devops
S3 Versioning and Replication Recovery - Platform Engineering Hands-On Lab Icon

Lab Overview

In this lab you will build a production-style S3 resilience pattern using versioning, Cross-Region Replication (CRR), and lifecycle rules.

You will:

  • Create a source bucket in us-east-1 and a destination bucket in us-east-2 with versioning enabled on both
  • Create an IAM role that S3 will assume to perform replication, and attach a least-privilege policy
  • Configure a CRR rule on the source bucket targeting the destination
  • Upload an object, observe it replicate, simulate accidental deletion, then recover by removing the delete marker
  • Apply a lifecycle policy that transitions current versions to Standard-IA at 30 days and expires noncurrent versions after 7 days

Everything runs from a single AWS workstation against a TeKanAid-provisioned AWS lab account.

What You'll Learn

Enable versioning on S3 buckets in two regions

Create an IAM role and policy that S3 can assume for replication

Configure a Cross-Region Replication (CRR) rule on a source bucket

Recover from accidental deletion by removing a delete marker

Apply a lifecycle policy with storage class transitions and noncurrent version expiration

Prerequisites

aws-devops-cli-operations-baseline

basic-iam-knowledge

Technologies Covered

awss3versioningreplicationcrrlifecycleiamdop-c02resilient-cloud

Part of a Course

This lab is part of the AWS Certified DevOps Engineer - Professional (DOP-C02) course

View All Courses

Choose your plan

Simple, Transparent Pricing

Unlock full access to TeKanAid courses, labs, and bootcamps

MonthlyQuarterly

Pro

Course content without labs

$59/month

Renews automatically. Cancel anytime.

Final price verified at checkout.

  • Full access to all courses
  • Progress tracking
  • Certificate of completion
  • Community access
  • Bootcamp participation
  • New content access
Recommended

Premium

Full access with hands-on labs

$99/month

Renews automatically. Cancel anytime.

Final price verified at checkout.

  • Everything in Pro
  • Unlimited hands-on labs
  • Lab AI Assistant
  • Accelerator bootcamps with live office hours
  • Priority support

Prefer a single course?

Purchase individual courses for a one-time fee of $79. Full access to course content, quizzes, certificates, and community features, lab access is not included.

Browse Courses

Try it free, no credit card

Three free ways to start. All bridge into the paid Premium catalog when you're ready.

Not ready to commit? The crash course is email-only. No academy account required.

Ready to Get Started?

Start this hands-on lab and build real-world Platform Engineering skills

Get Access Now