All Products
Search
Document Center

ApsaraDB for MongoDB:Recycle bin

Last Updated:Sep 15, 2023

ApsaraDB for MongoDB provides a recycle bin to store expired, overdue, and released instances. You can renew, unlock, rebuild, or destroy instances in the Recycle.

Usage notes

  • Released standalone instances cannot be restored from the Recycle.

  • Instances that have transparent data encryption (TDE) enabled cannot be restored from the Recycle after the instances are released.

  • Instances that have disk encryption enabled cannot be restored from the Recycle after the instances are released.

  • You can only Renew sharded cluster instances in the recycle bin. However, you cannot Rebuild sharded cluster instances in the recycle bin.

Instance status and allowed operations

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

  • The following table describes the status of and allowed operations for expired or overdue instances that are displayed on the Recycle page.

    Billing method

    Instance status

    Operation and impact

    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 amount of time that is required for the restoration varies with 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 its 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.

    • 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 its data cannot be restored.

  • If you manually release a pay-as-you-go instance, the instance is deleted seven days after the instance is moved to the recycle bin. You can click Rebuild or Destroy before the instance is permanently deleted.

Procedure

  1. Log on to the ApsaraDB for MongoDB console.

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

  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 page, click the Replica Set Instances or Sharded Cluster Instances tab.

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

    Renew an instance

    Note

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

    1. Find the instance that you want to manage 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 manage 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.

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

    2. In the Destroy Instance message, click OK.