On OBS, buckets are containers where objects are stored. Before you store data in OBS, you need to create buckets.
An account can create 100 buckets.
- Log in to OBS Browser.
- In the upper left corner on the page, click Add Bucket.
- In the Add Bucket dialog box, displayed in Figure 1, select Create new bucket for Method.
Figure 1 Adding the bucket
- Set Region to the name of the region where the bucket will reside. For details about regions, see Region Information Configuration
- Select the Storage Class according to your actual needs.
- Enter a name in the text box of Bucket Name.
You can move the pointer over behind the Bucket Name text box to view the naming rules for a bucket.
- When a URL is used to access a bucket, the bucket name will become a part of the URL. According to the DNS rule, URLs do not support uppercase letters and cannot be used to access a bucket whose name contains uppercase letters. Therefore, a bucket name can contain only lowercase letters, digits, hyphens (-), and periods (.) For example, if you attempt to access bucket MyBucket using the URL, bucket mybucket will be accessed instead, causing an access error.
- DNS naming can standardize the bucket naming globally, facilitating the resolution when accessing a bucket. Users can benefit from new functions and optimized features, and static website hosting is then applicable to buckets.
- Click OK.
- In the dialog box that is displayed, click OK.