RabbitMQ Resources and Scaling
RabbitMQ resource scaling
A RabbitMQ deployment allows for vertical scaling of both the database nodes and its TCP portals.
Vertical Scaling
The vertical scaling option allows for memory and storage to be manually added to each database node. Vertical scaling is the dimension that Compose Auto-scaling operates in.
Adding memory and storage to RabbitMQ nodes
In the Deployment Resources view for RabbitMQ, the Nodes panel shows the configured database nodes and the memory and storage allocated to the nodes. The rows in the panel display the name, location and IP address of each node.

List of resources for a RabbitMQ deployment.
To add or reduce memory allocated to a RabbitMQ deployment, click Scale. This takes you to the Scale Nodes view:

The Scale Nodes view.
By adjusting the slider, you can raise or lower the memory allocated to the RabbitMQ nodes. The storage allocation is 1:1 with the selected memory allocation. When the slider is moved, the view updates with the new cost, per month, for the deployment.

Adding resources to nodes.
Click Confirm to trigger the rescaling of the deployment.
Adding memory to portals
For RabbitMQ there will be at least two TCP portals. Below is an example from the Scale TCP Portals view with the slider set to scale them:

Adding resources to portals.
It is possible to add a TCP portal through the Security page, and if you have additional portals they will all be scaled to the new memory size.
Manually Scaling Down
Memory and Storage
If you find you do not need the resources currently provisioned to your deployment you can scale down the deployment. Compose auto-scaling will NOT automatically scale down or remove resources that you are not currently using.
Scaling down works similarly to scaling up. Moving the sliders to the left shows the difference in the cost, and the new monthly total.
Portals
Use the Security panel to remove any provisioned TCP/HAProxy portals from your deployment.
Still Need Help?
If this article didn't solve things, summon a human and get some help.
Updated over 3 years ago