Use Restrictions
Bucket Names
The bucket name is used as a part of the access domain name and needs to be parsed. Therefore, the bucket name must meet the DNS domain name specifications. When receiving a request for creating a bucket, the OBS strictly checks the bucket name. A bucket name must meet the following rules:
- Contains only lowercase letters, digits, hyphens (-), and periods (.).
- Starts with a digit or a letter.
- Ranges from 3 to 63 characters.
- Cannot be an IP address.
- Cannot end with a hyphen (-) or period (.).
- Cannot contain two consecutive periods (..).
- Cannot contain a combination of a period and a hyphen (.- or -.). For example, my-.bucket and my.-bucket are invalid.
When the HTTPS protocol is used for OBS access, the SSL wildcard certificate matches only the bucket that does not contain a period (.). As a result, when a bucket whose name contains a period (.) accesses the OBS system, the client displays a message indicating that the bucket is risky. For example, a red alarm may be displayed in the browser security prompt. Therefore, do not include any periods (.) in a bucket name unless necessary.
Bucket Name Uniqueness
Bucket names are globally unique. OBS does not allow two buckets with the same name in any region. If a bucket does not include any object or part, you can delete this bucket and create another one with the same name. However, because the bucket name is a part of the access domain name and the cache expiration time may be different for each level of domain name resolution, the bucket name may be available after a period of time. In addition, if someone uses the bucket name before you, you cannot use this name any longer. Therefore, exercise caution when deleting a bucket and re-creating a bucket with the same name.
After a bucket is created, the bucket name cannot be changed.
Bucket Region
Bucket regions are planned based on geographical proximity, cost reduction, and legal compliance. A bucket must belong and can only belong to one region.
After a bucket is created, its region cannot be modified. If you select an incorrect region during initial planning, you must delete the bucket and then create it again, or enable a new bucket. Therefore, before creating a bucket, plan the bucket region with caution.
Maximum Number of Buckets
A maximum of 100 buckets can be created for each account. Buckets created by different users of an account occupy the quota of the account.
Last Article: Using Buckets
Next Article: Creating a Bucket
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.