Updated on 2024-03-15 GMT+08:00

Managing 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 details page of the created instance. Up to 20 tags can be added to an 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 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.

Tag value

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

Procedure

  1. Log in to the management console.
  2. In the upper left corner, click and select a region.

    Select the region where your RabbitMQ instance is.

  3. Click and choose Middleware > Distributed Message Service for RabbitMQ to open the console of DMS for RabbitMQ.
  4. Click the desired instance to view its details.
  5. Click the Tags tab. Tags of the instance are displayed.
  6. Perform the following operations as required:

    • Adding a tag
      1. Click Create/Delete Tag.
      2. Enter a tag key and a tag value, and click Add.

        If you have created predefined tags, select a pair of tag key and value, and click Add.

      3. Click OK.
    • Deleting a tag

      Delete a tag using either of the following methods:

      • In the row containing the tag to be deleted, click Delete. Click Yes.
      • Click Create/Delete Tag. In the dialog box that is displayed, click next to the tag to be deleted and click OK.