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 個答案
0
已接受的答案

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
已回答 2 年前
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
已回答 2 年前
  • 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

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南