Appendix D. Create an Amazon S3 bucket
- Open a terminal and ensure that the AWS CLI is installed and configured with your AWS credentials.
Run the following command to create a new S3 bucket:
$ aws s3 mb s3://<bucket-name> --region <region-name>
WarningThe bucket name must be a unique name.
Run the following command to check that the bucket has been successfully created
$ aws s3 ls | grep <bucket-name>