Back
I am trying to create S3 bucket but getting an Invalid bucket name exception. What should I do?
There are certain guidelines required by S3 when naming a bucket, make sure your bucket name complies with the following:
Cannot contain underscores, end with a dash, have consecutive periods or use dashes adjacent to periods
It cannot be formatted as an IP address
You can read in detail about the rules and protocols regarding S3 buckets here:
https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-s3-bucket-naming-requirements.html
Learn how we helped 50,000+ professionals like you !
31k questions
32.8k answers
501 comments
693 users