Creating Amazon S3 Buckets, Managing Objects, and Enabling Versioning

30 minutes
  • 2 Learning Objectives

About this Hands-on Lab

Welcome to the hands-on lab, where we will create two S3 buckets and verify public versus non-public access to the buckets. We will also enable and validate versioning based on uploaded objects.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create a Public and Private Amazon S3 Bucket
  1. Create a public Amazon S3 bucket with the prefix acg-testlab-<random>-public in us-east-1.
  2. Enable public access and then upload an object.
  3. Verify public access to the object.
  4. Create a private Amazon S3 bucket with the prefix acg-testlab-<random>-private in us-east-1, but do not enable public access.
  5. Verify what happens when the object that is accessed does not have public permissions.
Enable Versioning on the Public Bucket and Validate Access to Different Versions of Files with the Same Name
  1. Enable versioning on the public bucket.
  2. Upload a file to the bucket.
  3. Upload a second file to the bucket with the same name.
  4. Verify that both versions of the file are accessible.

Additional Resources

Log in to the AWS Management Console using the provided credentials, and make sure you are in the us-east-1 region. Use us-east-1 for the all the lab activities.

The necessary files may be accessed here.

To upload the pineheadv2.jpg file, you will need to rename it to pinehead.jpg to achieve the same results as the hands-on lab video.

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?