Updated on 2024-10-15 GMT+08:00

Configuring RabbitMQ Recycling Policies

If recycling is enabled, deleted instances and their data are retained in Recycle Bin, and can be recovered during the retention period. Once the retention period expires, instances in Recycle Bin will be deleted permanently.

Recycling is disabled by default.

Recycle Bin is available only in the CN North-Beijing4, CN East-Shanghai1, and CN South-Guangzhou regions.

Constraints

  • Pay-per-use instance in Recycle Bin will not generate fees, but their storage will.
  • Yearly/Monthly instances will be moved to Recycle Bin upon unsubscription. After that, they will not generate fees, but their storage will.

Enabling Recycling

  1. Log in to the management console.
  2. Click in the upper left corner to select a region.

    Select the region where your RabbitMQ instance is located.

  3. Click and choose Middleware > Distributed Message Service (for RabbitMQ) to open the console of DMS for RabbitMQ.
  4. In the navigation pane, choose Recycle Bin.
  5. Click Modify Recycling Policy and the Modify Recycling Policy dialog box is displayed.
  6. Enable Recycle Bin, specify Retention Days, and click OK.

    • Deleted instances can be retained for 1 to 7 days.
    • Changes to the retention period apply only to instances deleted after the changes.

Recovering RabbitMQ Instances

  1. Log in to the management console.
  2. Click in the upper left corner to select a region.

    Select the region where your RabbitMQ instance is located.

  3. Click and choose Middleware > Distributed Message Service (for RabbitMQ) to open the console of DMS for RabbitMQ.
  4. In the navigation pane, choose Recycle Bin.
  5. Recover RabbitMQ instances using either of the following methods:

    • Select one or more RabbitMQ instances and click Recover in the upper left corner.
    • In the row containing the desired RabbitMQ instance, click Recover.

  6. In the displayed Recover Instance dialog box, click OK.

    It takes 3 to 10 minutes to recover an instance. You can view recovered instances on the DMS for RabbitMQ page.

Modifying Retention Days

  1. Log in to the management console.
  2. Click in the upper left corner to select a region.

    Select the region where your RabbitMQ instance is located.

  3. Click and choose Middleware > Distributed Message Service (for RabbitMQ) to open the console of DMS for RabbitMQ.
  4. In the navigation pane, choose Recycle Bin.
  5. Click Modify Recycling Policy and the Modify Recycling Policy dialog box is displayed.
  6. Modify Retention Days and click OK.

    • Deleted instances can be retained for 1 to 7 days.
    • Changes to the retention period apply only to instances deleted after the changes.

Exporting Instances in the Recycle Bin

  1. Log in to the management console.
  2. Click in the upper left corner to select a region.

    Select the region where your RabbitMQ instance is located.

  3. Click and choose Middleware > Distributed Message Service (for RabbitMQ) to open the console of DMS for RabbitMQ.
  4. In the navigation pane, choose Recycle Bin.
  5. Choose Export > Export all data to an XLSX file or Export > Export selected data to an XLSX file.

Deleting Instances Permanently

  1. Log in to the management console.
  2. Click in the upper left corner to select a region.

    Select the region where your RabbitMQ instance is located.

  3. Click and choose Middleware > Distributed Message Service (for RabbitMQ) to open the console of DMS for RabbitMQ.
  4. In the navigation pane, choose Recycle Bin.
  5. Delete instances using either of the following methods:

    • Select one or more RabbitMQ instances and click Delete in the upper left corner.
    • In the row containing the desired RabbitMQ instance, click Delete.

  6. In the displayed Delete Instance dialog box, enter DELETE and click OK.

    Deleting a RabbitMQ instance will delete the data in the instance without any backup. Exercise caution when performing this operation.

Disabling Recycling

  1. Log in to the management console.
  2. Click in the upper left corner to select a region.

    Select the region where your RabbitMQ instance is located.

  3. Click and choose Middleware > Distributed Message Service (for RabbitMQ) to open the console of DMS for RabbitMQ.
  4. In the navigation pane, choose Recycle Bin.
  5. Click Modify Recycling Policy and the Modify Recycling Policy dialog box is displayed.
  6. Disable Recycle Bin and click OK.