All Products
Search
Document Center

ApsaraDB for MongoDB:Recycle bin

Last Updated:Jun 05, 2024

The recycle bin of ApsaraDB for MongoDB is used to retain expired, overdue, and released MongoDB instances. You can renew, unlock, rebuild, or destroy the instances in the Recycle Bin.

Usage notes

  • Released standalone instances cannot be restored from the Recycle Bin.

  • Instances for which transparent data encryption (TDE) is enabled cannot be restored from the Recycle Bin after the instances are released.

  • To restore instances for which disk encryption is enabled from the recycle bin, make sure that the Key Management Service (KMS) keys of the instances are available.

Supported operations and impacts

On the Recycle Bin page, you can view all expired, overdue, and manually released instances.

Architecture

Storage type

Operation

Replica set instance

Local disks

  • Renew the instance from the recycle bin.

  • Rebuild the instance from the recycle bin.

Enterprise SSDs (ESSDs)

  • Renew the instance from the recycle bin.

  • Rebuild the instance from the recycle bin.

  • Modify the deleted backup retention policy of the instance from the recycle bin.

Sharded cluster instance

Local disks

  • Renew the instance from the recycle bin.

ESSDs

  • Renew the instance from the recycle bin.

  • Rebuild the instance from the recycle bin.

  • Modify the deleted backup retention policy of the instance from the recycle bin.

The supported operations and impacts vary based on the instance architecture and billing method.

ESSDs

Architecture

Billing method

Instance status

Operation and impact

Replica set instance

Sharded cluster instance

Subscription

For the first 15 days after a subscription instance expires, the instance is locked and cannot be accessed.

  • Click Renew to renew the instance. After you renew the instance, the instance enters the Running state.

  • Click Destroy to release the computing resources and data of the instance. This operation is irreversible. To destroy the instance, change the backup retention policy to Delete all backup sets when you release the instance.

On the 16th day after the instance expires, ApsaraDB for MongoDB releases the computing resources of the instance but retains the instance data based on the backup retention policy that you configure.

  • If the backup retention policy is Delete all backup sets when you release the instance, the recycle bin displays the backup set used in the most recent backup for the first 7 days after the instance is released. You can migrate the data to a new instance before the backup set is released.

  • If the backup retention policy is Automatically back up data when you release the instance and retain the backup set for the instance for a long period of time, the backup set is retained for a long time, and the backup set used in the most recent backup is displayed in the recycle bin. You can migrate the data to a new instance.

  • If the backup retention policy is Automatically back up data when you release the instance and retain all backup sets for the instance for a long time, all backup sets are retained for a long period of time and displayed in the recycle bin. You can migrate the data to a new instance.

  • Click Rebuild to create an instance and restore the data of the original instance to the new instance. The time required for the restoration varies based on the performance and data volume of the instance.

  • Click Destroy to release the computing resources and data of the instance. This operation is irreversible. To destroy the instance, change the backup retention policy to Delete all backup sets when you release the instance.

If the policy specifies that instance data does not need to be retained, the data is not retained.

The instance is permanently deleted, and the instance data cannot be restored.

Pay-as-you-go

For the first 15 days after the instance becomes overdue, the instance is displayed as Disabled in the instance list and Locked in the recycle bin. In this case, you cannot read data from or write data to the instance.

  • Add funds to your Alibaba Cloud account to restore the instance to the running state.

  • Click Destroy to release the computing resources and data of the instance. This operation is irreversible. To destroy the instance, change the backup retention policy to Delete all backup sets when you release the instance.

ApsaraDB for MongoDB releases the computing resources of an instance that runs as expected on the 16th day after the instance becomes overdue or an instance that is manually released, but retains the instance data based on the backup retention policy that you configure.

  • If the backup retention policy is Delete all backup sets when you release the instance, the recycle bin displays the backup set used in the most recent backup for the first 7 days after the instance is released. You can migrate the data to a new instance before the backup set is released.

  • If the backup retention policy is Automatically back up data when you release the instance and retain the backup set for the instance for a long period of time, the backup set is retained for a long time, and the backup set used in the most recent backup is displayed in the recycle bin. You can migrate the data to a new instance.

  • If the backup retention policy is Automatically back up data when you release the instance and retain all backup sets for the instance for a long period of time., all backup sets are retained for a long time and displayed in the recycle bin. You can migrate the data to a new instance.

  • After you add funds to your Alibaba Cloud account, click Rebuild to rebuild the instance that was moved to the recycle bin due to overdue payments or manual release. This method restores the data of the original instance to a new instance.Rebuild

  • Click Destroy to release the computing resources and data of the instance. This operation is irreversible. To destroy the instance, change the backup retention policy to Delete all backup sets when you release the instance.

If the policy specifies that instance data does not need to be retained, the data is not retained.

The instance is permanently deleted, and the instance data cannot be restored.

Local disks

Architecture

Billing method

Instance status

Operation and impact

Replica set instance

Subscription

For the first 15 days after a subscription instance expires, the instance is locked and cannot be accessed.

  • Click Renew to renew the instance. After you renew the instance, the instance enters the Running state.

  • Click Destroy to release the computing resources and data of the instance. This operation is irreversible.

On the 16th day after the instance expires, ApsaraDB for MongoDB releases the computing resources of the instance but retains the instance data for another seven days. The system notifies you about the status of the instance by SMS or email.

  • Click Rebuild to create an instance and restore the data of the original instance to the new instance. The time required for the restoration varies based on the performance and data volume of the instance.

  • Click Destroy to release the computing resources and data of the instance. This operation is irreversible.

On the 23rd day after the instance expires, the instance data is cleared.

The instance is permanently deleted, and the instance data cannot be restored.

Pay-as-you-go

For the first 15 days after the instance becomes overdue, the instance is displayed as Disabled in the instance list and Locked in the recycle bin. In this case, you cannot read data from or write data to the instance.

  • Add funds to your Alibaba Cloud account to restore the instance to the running state.

  • Click Destroy to release the computing resources and data of the instance. This operation is irreversible.

On the 16th day after the instance becomes overdue, ApsaraDB for MongoDB releases the computing resources of the instance but retains the instance data for another seven days.

  • After you add funds to your Alibaba Cloud account, click Rebuild to rebuild the instance that was moved to the recycle bin due to overdue payments or manual release. This method restores the data of the original instance to a new instance.Rebuild

  • Click Destroy to release the computing resources and data of the instance. This operation is irreversible.

On the 23rd day after the instance becomes overdue, the instance data is cleared.

The instance is permanently deleted, and the instance data cannot be restored.

Sharded cluster instance

Subscription

For the first 15 days after a subscription instance expires, the instance is locked and cannot be accessed.

  • Click Renew to renew the instance. After you renew the instance, the instance enters the Running state.

  • Click Destroy to release the computing resources and data of the instance. This operation is irreversible.

Pay-as-you-go

For the first 15 days after the instance becomes overdue, the instance is displayed as Disabled in the instance list and Locked in the recycle bin. In this case, you cannot read data from or write data to the instance.

Note

Pay-as-you-go instances that are manually released are not retained in the recycle bin and cannot be rebuilt.

  • Add funds to your Alibaba Cloud account to restore the instance to the running state.

  • Click Destroy to release the computing resources and data of the instance. This operation is irreversible.

Procedure

  1. Log on to the ApsaraDB for MongoDB console.

  2. In the left-side navigation pane, click Recycle Bin.

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

  4. On the Recycle Bin page, click the Replica Set Instances or Sharded Cluster Instances tab.

  5. On the Recycle Bin page, click Renew, Rebuild, or Destroy.

    Renew an instance

    Note

    You can click Renew to renew only expired or overdue instances in the Locking state.

    1. Find the instance that you want to renew and click the 更多 icon in the Actions column. Then, select Renew.

    2. On the Renew page, specify a subscription duration.

    3. Read and select the Terms of Service, and then click Buy Now.

    4. On the Purchase page, complete the payment by following the on-screen instructions.

    Rebuild an instance

    Note

    You can click Rebuild to rebuild only instances in the Released state.

    1. Find the instance that you want to rebuild and click the 更多 icon in the Actions column. Then, select Rebuild.

    2. On the Clone Instance page, specify the region, zone, and specifications for a new instance, and then click Buy Now.

    3. On the Confirm Order page, view configurations that you specify, read and select the Terms of Service, and then complete the payment by following the on-screen instructions.

    Destroy an instance

    Warning

    After an instance is destroyed, the instance data is cleared and cannot be restored.

    To destroy an instance, change the backup retention policy to Delete all backup sets when you release the instance.

    1. Find the instance that you want to destroy and then click the + icon on the left side of the instance to view the backup list.

    2. Click Modify Backup Retention Policy.

    3. In the Modify Backup Retention Policy dialog box, select Delete all backup sets when you release the instance and then click OK.