- Lab
- A Cloud Guru
Simulating Recovery of Deleted Files in S3 Using Versioning
In this hands-on lab you have been asked to implement an architecture to help accidental or purposeful deletion of important company files stored in Amazon S3. During your time you will: Explore deletion protection options for your Amazon S3 bucket, enable versioning for all files within the S3 bucket, and test deletion and recovery of test files.
Path Info
Table of Contents
-
Challenge
Create Test Files
- Invoke the
CreateTestFiles
Amazon API Gateway API to create test files in the Amazon S3 bucket - You should get several files/objects created similar to
important_file_###.txt
You can get the invoke URL in the API Gateway console from the Stages menu of the MyApi resource or the CloudFormation outputs
- Invoke the
-
Challenge
Delete Objects - Part 1
- Delete one or more of the important files within the Amazon S3 bucket created for you. The bucket name should start with
csaa-ps-
. - Do not delete all objects
- Delete one or more of the important files within the Amazon S3 bucket created for you. The bucket name should start with
-
Challenge
Enable Versioning for Amazon S3 Bucket
- Enable bucket versioning for the Amazon S3 bucket from within the bucket properties
-
Challenge
Delete Objects - Part 2
- Select and delete another object within the Amazon S3 bucket.
Make note of the object key/name.
-
Challenge
Recover Deleted Object
- Show the object versions for the Amazon S3 bucket using the toggle button
- Recover the previously deleted object by permanently deleting the deletion marker for your recently removed object
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.