Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (790 points)

I am trying to create S3 bucket but getting an Invalid bucket name exception. What should I do?

1 Answer

0 votes
by (1.4k points)

There are certain guidelines required by S3 when naming a bucket, make sure your bucket name complies with the following:

  1. Must start with a lowercase letter or number
  2. Cannot contain underscores, end with a dash, have consecutive periods or use dashes adjacent to periods

  3. 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

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
asked Dec 17, 2020 in AWS by devin (5.6k points)
0 votes
1 answer
0 votes
1 answer

Browse Categories

...