Object Storage Service (OSS) provides the following storage classes: Standard, Infrequent Access (IA), Archive, and Cold Archive. Each storage class differs in the access frequency and billing. You can select a suitable storage class based on your business requirements. This topic describes how to modify the storage class of an object in the OSS console.

Usage notes

  • When you modify the storage class of an object in the OSS console, the size of the object cannot exceed 1 GB. We recommend that you use ossutil to modify the storage classes of objects whose size are larger than 1 GB.
  • You can modify the storage class of an Archive or Cold Archive object only after the object is restored. For more information, see Restore objects.
  • When you modify the storage class of an object, the original object is replaced with a new object that has the selected storage class. If you change the storage class of an object to IA, Archive, or Cold Archive, you are charged storage fees based on the object size and storage duration when you access the IA object, or storage fees based on the object size and storage duration and data retrieval fees when you access the Archive or Cold Archive object. If the object size is smaller than 64 KB and the object is stored for a period of time that is shorter than the minimum storage duration, the minimum billable size 64 KB and the minimum storage duration are used for billing.
  • We recommend that you do not change the storage classes of objects in the .dlsdata/ directory in which OSS-HDFS data is stored in a bucket for which the OSS-HDFS service is enabled.

    If you change the storage class of an object in the .dlsdata/ directory to Infrequent Access (IA), you can use the OSS-HDFS service to access the object. If you change the storage class of the object to Archive or Cold Archive, you cannot use the OSS-HDFS service to access the object. If you want to access the object, restore the Archive or Cold Archive object.

Procedure

  1. Log on to the OSS console.
  2. In the left-side navigation pane, click Buckets. On the Buckets page, click the name of the desired bucket.
  3. In the left-side navigation pane, choose Files > Files.
  4. On the Files page, move the pointer over More in the Actions column corresponding to the object for which you want to modify the storage class and select Modify Storage Class from the drop-down list.
  5. Select the storage class to which you want to convert, and click OK.
    We recommend that you keep Retain User Metadata enabled to retain the user metadata of the object after you modify the storage class.