Uploading a File to Amazon S3

Lab Steps

Logging In to the Amazon Web Services Console
Creating an Amazon S3 Bucket
Creating a Folder inside an Amazon S3 Bucket
Uploading a File to Amazon S3
Granting Public Access to an Amazon S3 Object
Changing the Metadata of an Amazon S3 Object
Deleting an Amazon S3 Bucket
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.


When you upload a folder from your local system or another machine, Amazon S3 uploads all the files and subfolders from the specified local 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 to 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-assets/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.)



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.


3. Click Add Files:


A file picker will appear.


4. Browse to and select the local copy of cloudacademy-logo.png file that you downloaded earlier:


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

  • Add more files
  • Upload

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


4. Check the file and click on Remove:



5. 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. Scroll to the bottom of the page and click Upload to upload the file:


You will see a blue notification that the file is uploading and then a green notification that the upload has been completed successfully.

The file is placed in the folder in your bucket:




In this lab step, you learned two ways to upload files to Amazon S3. 

Validation checks
Uploaded a File to Amazon S3

Check if a file has been uploaded to the Amazon S3 bucket

Amazon S3