Difference between revisions of "Aws s3 mb"
Jump to navigation
Jump to search
(24 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | + | <code>[[aws s3]] mb</code> creates an S3 bucket. | |
+ | https://docs.aws.amazon.com/cli/latest/reference/s3/mb.html | ||
+ | aws s3 mb [[s3://]]mybucket | ||
+ | make_bucket: mybucket | ||
+ | <code>mb</code> - Make bucket | ||
+ | |||
+ | == Example == | ||
aws s3 mb s3://mybucket | 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]] | ||
− | + | == Related terms == | |
− | + | * <code>[[aws s3api create-bucket]]</code> | |
− | + | * <code>[[Cloudformation AWS::S3::Bucket example|Cloudformation AWS::S3::Bucket]]</code> example | |
− | + | * <code>[[mkdir]]</code> | |
+ | * [[BucketName:]] | ||
+ | * <code>"[[ResourceStatusReason]]": "Bucket name should not contain uppercase characters"</code> | ||
+ | * <code>[[gsutil mb]]</code> | ||
+ | * [[Terraform]]: <code>[[aws_s3_bucket]]</code> | ||
+ | * <code>[[aws s3 rm]]</code> | ||
== See also == | == See also == | ||
+ | * {{aws s3 mb}} | ||
* {{aws s3}} | * {{aws s3}} | ||
* {{S3}} | * {{S3}} | ||
[[Category:AWS]] | [[Category:AWS]] |
Latest revision as of 15:02, 19 February 2024
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
Example[edit]
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
Related terms[edit]
aws s3api create-bucket
Cloudformation AWS::S3::Bucket
examplemkdir
- BucketName:
"ResourceStatusReason": "Bucket name should not contain uppercase characters"
gsutil mb
- Terraform:
aws_s3_bucket
aws s3 rm
See also[edit]
aws s3 mb
- AWS S3:
aws s3control
.aws s3
[cp | ls
|sync | presing
|mb | rm | rb
] - AWS S3,
aws s3, aws s3api, aws s3control, s3:
, Amazon S3 Storage Lens, AWS S3 replication, CRR, SSR, CAR, S3 Replication Time Control (S3 RTC), Website endpoint, Amazon Macie, Versioning, Lifecycle, Encryption, logging, Amazon S3 Inventory, Amazon S3 Batch Operations, Storage Classes, Amazon S3 clients, Terraform S3, AWS canned ACLs, Directory buckets, security,PutObject
Advertising: