All Products
Search
Document Center

ApsaraMQ for RabbitMQ:Cancelling a subscription

Last Updated:Mar 11, 2026

The cancellation process and refund rules for ApsaraMQ for RabbitMQ depend on the billing method: subscription (prepaid) or pay-as-you-go (Serverless).

Before you cancel

Before you cancel or release an instance, take the following steps to avoid data loss:

  • Back up your data. Export any messages, configurations, or metadata (vhosts, exchanges, and queues) that you still need. Instance data cannot be recovered after cancellation.

  • Update your applications. Remove or redirect any producers and consumers that connect to the instance.

  • Check outstanding orders. Review any pending or unpaid orders associated with the instance in Expenses and Costs.

Subscription instances

Refund rules

Subscription cancellations are eligible for a partial refund. The refund is calculated based on the unused portion of your subscription:

Refund amount = Actual amount paid for the order - Cost of used resources

The system calculates the cost of used resources based on the actual usage duration and refunds the remaining balance.

For detailed refund rules and calculation examples, see Refund policy.

Cancel a subscription instance

  1. Go to the Refund Management page in Expenses and Costs.

  2. Select the Partial Refund type.

  3. Find the ApsaraMQ for RabbitMQ instance that you want to cancel.

  4. Click Unsubscribe Resource in the Actions column.

  5. Follow the prompts to complete the unsubscription.

Refund destination

For details about where refunds are sent, see Fund flow for unsubscriptions on the international website.

Serverless instances

Refund rules

Serverless instances use pay-as-you-go billing, so refunds do not apply. You are charged only for the resources consumed up to the point of release.

Release a Serverless instance

Important

Releasing an instance permanently deletes all its metadata (vhosts, exchanges, and queues) and message data. This action cannot be undone.

  1. Open the ApsaraMQ for RabbitMQ console.

  2. In the top menu bar, select a region. In the left navigation pane, click Instances.

  3. On the Instances page, find the instance that you want to release.

  4. In the Actions column, choose image > Delete.

See also