最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【整理】给AWS S3的Bucket存储桶命名的规范

工作和技术 crifan 6675浏览 0评论

折腾:

【记录】Amazon S3中创建Bucket存储桶

期间,需要搞清楚,S3中的Bucket的命名的规范

What Is Amazon S3? – Amazon Simple Storage Service

Working with Amazon S3 Buckets – Amazon Simple Storage Service

“By default, you can create up to 100 buckets in each of your AWS accounts.”

Bucket Restrictions and Limitations – Amazon Simple Storage Service

  • Bucket names must be at least 3 and no more than 63 characters long.

  • Bucket names must be a series of one or more labels. Adjacent labels are separated by a single period (.). Bucket names can contain lowercase letters, numbers, and hyphens. Each label must start and end with a lowercase letter or a number.

  • Bucket names must not be formatted as an IP address (e.g., 192.168.5.4).

  • When using virtual hosted–style buckets with SSL, the SSL wildcard certificate only matches buckets that do not contain periods. To work around this, use HTTP or write your own certificate verification logic. We recommend that you do not use periods (“.”) in bucket names.

The following examples are valid bucket names:

  • myawsbucket

  • my.aws.bucket

  • myawsbucket.1

The following examples are invalid bucket names:

Invalid Bucket NameComment
.myawsbucketBucket name cannot start with a period (.).
myawsbucket.Bucket name cannot end with a period (.).
my..examplebucketThere can be only one period between labels. 

不要大写

-》最后决定去用,全部小写的:

runningfast

转载请注明:在路上 » 【整理】给AWS S3的Bucket存储桶命名的规范

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
80 queries in 0.188 seconds, using 22.18MB memory