This topic describes how to change the billing method of an instance from pay-as-you-go to subscription in the ApsaraMQ for Kafka console. The change of the billing method only affects how you are charged for using the instance. Your use of the instance is not affected, and you do not need to modify the code on the client.


A ApsaraMQ for Kafka instance is purchased and in the Running or Not Deployed state. For more information, see Purchase and deploy a VPC-connected instance.


  • When you change the billing method of an instance, the instance is restarted, but the instance state remains unchanged and the service is available at all times.
  • The change of the billing method does not lead to a change of the instance ID or endpoint.


  1. Log on to the ApsaraMQ for Kafka console.
  2. In the Resource Distribution section of the Overview page, select the region where your instance is deployed.
  3. On the Instances page, click the name of the instance that you want to manage.
  4. On the Instance Details page, click Change to Subscription in the upper-right corner of the Overview section.
  5. On the Switch to Subscription page, set the Duration parameter, select Terms of Service, and then click Buy Now.
  6. In the Unpaid Orders panel, confirm the order information and click Purchase.


In the Configuration Information section of the Instance Details page, the value of the Billing Method parameter is Subscription.