All Products
Search
Document Center

ApsaraDB for MongoDB:Release an ApsaraDB for MongoDB instance

Last Updated:May 30, 2024

This topic describes how to release an ApsaraDB for MongoDB instance.

Prerequisites

  • The billing method of the instance is pay-as-you-go.

  • The instance is in the Running state.

Usage notes

  • After you release a replica set instance, the instance is retained in the recycle bin for seven days before the instance is released. After the instance is released, data stored in the instance cannot be restored. Exercise caution when you release an instance.

    Warning

    After you release a replica set instance for which transparent data encryption (TDE) is enabled, the data stored in the instance cannot be restored from the recycle bin. Exercise caution when you release an instance.

  • After you release a sharded cluster instance, data stored in the instance cannot be restored. Exercise caution when you release an instance.

Release an ApsaraDB for MongoDB instance

  1. Log on to the ApsaraDB for MongoDB console.

  2. In the left-side navigation pane, click Replica Set Instances or Sharded Cluster Instances.

  3. In the upper-left corner of the page, select the resource group and region to which the instance belongs.

  4. Find the instance that you want to release and click More in the Actions column. Then, select Release from the drop-down list.

    Note

    If the The operation cannot be performed because release protection is enabled for the instance. To release the instance, disable release protection for the instance first. prompt is displayed, disable release protection for the instance. For more information, see Enable or disable the release protection feature for an ApsaraDB for MongoDB instance.

  5. In the Release Instance message, click OK.

    When you release an instance, the instance is in the Releasing state.

References

For more information about how to release a node from a sharded cluster instance, see Release a mongos or shard node.