Updated on 2025-07-14 GMT+08:00

Managing RabbitMQ Instance Tags

Tags facilitate RabbitMQ instance identification and management.

You can add tags to a RabbitMQ instance when creating the instance or add tags on the Instance > Tags page of the created instance. Tags can be deleted.

If your organization has configured tag policies for DMS for RabbitMQ, add tags to RabbitMQ instances based on the tag policies. If a tag added on the Instance > Tags page does not comply with the tag policies, the tag fails to be added.

A tag consists of a tag key and a tag value. Table 1 lists the tag key and value requirements.

Table 1 Tag key and value requirements

Name

Rules

Tag key

  • Cannot be left blank.
  • Must be unique for the same instance.
  • Can contain 1 to 128 characters.
  • Can contain letters, digits, spaces, and special characters _.:=+-@
  • Cannot start or end with a space.
  • Cannot start with _sys_.

Tag value

  • Can contain 0 to 255 characters.
  • Can contain letters, digits, spaces, and special characters _.:=+-@
  • Cannot start or end with a space in instance creation.

Notes and Constraints

A maximum of 20 tags can be added to a RabbitMQ instance.

Procedure

  1. Log in to the RabbitMQ console.
  2. In the upper left corner, click and select a region.
  3. Click the desired instance to view its details.
  4. In the navigation pane, choose Instance > Tags.
  5. Add, edit, or delete tags as required.

    Table 2 Tag operations

    Operation

    Procedure

    Adding a tag

    1. Click Edit Tag.
    2. Click Add Tag to set tags with Tag key and Tag value. If you have predefined tags, select a predefined pair of tag key and value, and click Add.

      A maximum of 20 tags can be added.

    3. Click OK.

      View the new tag on the tag list page.

    Deleting a tag

    1. Click Edit Tag.
    2. Modify the tag key and value, and click OK.

      On the tag list page, view the new tag key and value.

    Editing a tag

    1. Click Edit Tag.
    2. In the row containing the tag to be deleted, click Delete. Then, click OK to delete the tag.

      The tags are deleted when they are no longer displayed in the tag list.