Updated on 2024-12-18 GMT+08:00

Stopping Billing

Yearly/Monthly Resources

You pay for a resource billed in yearly/monthly mode, such as a yearly/monthly Kafka instance, when you purchase it. Billing automatically stops when the subscription expires.

  • If a yearly/monthly resource is no longer needed before the subscription expires, you can unsubscribe from the resource. The system will return a certain amount of money to your account based on whether cash coupons or discount coupons are used. For details about unsubscription rules, see Unsubscriptions. Note: Yearly/Monthly instances with recycling policies enabled will be moved to Recycle Bin upon unsubscription. After that, they will not generate fees, but their storage will. To stop the billing, delete the instances from Recycle Bin.
  • If you have enabled the auto-renewal function, disable it before the auto-renewal deduction date (seven days before the expiration date by default) to avoid unexpected fees.

Pay-per-Use Resources

If a pay-per-use Kafka instance is no longer needed, you can delete it to stop billing. Note: Pay-per-use instances with recycling policies enabled will be moved to Recycle Bin upon deletion. After that, they will not generate fees, but their storage will. To stop the billing, delete the instances from Recycle Bin.

Searching for Resources from Bills and Stopping Billing

From bills, you can find the IDs of all resources that incur fees. Then find the specific resources based on the IDs, and delete the resources. To do so, perform the following operations:

  1. Choose Billing > Transactions and Detailed Bills.
  2. Locate the row that contains the resource ID to be copied. Click the overlapping square next to the resource ID.

    Figure 1 Copying resource ID

  3. In the service list, choose Middleware > Distributed Message Service (for Kafka) to open the console of DMS for Kafka.
  4. Select the region where the resource is located, enter the resource ID in 2 in the search box, and press Enter.

    If the Kafka instance is not found, it may have been deleted and be in Recycle Bin. In Recycle Bin, click the Kafka instance name to go to the instance details page. Check whether the resource ID in 2 is the disk storage ID. If yes, the resource is billed. If no, check other IDs until the resource is found.
    Figure 2 Searching for resources

  5. Click More > Delete in the Operation column to delete the Kafka instance. Ensure that the Kafka instance does not exist in the list. If recycling policies are enabled, go to Recycle Bin and delete the instance again. If the resource found in 4 is already in Recycle Bin, click Delete in the operation column to delete it permanently.

    The system usually deducts fees of the last settlement period within one hour after the products are used. As a result, after a pay-per-use resource is deleted, the bill information may still exist. For example, if you delete a pay-per-use Kafka instance at 08:30, the fees generated from 08:00 to 09:00 are usually deducted at about 10:00.