Difference between revisions of "Aws s3 mb"
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
Solution: include --region configuration parameter | Solution: include --region configuration parameter | ||
aws s3 mb s3://mybucket [[--region]] [[us-west-2]] | aws s3 mb s3://mybucket [[--region]] [[us-west-2]] | ||
+ | |||
+ | == Errors == | ||
== Related terms == | == Related terms == |
Revision as of 12:13, 31 January 2025
aws s3 mb
creates an S3 bucket.
https://docs.aws.amazon.com/cli/latest/reference/s3/mb.html
aws s3 mb s3://mybucket make_bucket: mybucket
mb
- Make bucket
Contents
Example
aws s3 mb s3://mybucket make_bucket failed: s3://mybucket An error occurred (InvalidLocationConstraint) when calling the CreateBucket operation: The specified location-constraint is not valid
Solution: include --region configuration parameter aws s3 mb s3://mybucket --region us-west-2
Errors
Related terms
aws s3api create-bucket
Cloudformation AWS::S3::Bucket
example"ResourceStatusReason": "Bucket name should not contain uppercase characters"
gsutil mb
- Terraform:
aws_s3_bucket
aws s3 rm
az storage container create
See also
Advertising: