This topic describes how to check the status of Message Queue for MQTTinstance for renewal, configuration change, and O&M management.

Note You can renew, upgrade, and downgrade only subscription instances, but not pay-as-you-go instances.

Renew an instance

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

  1. Login Message Queue for MQTTconsole in the top navigation bar, select the Region where the instance is located, for example, china (Hangzhou).
  2. Click Instances in the left-side navigation pane.
  3. On the Instances page, find the instance to be renewed, and then click Renew.instance_detail
  4. On the Renew page, select the renewal cycle as needed, and complete the payment.

Enable auto-renew

We recommend that you enable auto-renew for subscription instances in the Alibaba Cloud console to prevent instance expiration from impacting services.

  1. Login Message Queue for MQTTconsole. In the top navigation bar, choose expenses > renewal Management.
  2. In renewal Management in the left-side navigation pane, choose LMQ MQTT.
  3. On the Message Queue for MQTT page, click the Manually Renew tab. In the Instances to Manually Renew section, find the instance for which you want to enable auto-renew. Click Enable Auto-Renew in the Actions column.
  4. In the Enable Auto-Renew dialog box, set Auto-Renew Cycle as needed, and click Enable Auto-Renew.

Upgrade an instance

In the service period, you can decide whether to upgrade or downgrade the existing instance specifications based on your business needs.
Notice
  • The upgrade of a basic edition instance takes effect in real time. It is required in the enterprise Platinum Edition. Message Queue for MQTTTechnical support personnel intervention will take some time and the service operation will not be affected during the upgrade.
  • Instance downgrade takes effect in real time, and refunds are unavailable for instance downgrade. Therefore, we recommend that you downgrade an instance when a billing cycle of this instance approaches the end.
  • Cross-edition upgrade and downgrade are not supported. That is, the Basic Edition cannot be changed to the Enterprise Platinum Edition, and vice versa.
  1. Log on to the Message Queue for MQTT console. In the top navigation bar, select the region where the instance is located.
  2. Click Instances in the left-side navigation pane.
  3. On the Instances page, find the instance for which you want to change specifications, and then click Upgrade.change_config
  4. On the Upgrade page, select the instance specifications as needed, and complete the payment.

Maintain an instance

You can view instance statistics during the instance runtime, which include the messaging TPS, subscriptions, and connected clients. You can also set alerts for the instance to monitor instance 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, choose Instances.
    3. On the Instances page, find the instance you want to view. Click data Statistics tab.
    4. On the Statistics tab, set a time range. Then click Search.
      Note The maximum time span is two days.
      statistics
  • Set instance alerts

    Message Queue for MQTT Message Queue for MQTT (MQTT) provides a series of metrics on a per-instance basis, such as messaging TPS, subscriptions, and connected clients. MQTT can also send alert SMS messages to the mobile phone numbers of relevant contacts when these metrics exceed the alert thresholds so that these contacts can promptly upgrade instance specifications.

    The alert thresholds are set to 70% of instance specifications by default. You can define 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 an alert, and then click Monitor.Monitoring
    4. In the Monitoring Alarms dialog box, enter an alert threshold. Select Enable from the Alarms drop-down list, and click OK.Alarm

Switch billing methods

To change the billing method of an instance, follow these steps:

  1. Create a new instance.
  2. Connect the consumer program to both the old and new instances to ensure that messages from both instances can be processed simultaneously.
  3. Update the producer configuration to the configuration of the new instance.
  4. Disconnect the old instance. On the Instances page in the console, click Delete Instance to delete the old instance.

If you have any questions about modifying your client program, open a ticket.