All Products
Search
Document Center

Object Storage Service:How do I deactivate OSS or stop OSS from charging my resources?

Last Updated:Sep 01, 2023

If you deactivate Object Storage Service (OSS), your business may be affected. Therefore, OSS does not provide the deactivation function. However, you can use the following methods to delete your OSS resources to stop OSS from charging these resources.

  • If you no longer use OSS, you can delete all objects, parts generated by multipart upload or resumable upload tasks, and LiveChannels from your bucket. Then, you can delete your buckets. This way, you are not charged in the next billing cycle. Pay-as-you-go bills are generated on an hourly basis.

    If you want to delete a large number of objects and parts, you can configure lifecycle rules to automatically delete the objects and parts in batches. For more information, see Configure lifecycle rules.

    For more information about how to delete a LiveChannel, see DeleteLiveChannel.

    For more information about how to delete buckets, see Delete buckets.

  • If you want to retain Standard objects that are not accessed for more than 30 days, we recommend that you configure lifecycle rules to convert the storage class of these objects to Infrequent Access (IA), Archive, Cold Archive, or Deep Cold Archive. This way, you can save approximately 50% to 80% on OSS costs.

    For more information about how to configure lifecycle rules to convert the storage class of objects, see Configure lifecycle rules.