Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

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.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 15m
Published
Clock icon Feb 12, 2024

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. 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

  2. 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
  3. Challenge

    Enable Versioning for Amazon S3 Bucket

    • Enable bucket versioning for the Amazon S3 bucket from within the bucket properties
  4. Challenge

    Delete Objects - Part 2

    • Select and delete another object within the Amazon S3 bucket.

    Make note of the object key/name.

  5. 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

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

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.

Start learning by doing today

View Plans