Create a tag

更新时间:
复制 MD 格式

Tags help you categorize and filter instances for easier management.

Prerequisites

Log on to the MongoDB console with an Alibaba Cloud account. RAM users cannot manage or use tags.

Limitations

  • A tag is a key-value pair. Within a region, each tag key must be unique to your Alibaba Cloud account, but tag values do not need to be unique.

    Note

    A key can have zero or more values.

  • You can edit tags for up to 50 instances at once.

  • You can attach a maximum of 20 tags to each instance.

  • You can attach or detach a maximum of 20 tags in a single operation.

Procedure

  1. Log on to the MongoDB console.

  2. In the navigation pane on the left, click Replica Set Instances, Sharded Cluster Instances, or Serverless Instances based on the instance type.

  3. In the upper-left corner of the page, select the resource group and region of the instance.

  4. To add tags, use one of the following methods:

    • For a single instance:

      Hover over the image icon in the Tag column for the target instance, and then click Binding.

    • For multiple instances:

      1. Select the instances that you want to tag.

      2. In the lower-left corner of the instance list, click Edit Tag.

  5. In the Edit Tags dialog box, enter a Tag key and a Tag value, and then click Confirm.

    Note

    After you create a tag, you can attach it to other instances.

  6. When the Tags are edited. message appears, click Close.

Results

The tag appears in the Tag column of the instance.