This topic describes how to renew, upgrade, and maintain Message Queue for MQTT instances. You can renew, upgrade, and downgrade only subscription instances, but not pay-as-you-go instances.

Renew an instance

A notification will be sent to the mobile phone number corresponding to your account seven days before a Message Queue for MQTT subscription instance expires. When you receive this notification, renew the instance in time. If this instance is not renewed upon expiration, it is retained for seven days and then automatically released.

  1. Log on to the Message Queue for MQTT console.
  2. In the left-side navigation pane, click Instances.
  3. In the top navigation bar, select a region.
  4. Find the instance that you want to view in the instance list. Click the instance name or click Details in the Actions column to go to the Instance Details page.
  5. In the Overview section of the Instance Details page, click Renew.
  6. On the Renew page, select a renewal period, select Alibaba Cloud Message Queue for MQTT Terms of Service, and then click Buy Now.
  7. On the Purchase page, click Purchase and complete the payment.

    (Recommended) Enable auto-renewal

    We recommend that you enable auto-renewal for subscription instances in the Message Queue for MQTT console to prevent service disruption that is caused by expired instances.

    1. Log on to the Message Queue for MQTT console. In the top navigation bar, choose Expenses > Renewal Management.
    2. On the Renewal page, select Message Queue for MQTT (Subscription) in the Instances section. Select the region from the Region drop-down list.
    3. Click the Manual tab. Find the instance for which you want to enable auto-renewal and click Enable Auto Renewal in the Actions column.
    4. In the Enable Auto Renewal dialog box, set the Unified Auto Renewal Cycle parameter and click Auto Renew.
    On the Auto tab of the Renewal page, you can view the instance for which you enable auto-renewal.

Upgrade or downgrade an instance

You can upgrade or downgrade an instance to meet your business needs without service disruption.
Notice
  • Upgrades on Basic Edition instances immediately take effect. Upgrades on Enterprise Platinum Edition instances may require help from a technical support engineer of Message Queue for MQTT, which may increase the time required for the upgrade to take effect. During this period, the instance is not affected and can continue to provide services.
  • Instance downgrades immediately take effect. Refunds are not issued for instance downgrades. Therefore, we recommend that you downgrade an instance at the end of the billing cycle of the instance.
  • You cannot upgrade or downgrade the service edition of an instance. For example, you cannot upgrade an instance of Basic Edition to Enterprise Platinum Edition or downgrade an instance of Enterprise Platinum Edition to Basic Edition.
  1. Log on to the Message Queue for MQTT console.
  2. In the left-side navigation pane, click Instances.
  3. In the top navigation bar, select a region.
  4. Find the instance that you want to view in the instance list. Click the instance name or click Details in the Actions column to go to the Instance Details page.
  5. In the Overview section of the Instance Details page, click Upgrade or Downgrade.
  6. On the Upgrade/Downgrade or Downgrade page, select instance specifications as needed, select Alibaba Cloud Message Queue for MQTT Terms of Service, and then click Buy Now.
  7. On the Purchase page, click Purchase and complete the payment.

Maintain an instance

You can view instance statistics, including the messaging transactions per second (TPS), subscriptions, and connected clients when the instance is running. You can also set alerts for the instance to monitor its usage in real time.

View instance statistics
  1. Log on to the Message Queue for MQTT console.
  2. In the left-side navigation pane, click Instances.
  3. In the top navigation bar, select a region.
  4. Find the instance that you want to view in the instance list. Click the instance name or click Details in the Actions column to go to the Instance Details page.
  5. On the Statistics tab, specify a time range to query and view the statistics that is collected in the specified time range.
    Note The maximum time span is three days.
Set alerts for an instance

By default, the alert thresholds is 70% of the specifications and the alerting feature is enabled. You can specify the alert thresholds and enable or disable the alerting feature as needed.

  1. Log on to the Message Queue for MQTT console.
  2. In the left-side navigation pane, click Instances.
  3. In the top navigation bar, select a region.
  4. Find the instance for which you want to set alerts in the instance list and click Configure Alert in the Actions column.
  5. In the Configure Alerts for Instance panel, set the Enable Alert parameter to Yes, set the alert thresholds, and then click OK.
    Alerts will be sent to relevant contacts by using text messages.

Change the billing method

After you create a Message Queue for MQTT subscription instance, you can change its billing method from subscription to pay-as-you-go. After the change, you can recoup part of your cost and use the Message Queue for MQTT instance on demand. For more information, see Change the billing method of an instance from subscription to pay-as-you-go.