This activity will give you a basic introduction to Amazon S3. Amazon S3 runs on the world’s largest global cloud infrastructure, and is designed from the ground up to deliver 99.999999999% of durability. Data in Amazon S3 Standard, S3 Standard-IA, and Amazon Glacier storage classes is automatically distributed across a minimum of three physical Availability Zones (AZs) that are typically miles apart within an AWS Region.
Successfully complete this lab by achieving the following learning objectives:
- Create an Amazon S3 bucket
Begin by navigating to the S3 Management Console on AWS.
- Click the Create Bucket button.
- Set the Bucket Name to something unique. This name must be unique across all of AWS (i.e. no two AWS users may create a bucket with the same name).
- Select a Region in which to create this bucket. Usually, this will be a location close to your application or close to your users.
- Click the Create button.
You will see your new bucket listed.
- Upload an object to a bucket
Navigate into the bucket you created and upload an object (file) to it. I’ve created a small text file to upload, and I recommend you do the same.
- Click the bucket that you just created to navigate into it.
- Use the Upload button and select a file to upload.
- Click Upload.
After uploading, you will see the object listed to the left.
- Create the proper permissions on an object
Select the object you uploaded. Notice the tabs towards the top, including one labeled Permissions. Click on this tab. You’ll see information and settings for the object. Notice the header Manage public permissions. It can not currently be used to access the object publicly. We will add an object-level permission to make it public.
- Click on Everyone.
- Set the Object access to both Read and Write.
- We do not need to change the Permissions access.
- Save the permissions with the Save button.
If you click on the Objects tab and select the object, you will see information appear on the right side of the screen. Here, you can select or click on the link, and everyone with access to this link will be able to view or download the object.