Madison College • Fall 2026 madisoncollege.edu

Lab 5 — Amazon S3

← Back to Labs
Objectives
  • Create an S3 bucket
  • Upload content to an S3 bucket
  • Manage access permissions
  • Bucket versioning
  • Host a static site on S3
Lab Details
  1. Create an S3 bucket with the default permissions. With the default permissions, the bucket is not publicly accessible.
  2. Upload a picture into the newly created bucket.
  3. Change the permissions of your uploaded picture to be publicly accessible. Everyone should have access to “Read object” on the permissions tab. You will also have to change “Block public access” on the bucket as well as the picture. After saving these changes, your picture should be visible by typing the object URL in a browser.

    Take a screenshot of the picture that includes the browser URL.

  4. Upload a sample.txt file that includes a current date/time stamp. You will encounter an Access Denied error if you try to access the file from the object URL. Create a bucket policy that makes all objects in the bucket publicly accessible.

    Take a screenshot of the bucket policy (JSON).

  5. Enable versioning on the bucket. Upload a modified version of sample.txt and verify that you can access both versions.

    Take a screenshot showing both versions of the file.

  6. After completing the lab and getting credit in the Grade Center, delete the S3 resources to avoid being billed.
What did I learn?
  • Create a bucket in Amazon S3
  • Add files to your bucket
  • Manage permissions on an object
  • Manage permissions on a bucket
  • Use bucket versioning