Background
RabbitMQ Vhost restriction management is a feature used to manage RabbitMQ Vhosts, which allows administrators to restrict and manage the resources and permissions of Vhosts.
Vhost is a logical isolation unit in RabbitMQ, which allows the creation of multiple independent message queue environments on the same RabbitMQ server. Each Vhost has its own queues, exchanges, bindings and permission settings. With Vhost restriction management, administrators can control and manage Vhosts on RabbitMQ servers at a granular level. This helps ensure isolation, security, and resource utilization between different applications or users, improving the reliability and performance of the entire message queue system.
Procedure
(1) Log in to the management console.
(2) Go to the RabbitMQ console.
(3) In the operation column of the instance list page, click Manage in the target instance row.
(4) Click Cluster Management, and click Vhost Restrictions to reach the Vhost page, then click the New button.
(5) Click New and the following screen will appear. Select the Vhost and add restriction policy content.
Restriction Parameter | Description |
max-connections | Maximum number of TCP connections. |
max-queues | Maximum number of queues. |
(6) Click Delete or Modify in the target Vhost restriction row to delete the current Vhost restriction policy.