How to increase the S3 Bucket Naming Characters from 63 to higher

0

Hi Team,

I have a requirement of creating a s3 bucket with prefix and Suffix. Prefix has a env name and Suffix has a region along with account number. Which led to exceed the naming limit (0 - 63). is there a way to increase it any other suggestions

2 Antworten
0
Akzeptierte Antwort

Sorry, this is a hard limit you can't change. I think you could have longer names (128 char, I think...) in us-east-1 a long time ago, but that does not seem to be the case anymore.

profile picture
beantwortet vor 2 Jahren
0

The S3 file name (object key name) limit is 1,024 bytes ~ 1024 chars. I have just created an object with more than 100 chars. It is likely due to the OS limit of the computer you are using. You can rename the file using AWS CLI or SDK. You can refer to the documentation at https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-prefixes.html

AWS
beantwortet vor 2 Jahren
  • Hi ronald_I
    Thanks for you reply. I am trying create bucket with a specific name which has limit of 0 - 63. Unfortunately my bucket name has 64 chars. But not s3 object name

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen