The recycle bin for ApsaraDB for MongoDB retains expired, overdue, and released MongoDB instances. In the Recycle Bin, you can renew and unlock, rebuild, or destroy these instances.
Notes
Released standalone instances cannot be recovered from the Recycle Bin.
Local disk sharded cluster instances cannot be recovered from the Recycle Bin after they are released.
Released instances for which Transparent Data Encryption (TDE) is enabled cannot be recovered from the Recycle Bin.
To recover instances for which disk encryption is enabled from the recycle bin, you need to ensure that the KMS keys of the instances are available. Otherwise, the instances cannot be recovered properly.
Supported operations and impacts
You can find recently expired, overdue, and manually released instances in the Recycle Bin.
Architecture | Storage class | Operation |
ReplicaSet | Local disks |
|
Enterprise SSDs (ESSDs) |
| |
Sharded cluster instance | Local disks |
|
ESSDs |
|
The supported operations and impacts vary based on the instance architecture and billing method.
Enterprise SSD (ESSD)
Architecture | Billing method | Instance status | Operation and impact |
ReplicaSet Sharded cluster | Subscription | Within 1 to 15 days after the instance expires, the instance runs normally. |
|
From days 16 to 30 after the instance expires, it is locked and cannot be accessed. |
| ||
On the 31st day after the instance expires, its computing resources are released. The retention of data backups depends on your configured Backup Retention Policy:
|
| ||
After the backup retention period specified by your policy expires, all backups and data are permanently deleted. | The instance is completely destroyed, and the data cannot be recovered. | ||
Pay-as-you-go | From day 1 to day 15 after an Alibaba Cloud account has an overdue payment, the instance continues to run in the Normal state. |
| |
From the 16th to the 30th day after the Alibaba Cloud account has an overdue payment, the MongoDB instance is displayed as disabled in the instance list and locked in the recycle bin. Data cannot be read or written. |
| ||
On the 31st day after the Alibaba Cloud account becomes overdue or at the moment when the pay-as-you-go instance is manually released, its computing resources are released. The retention of data backups depends on your configured Backup Retention Policy.
|
| ||
After the instance backup retention policy expires, the instance data is no longer retained. | The instance is completely destroyed, and the data cannot be recovered. |
Local disks
Architecture | Billing method | Instance status | Operation and impact |
ReplicaSet | Subscription | Within the first 15 days after the instance expires, the instance runs normally. |
|
From the 16th to the 30th day after the instance expires, the instance is in a locked state and cannot be accessed. |
| ||
On the 31st day after the instance expires, the computing resource of the instance is released. The data is retained for another 7 days. You will receive a text message or email notification at this time. |
| ||
On the 38th day after the instance expires, the instance data is no longer retained. | The instance is completely destroyed, and the data cannot be recovered. | ||
Pay-as-you-go | From day 1 to day 15 after your Alibaba Cloud account has an overdue payment, your instances continue to run normally. |
| |
From the 16th to the 30th day after the Alibaba Cloud account has an overdue payment, the MongoDB instance is displayed as Disabled in the instance list and Locked in the recycle bin. The data cannot be read or written. |
| ||
On the 31st day after an Alibaba Cloud account has an overdue payment, the computing resources of the instance are released, but the data is retained for 7 more days. |
| ||
On the 38th day after an Alibaba Cloud account has an overdue payment, the data of the instance is no longer retained. | The instance is completely destroyed and the data cannot be recovered. | ||
Sharded cluster | Subscription | Within days 1 to 15 after the instance expires, the instance runs normally. |
|
From the 16th to the 30th day after the instance expires, the instance is in a locked state and cannot be accessed. |
| ||
Pay-as-you-go | Within days 1 to 15 after an Alibaba Cloud account has an overdue payment, the instance continues to run in the Normal state. |
| |
From days 16 to 30 after the Alibaba Cloud account becomes overdue, the MongoDB instance is displayed as Disabled in the instance list and Locked in the recycle bin, and you cannot read from or write to the data. Note Pay-as-you-go instances that are manually released are not retained in the recycle bin and cannot be rebuilt. |
|
Procedure
Log on to the MongoDB console.
In the navigation pane on the left, click Recycle Bin.
In the upper-left corner of the page, select the resource group and region where the instance is located.
On the Recycle Bin page, select Replica Set Instances or Sharded Cluster Instances.
On the Recycle Bin page, you can perform Renew, Rebuild, and Destroy operations.
Renew
NoteYou can click Renew to renew only expired or overdue instances in the Locking state.
On the right side of the target instance, select .
On the Renew page, specify a subscription duration.
Read the Terms of Service and click Buy Now.
On the Purchase page, complete the payment by following the on-screen instructions.
Rebuild
NoteYou can Rebuild only instances in the Released state.
To the right of the target instance, select .
On the Clone Instance page, specify the region, zone, and specifications for a new instance, and click Buy Now.
On the Confirm Order page, view the configuration details, read the Terms of Service, and complete the payment by following the on-screen instructions.
Destroy
WarningAfter an instance is destroyed, the instance data is cleared and cannot be restored.
You can destroy an instance by changing the backup retention policy to Delete all backup sets when you release the instance. The steps are as follows:
Click the
icon on the left side of the target instance to expand the backup list.Click Modify Backup Retention Policy.
In the Modify Backup Retention Policy dialog box, select Delete all backup sets when you release the instance, and click OK.
> Renew