Before uploading objects to OSS, you must use the PutBucket API of OSS to create a bucket to store objects. You can configure various attributes for a bucket, including the region, access permissions, and other metadata.

Note For more information about the PutBucket API, see PutBucket.

Operating methods

Operating method Description
Console Web application, which is intuitive and easy to use
ossbrowser Graphical tool, which is easy to operate
ossutil Command-line tool, which delivers good performance
Java SDK SDK demos in various languages
Python SDK
PHP SDK
Go SDK
C SDK
.NET SDK
Android SDK
iOS SDK
Node.js SDK
Ruby SDK

Limits

  • You can create a maximum of 30 buckets.
  • The name of each bucket must be globally unique. To create a bucket, you must select a unique bucket name.
  • Each bucket name must comply with the bucket naming rules.
  • After a bucket is created, you cannot modify its name or region.

Access control

You can set the access control list (ACL) when creating a bucket, or modify the ACL for a created bucket. If you do not set the ACL, it is set to private by default. For more information, see Set the ACL for a bucket.

Reference