- A Cloud Guru
Creating Amazon S3 Buckets, Managing Objects, and Enabling Versioning
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.
Table of Contents
Create a Public and Private Amazon S3 Bucket
Download the two image files found at https://github.com/ACloudGuru-Resources/S3BucketsLabFiles to your local machine.
Create two S3 buckets. One bucket should be a private bucket named
acg-testlab-private-<random>. The other should be a public bucket named
acg-testlab-public-<random>. The public bucket should have public access unblocked.
Upload the file
cat1.jpgfound in the lab files to both S3 buckets, and test whether you can access them
Enable Versioning on the Public Bucket and Validate Access to Different Versions of Files with the Same Name
Enable versioning the public bucket. Rename the image originally named
cat1.jpg, and upload it to the public S3 bucket, which will be created as a new version of the original file. Using the URLs for the different versions of the image, confirm that you can access both images.
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.