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

Pay-per-Use to Yearly/Monthly

If you want to use a pay-per-use RocketMQ instance for a long time, you can change the billing mode to yearly/monthly to reduce costs. If you change the billing mode from pay-per-use to yearly/monthly, a new order is generated. The yearly/monthly resource takes effect immediately when you make the payment.

Assume that you bought a pay-per-use RocketMQ instance on Apr 18, 2023, 15:29:16, and you changed the instance's billing mode to yearly/monthly on Apr 18, 2023, 16:30:30 (a change-to-yearly/monthly order generated). After you paid the order, the RocketMQ instance immediately entered the yearly/monthly billing mode. On the Billing Center > Bills page, three bills are generated as follows:

  • Pay-per-use: Apr 18, 2023, 15:00:00 to Apr 18, 2023, 16:00:00. Fees are generated for the period from 15:29:16 to 16:00:00.
  • Pay-per-use: Apr 18, 2023, 16:00:00 to Apr 18, 2023, 17:00:00. Fees are generated for the period from 16:00:00 to 16:30:30.
  • Yearly/Monthly: Apr 18, 2023, 16:30:30

Constraints

When a RocketMQ instance's billing mode changes, the billing mode of the EVS disks bound to the instance also changes.

Prerequisites

  • The billing mode of the RocketMQ instance is pay-per-use.
  • The RocketMQ instance is in the Running state.

Procedure

  1. Log in to the management console.
  2. Click in the upper left and choose Middleware > Distributed Message Service (for RocketMQ).
  3. Use one of the following methods to change the billing mode from pay-per-use to yearly/monthly:

    • Select one or more RocketMQ instances and click Change to Yearly/Monthly Billing in the upper left corner of the instance list. In the displayed Change to Yearly/Monthly dialog box, click Yes.
    • In the row that contains the target RocketMQ instance, choose More > Change to Yearly/Monthly Billing.
    • RocketMQ 4.8.0: Click the desired RocketMQ instance to view its details. Click More > Change to Yearly/Monthly Billing in the upper right corner to go to the Change Subscription page. RocketMQ 5.x: Click the desired RocketMQ instance to view its details. Click Change to Yearly/Monthly Billing in the upper right corner to go to the Change Subscription page.

  4. Select the required usage duration, determine whether to enable Auto-Renew, confirm the expected expiration date and price, and click Pay.

    Figure 1 From pay-per-use to yearly/monthly

  5. Select a payment method and make your payment. Once the order is paid, the billing mode of the instance becomes yearly/monthly.