Configuring S3 Buckets for Versioning and Deletion Protection

45 minutes
  • 4 Learning Objectives

About this Hands-on Lab

In this lab, students will work with Amazon Simple Storage Service (S3) to configure two S3 buckets with encryption, versioning, lifecycle rules, and deletion protection.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Configure Two S3 Buckets

Configure two S3 buckets. One bucket should start with the name labdata, and one bucket should start with the name lablogs.

Both buckets should block public access and accept all default settings upon creation.

Configure Protection for Accidental Deletion of Data for Both Buckets

Configure the S3 buckets to protect against accidental deletion of data using versioning.

Configure KMS Encryption for the labdata Bucket

Create a KMS encryption key and apply KMS encryption for the labdata bucket.

Configure Lifecycle Configuration for Both Buckets

Configure lifecycle policies for the S3 buckets. Name the lifecycle rule lifecycle. The lifecycle configuration should move objects to the Glacier Flexible Retrieval storage class after 45 days and should expire objects after 10 years (3,652 days). These lifecycle rules should be applied to all objects in the bucket.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?