Updated on 2025-11-20 GMT+08:00

Managing RabbitMQ Instance Tags

Tags facilitate RabbitMQ instance identification and management.

If your organization has configured tag policies for DMS for RabbitMQ, add tags to RabbitMQ instances based on the tag policies. If a tag 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.

Configuring Tags for a RabbitMQ Instance

  1. Log in to the RabbitMQ console.
  2. In the upper left corner, click and select a region.
  3. Configure RabbitMQ instance tags in either of the following ways:

    Method 1:

    1. Click an instance name to go to the instance details page.
    2. In the navigation pane, choose Instance > Tags.
    3. Click Edit Tag.
    4. Add, edit, or delete tags as required.
      Table 2 Tag operations

      Operation

      Procedure

      Adding a tag

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

      2. Click OK.

        View the new tag on the tag list page.

      Editing a tag

      Modify the tag key and value, and click OK.

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

      Deleting a tag

      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.

    Method 2:

    1. In the row containing the desired RabbitMQ instance, choose More > Edit Tag.
    2. Add, edit, or delete tags as required.
      Table 3 Tag operations

      Operation

      Procedure

      Adding a tag

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

      2. Click OK.
      3. In the row containing the RabbitMQ instance with added tags, choose More > Edit Tag. View the added tags.

      Editing a tag

      1. Modify the tag key and value, and click OK.
      2. In the row containing the RabbitMQ instance with edited tags, choose More > Edit Tag. View the edited tag key and value.

      Deleting a tag

      1. In the row containing the tag to be deleted, click Delete. Then, click OK to delete the tag.
      2. In the row containing the RabbitMQ instance whose tags were deleted, choose More > Edit Tag. The tags are deleted when they are no longer displayed.

Related Document

To add or delete RabbitMQ instance tags by calling an API, see Batch Adding or Deleting Tags.