Objectives
Lab Details
  1. Create a 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" to the bucket as well as the picture. After making and saving these changes, your picture should be visible by typing in 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 see that you encounter an Access Denied error again if you try to access your sample.txt 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 of sample.txt.

    Take a screenshot showing both versions of the file.

  6. After completing the lab and getting credit in the GradeCenter, delete the S3 resources to avoid being billed.
What did I learn?