Lab Steps

lock
Logging in to the Amazon Web Services Console
lock
Creating an S3 Bucket
lock
Creating a Folder inside an S3 Bucket
lock
Uploading a File to S3
lock
Granting Public Access to an S3 Object
lock
Changing Metadata of an S3 Object
lock
Deleting an S3 Bucket
live-help Need help? Contact our support team

Here you can find the instructions for this specific Lab Step.

If you are ready for a real environment experience please start the Lab. Keep in mind that you'll need to start from the first step.

Introduction

When you upload a folder from your local system or another machine, Amazon S3 uploads all the of files and subfolders from the specified folder to your bucket. It then assigns a key value that is a combination of the uploaded file name and the folder name. In this Lab Step you will upload a file to your bucket. The process is similar for uploading a single file, multiple files, or a folder with files in it.

In order to complete this Lab Step, you have to upload the cloudacademy-logo.png file from your local file storage into an S3 folder you created earlier. Download the Cloud Academy logo from the following location: https://s3-us-west-2.amazonaws.com/clouda-labs/scripts/s3/cloudacademy-logo.png (If the image is not downloaded for you, simply right-click the image and select Save image as to download it to your local file system.)

 

Instructions

1. Click on the cloudfolder folder. You are placed within the empty folder in your S3 bucket.

Note: Click the folder name itself, not the checkbox for the folder name. If you select the folder checkbox then upload a file, it will be placed above the folder (not inside it).

 

2. Click the Upload button. A four part wizard for Upload starts:

alt

Although you can step through each screen of the wizard, the default permissions and properties suffice for this lab.

 

3. Click Add Files. Browse to and select the local copy of cloudacademy-logo.png file that you downloaded earlier:

alt

The logo is added to the list of files that are ready to upload. You have several options at this point:

  • Add more files
  • Next (to advance through the wizard)
  • Upload

However, there is another method that some users prefer to add files for upload.

 

4. Click X to remove the logo file from the file upload list.

 

5. Click Add Files again. This time, rather than browsing to a file, drag and drop the logo file onto the wizard. The wizard adds it to the list of files to upload.

 

6. Click Upload to upload the file. It is placed in the folder in your bucket:

alt

 

Summary

In this Lab Step, you learned two ways to upload files to S3. 

Validation checks
1Checks
Uploaded File to S3

Checks if a file has been uploaded to the S3 bucket

Amazon Simple Storage Service (S3)