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

Modifying Instance Specifications

Scenario

After creating a RabbitMQ instance, you can increase or decrease its specifications. Table 1 lists available modification options.

Table 1 Specification modification options

Instance Type

Modified Object

Increase

Decrease

Cluster

Broker quantity

×

Storage space

×

Broker flavor

Single-node

Broker quantity

×

×

Storage space

×

Broker flavor

Notes and Constraints

  • To ensure that the instance runs properly, do not perform other operations on the instance during the modification.
  • The price may change after the modification.

Prerequisites

A RabbitMQ instance has been created and is in the Running state.

Procedure

  1. Log in to the management console.
  2. In the upper left corner, click and select a region.

    Select the region where your RabbitMQ instance is.

  3. Click and choose Middleware > Distributed Message Service for RabbitMQ to open the console of DMS for RabbitMQ.
  4. Modify the instance specifications using either of the following methods:

    • In the row containing the desired instance, choose More > Modify Specifications.
    • Click the desired RabbitMQ instance to view its details. In the upper right corner, choose More > Modify Specifications.

  5. Specify the required storage space, number of brokers, or bandwidth.

    • Expand the storage space.

      For Modify By, select Storage. For Storage Space per Broker, specify a new storage space, and click Next. Confirm the configurations and click Submit.

      View the new storage space (Storage space per broker x Number of brokers) in the Used/Available Storage Space (GB) column in the instance list.

      • Available storage space = Actual storage space – Storage space for storing logs – Disk formatting loss For example, if the storage space is expanded to 700 GB, the storage space for storing logs is 100 GB, and the disk formatting loss is 7 GB, then the available storage space after capacity expansion will be 593 GB.
      • Storage space expansion does not affect services.
    • Add brokers.

      For Modify By, select Brokers. Then, enter the number of brokers and click Next. Confirm the configurations and click Submit.

      View the number of brokers in the Specifications column in the instance list.

      Services may temporarily stutter during the modification. Ensure that your client can auto-reconnect. Modify specifications during off-peak hours.

    • Increase or decrease the broker flavor.

      For Modify By, select Broker Flavor. Then, select a new flavor and click Next. Confirm the configurations and click Submit.

      View the broker flavor in the Flavor column of the instance list.

      • For cluster instances without mirrored/quorum queues configured and single-node instances, services may stutter for several minutes during the modification. Ensure that your client can auto-reconnect. Modify specifications during off-peak hours.
      • For cluster instances configured with mirrored/quorum queues, services may stutter for several seconds during the modification. Ensure that your client can auto-reconnect. Modify specifications during off-peak hours.