Updated on 2024-10-24 GMT+08:00

Configuring a Storage Class

Scenarios

This section describes how to configure storage classes for buckets or objects when creating buckets or uploading objects. If you want to change the storage class of a bucket or object, see Changing the Storage Classes of Buckets and Objects.

Bucket and Object Storage Classes

When creating a bucket, you can specify a storage class for it. You can also change the storage class after the bucket has been created.

You can specify a storage class for an object when uploading it, or you can change the object storage class after the object has been uploaded.

Changing the storage class of a bucket does not change the storage class of existing objects in the bucket. However, any new objects uploaded to the bucket will inherit the bucket's new storage class.

Configuring a Storage Class During Bucket Creation

You can use OBS Console, APIs, SDKs, OBS Browser+, or obsutil to configure storage classes for buckets during creation.

Configuring a Storage Class During Object Uploads

You can use OBS Console, APIs, SDKs, OBS Browser+, or obsutil to configure storage classes for objects during uploads.