Creating a Folder inside an Amazon S3 Bucket

Lab Steps

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

Introduction

The AWS S3 console allows you to create folders for grouping objects. This can be a very helpful organizational tool. However, in Amazon S3, buckets and objects are the primary resources. A folder simply becomes a prefix for object key names that are virtually archived into it.

 

Instructions

1. Return to the Buckets menu, and click on the bucket you created earlier. (Reminder: Your bucket name will differ slightly.)

 

2. Click Create folder:

alt

 

3. In the Folder name textbox, enter cloudfolder:

alt

 

4. Scroll to the bottom and click Create folder:

alt

The folder is created inside your S3 bucket:

alt

 

Summary

In this lab step, you created a folder that can help with organizing objects within an S3 bucket. A folder within a bucket can be helpful programmatically as well. For example, you can configure your application to output certain file types (such as PNG) to a specific folder name (image-output).