Updated on 2023-05-06 GMT+08:00

Modifying Instance Specifications

Scenario

After creating a RabbitMQ instance in cluster mode, you can modify the number of cluster brokers and storage space, but cannot modify the flavor. For single-node RabbitMQ instances, you can increase the storage space.

You can change instances to higher specifications, but not lower ones.

Notes and Constraints

  • To ensure that the instance runs properly, do not perform other operations on the instance during 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 Application > 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 or the number of brokers.

    The storage space and the number of brokers can only be changed separately.

    • 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.

    • 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.