Creating an S3 Bucket
You can create an S3 bucket using the AWS Management Console. As with many other AWS services, you can use the AWS API or CLI (command line interface) as well. This lab uses the AWS Management Console for all S3 related tasks.
1. In the AWS Management Console search bar, enter S3, and click the S3 result under Services:
You will be placed in the S3 console.
Note: In May 2017, Amazon rolled out an entirely new user interface (UI). Cloud Academy updated this lab to reflect the new UI. Although the old and new UI have visual differences, and the wizards and feature set also differ, the concepts covered in this lab exercise apply to both the old and new UI. (For example, S3 buckets, folders, and objects.)
2. From the S3 console, click the orange Create Bucket button:
3. Enter a unique Bucket name on the Name and region screen of the wizard:
- Region: US West (Oregon) (This should be set for you. If not, please select this region.)
Important! Bucket names must be globally unique, regardless of the AWS region in which you create the bucket. Buckets must also be DNS-compliant.
The rules for DNS-compliant bucket names are:
Bucket names must be at least 3 and no more than 63 characters long.
Bucket names can contain lowercase letters, numbers, periods, and/or hyphens. Each label must start and end with a lowercase letter or a number.
Bucket names must not be formatted as an IP address (for example, 192.168.1.1).
The following examples are valid bucket names: calabs-bucket-1, cloudacademybucket , cloudacademy.bucket , calabs.1 or ca-labs-bucket.
Troubleshooting Tip: If you receive an error because your bucket name is not unique, append a unique number to the bucket name in order to guarantee its uniqueness:
For example, change "calabs-bucket" to "calabs-bucket-1" (or a unique number/character string) and try again.
4. Leave the Block public access (bucket settings) at the default values:
No changes are needed. This is where you can set more granular permissions tied to your S3 objects. This includes setting permissions at the user and group level.
5. Click on Create bucket.
6. Click on the new bucket and then click Properties to switch to the Properties tab for your new bucket:
The Properties tab allows you to configure several options after bucket creation. Similarly for the Permissions and Management tabs. No changes are needed at this time. It's helpful to know that post-creation configuration options are available however.
In this Lab Step you created an S3 bucket. Although you stepped through each of the four parts of the wizard in order to get a basic understanding of the type of configuration options, you used default settings for the bucket.
Tip: If you are certain you don't need any changes from the default settings, you can click the Create button on the first screen of the wizard (Name and Region).
Check if the Amazon S3 bucket has been created