Message Queue for RabbitMQ limits the number of vhosts. If you no longer need to use a vhost, you can delete the vhost in the Message Queue for RabbitMQ console.

Prerequisites

The exchanges and queues in the vhost that you want to delete are deleted. For more information, see the following topics:

Background information

A vhost is a virtual host that is used to logically isolate resources. Vhosts manage their own exchanges, queues, and bindings. Applications securely run on independent vhosts so that the business of an application is not affected by other applications. An instance can have multiple vhosts, and a vhost can have multiple exchanges and queues. To connect a producer or consumer to Message Queue for RabbitMQ, you must specify a vhost for the producer or consumer.

Procedure

  1. Log on to the Message Queue for RabbitMQ console.
  2. In the Resource Distribution section of the Overview page, select the region where your instance is located.
  3. On the Instances page, click the name of your instance.
  4. In the left-side navigation pane, click vhosts.
  5. On the vhosts page, find the vhost that you want to delete, click More in the Actions column, and then select Delete.
  6. In the Note message, read the note and click OK.