After activating Alibaba Cloud OSS, you must create a bucket in the OSS console to store objects.

Use the OSS console

To create a bucket from the OSS console, perform the following steps:
  1. Log on to the OSS console.
  2. If no bucket is available, click Create Bucket in the left-side bucket list. If you have created a bucket, click + in the left-side bucket list or click Create Bucket in the upper-right corner of the page. The Create Bucket dialog box appears.
  3. In the Bucket Name field, enter the bucket name.
    • The bucket name must comply with the naming conventions.
    • The bucket name must be unique among all existing buckets in Alibaba Cloud OSS.
    • The name of a bucket cannot be changed after the bucket is created.
    • For more information about the naming conventions for buckets, see Basic concepts.
  4. In the Region drop-down list, select the data center of the bucket.

    The region of a bucket cannot be changed after the bucket is created. If you want to access OSS through the intranet, select the region that your ECS resides in. For more information, see Endpoints.

  5. In the Storage Class section, select a storage class for the bucket.
    Note The storage class of a bucket cannot be changed after the bucket is created.
    • Standard: provides highly reliable, highly available, and high-performance object storage services that support frequent data access.
    • IA: suitable for data that needs to be stored for a long term and is not frequently accessed. Its unit price is lower than that of the Standard storage class.
    • Archive: suitable for storing data that requires long-term persistence (more than half a year) and is rarely accessed during the storage period, such as medical images, scientific materials, and video footage. It takes approximately one minute to restore the data from the frozen state to the readable state.
  6. In the Access Control List (ACL) section, select an access permission option for the bucket.
    • Private: Only the bucket owner can perform read and write operations on the objects in the bucket. Other users cannot access the objects in the bucket.
    • Public Read: Only the bucket owner can perform write operations on the objects in the bucket. Other users (including anonymous users) can perform only read operations on the objects in the bucket.
    • Public Read/Write: All users (including anonymous users) can perform read and write operations on objects in the bucket.
      Warning The fees incurred by the bucket operations are borne by the bucket owner. Therefore, use Public Read and Public Read/Write permissions with caution.
  7. Click OK.

Use ossbrowser

ossbrowser is a graphical object management tool for OSS. You can use ossbrowser to create a bucket. For more information, see Create a bucket.

Use ossutil

ossutil is a command line tool for OSS. You can use ossutil to create a bucket. For more information, see Create a bucket.

Use APIs and SDKs

OSS provides APIs and SDKs in multiple programming languages to facilitate secondary development. For more information about the APIs and SDKs used to create a bucket, see the following links: For SDK examples in more programming languages, see Introduction.

Subsequent operations

Upload an object