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 promptly. 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. In the top navigation bar, select the region where the instance is located.
  2. In the left-side navigation pane, click Instances.
  3. On the Instances page, find the target instance and click Renew.
    instance_detail
  4. On the Renew page, select a renewal cycle, select Subscription Terms of Service, and then click Buy Now.
  5. On the Pay page, click Buy and complete the payment.

    (Recommended) Enable auto-renew

    We recommend that you enable auto-renew for subscription instances in the Message Queue for MQTT console to prevent service disruption 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, and select the target region from the Region drop-down list.
    3. Click the Manual tab. Find the target instance and click Enable Auto-Renew in the Actions column.
    4. In the Enable Auto-Renew dialog box, set Auto-Renew Cycle, and click Enable Auto-Renew.
    You can view the instance on the Auto tab of the Renewal page.

Upgrade or downgrade an instance

You can upgrade or downgrade the specification of an instance to meet your business demands without disrupting your service.
Notice
  • Upgrades performed on Basic Edition instances take effect immediately. 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 take effect immediately. 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. In the top navigation bar, select the region where the instance is located.
  2. In the left-side navigation pane, click Instances.
  3. On the Instances page, click Upgrade or Downgrade as needed.
    change_config
  4. On the Upgrade or Downgrade page, select an instance specification as needed, select Subscription Terms of Service, and then click Buy Now.
  5. On the Pay page, click Buy and complete the payment.

Maintain an instance

You can view instance statistics, including the messaging TPS, subscriptions, and connected clients, during the instance runtime. 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. In the top navigation bar, select the region where the instance is located.
    2. In the left-side navigation pane, click Instances.
    3. On the Instances page, find the target instance. Then click the Statistics tab.
    4. On the Statistics tab, specify a time range, and then click Search.
      Note The supported maximum time range is two days.
  • Set alerts for an instance

    Message Queue for MQTT provides a series of metrics on a per-instance basis, such as messaging TPS, subscriptions, and connected clients. MQTT can also send alert text messages to the mobile phone numbers bound to the account when these metrics exceed the alert thresholds, so that relevant contacts can upgrade the instance at the earliest opportunity.

    The alert thresholds are set to 70% of instance specifications by default. You can also customize the alert thresholds.

    1. Log on to the Message Queue for MQTT console. In the top navigation bar, select the region where the instance is located.
    2. In the left-side navigation pane, click Instances.
    3. On the Instances page, find the instance for which you want to set alert thresholds, and then click Monitor.monitoring
    4. In the Monitoring Alarms dialog box, set the alert thresholds, choose Enable from the Alarms drop-down list, and then click OK.

      Alerts will be sent to the mobile phone numbers of relevant contacts in text messages.

      alarm

Switch billing methods

After you create a Message Queue for MQTT subscription instance, you can switch its billing method from subscription to pay-as-you-go. After the switch, you can recoup part of your cost and use the Message Queue for MQTT instance on demand. For more information, see 包年包月转按量付费.