Creating a Folder inside an S3 Bucket
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.
1. Select the
calabs-bucket you created earlier. (Reminder: Your bucket name will differ slightly.)
2. Click + Create Folder:
- Enter cloudfolder in the New folder field
- Click Save when ready
The folder is created inside your S3 bucket:
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).