TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

GCP Bucket Name Restrictions

5 点作者 eeegnu超过 3 年前
I was creating a bucket on GCP and noticed what I thought was an odd restriction[0]:<p>&gt; Bucket names cannot begin with the &quot;goog&quot; prefix.<p>&gt; Bucket names cannot contain &quot;google&quot; or close misspellings, such as &quot;g00gle&quot;.<p>I&#x27;m mostly just curious about the motivation behind these restrictions. My guess is that it&#x27;s to avoid buckets that make it seem like they&#x27;re owned by google, but there doesn&#x27;t seem to be equivalent restrictions on azure[1] or aws[2] (they do disallow the prefix &quot;xn--&quot; and the suffix &quot;-s3alias&quot;, but these seem functional.) Is there some other reasoning?<p>[0] https:&#x2F;&#x2F;cloud.google.com&#x2F;storage&#x2F;docs&#x2F;naming-buckets<p>[1] https:&#x2F;&#x2F;docs.microsoft.com&#x2F;en-us&#x2F;rest&#x2F;api&#x2F;storageservices&#x2F;naming-and-referencing-containers--blobs--and-metadata<p>[2] https:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;AmazonS3&#x2F;latest&#x2F;userguide&#x2F;bucketnamingrules.html

1 comment

prirun超过 3 年前
&gt; guess is that it&#x27;s to avoid buckets that make it seem like they&#x27;re owned by google<p>You might be right, though that is kinda silly because it&#x27;s trivial to add a cname dns alias to a bucket that looks like a googly name.