- Lab
- 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.
Path Info
Table of Contents
-
Challenge
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 bucket should be a public bucket named
acg-testlab-public-<random>
. The public bucket should have public access unblocked. For object ownership in the public bucket, select ACLs enabled and Bucket owner preferred.Upload the file
cat1.jpg
found in the lab files to both S3 buckets, and test whether you can access them -
Challenge
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
cat2.jpg
tocat1.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.
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.