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 réponses
0
Réponse acceptée

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
répondu il y a 2 ans
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
répondu il y a 2 ans
  • 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

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions