All Products
Search
Document Center

Object Storage Service:How am I charged for the storage usage of objects that are stored for less than the minimum storage duration?

Last Updated:Mar 26, 2024

If you convert the storage class of an Infrequent Access (IA), Archive, Cold Archive, or Deep Cold Archive object and delete the object before the minimum storage duration elapses, you are charged for the storage usage of the object that is stored for less than the minimum storage duration.

The minimum storage duration is 30 days for IA objects, 60 days for Archive objects, and 180 days for Cold Archive and Deep Cold Archive objects. The following table describes the fees in different scenarios.

Storage class conversion and object deletion

Storage duration calculation

Example

Fee

Convert the object storage class and delete the object based on a lifecycle rule

The minimum storage duration is 30 days for IA objects and 60 days for Archive objects. The minimum storage duration of an IA or Archive object is calculated from the last modified time of the object.

Object Storage Service (OSS) converts a Standard object to an IA object 10 days after the object is created, converts the IA object to an Archive object after 20 days, and then deletes the Archive object after 5 days based on a lifecycle rule.

  • 10-day Standard storage fee

  • 20-day IA storage fee

  • 5-day Archive storage fee

  • Storage charge for the remaining 25 days of the minimum storage duration for Archive

The minimum storage duration is 180 days for Cold Archive and Deep Cold Archive objects. The minimum storage duration of a Cold Archive or Deep Cold Archive object is calculated from the time when the storage class of the object is converted to Cold Archive or Deep Cold Archive.

OSS converts a Standard object to a Cold Archive or Deep Cold Archive object 10 days after the object is created, and deletes the Cold Archive or Deep Cold Archive object after 1 day based on a lifecycle rule.

  • 10-day Standard storage fee

  • 1-day Cold Archive or Deep Cold Archive storage fee

  • Storage charge for the remaining 179 days of the minimum storage duration for Cold Archive or Deep Cold Archive

OSS converts an Archive object to a Cold Archive or Deep Cold Archive object 30 days after the Archive object is created, and deletes the Cold Archive or Deep Cold Archive object after 1 day based on a lifecycle rule.

  • 30-day Archive storage fee

  • 1-day Cold Archive or Deep Cold Archive storage fee

  • Storage charge for the remaining 179 days of the minimum storage duration for Cold Archive or Deep Cold Archive

OSS converts a Cold Archive object to a Deep Cold Archive object after 10 days, and deletes the Deep Cold Archive object after 1 day based on a lifecycle rule.

  • 10-day Cold Archive storage fee

  • Storage charge for the remaining 170 days of the minimum storage duration for Cold Archive

  • 1-day Deep Cold Archive storage fee

  • Storage charge for the remaining 179 days of the minimum storage duration for Deep Cold Archive

Manually convert the object storage class by calling the CopyObject operation and delete the object

If you call the CopyObject operation to manually convert the storage class of an object, OSS resets and recalculates the storage duration when the storage class of the object changes.

OSS converts a Standard object to an IA object 10 days after the object is created by calling the CopyObject operation, converts the IA object to a Cold Archive object after 20 days by calling the CopyObject operation, and then deletes the Cold Archive object after 5 days.

  • 10-day Standard storage fee

  • 20-day IA storage fee

  • Storage fee for the remaining 10 days of the minimum storage duration for IA

  • 5-day Cold Archive storage fee

  • Storage fee for the remaining 175 days of the minimum storage duration for Cold Archive

For more information about the billable items in the preceding billing cases, see Storage fees.