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.
WarningAfter 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
Log on to the ApsaraDB for MongoDB console.
In the left-side navigation pane, click Replica Set Instances or Sharded Cluster Instances.
In the upper-left corner of the page, select the resource group and region to which the instance belongs.
Find the instance that you want to release and click More in the Actions column. Then, select Release from the drop-down list.
NoteIf 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.
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.