Release an instance

更新时间:
复制 MD 格式

You can release a pay-as-you-go ApsaraDB for MongoDB instance to stop incurring charges.

Prerequisites

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

  • The instance is in the Running state.

Usage notes

  • Released instances remain in the Recycle Bin for 7 days before being permanently deleted. Data cannot be recovered after permanent deletion, so proceed with caution.

    • You cannot restore released standalone instances from the Recycle Bin.

    • You cannot restore released sharded cluster instances that use local disks from the Recycle Bin.

    • You cannot restore released Serverless instances from the Recycle Bin.

    • You cannot restore released shared storage instances from the Recycle Bin.

    • You cannot restore released TDE-enabled instances from the Recycle Bin.

  • To restore a disk-encrypted instance from the Recycle Bin, ensure that its associated KMS key is available. The instance cannot be restored if the key is unavailable.

Release an instance

Release a pay-as-you-go instance

  1. Log in to the ApsaraDB for MongoDB console.

  2. In the left-side navigation pane, click Replica Set Instances or Sharded Cluster Instances, depending on your instance type.

  3. In the upper-left corner of the page, select the instance's resource group and region.

  4. Find the target instance. In the Actions column, click More > Release.

    Note

    If a message states that release protection is enabled, you must first disable it. For more information, see Enable or disable release protection for an instance.

  5. In the Release Instance dialog box, click Confirm.

    The instance state changes to Releasing.

Release a subscription instance

Subscription instances are automatically released upon expiration. To release an instance before it expires, unsubscribe from it.

For instructions, see Unsubscribe from a subscription instance.

References

To release a node from a sharded cluster instance, see Release a mongos or shard node.