After you create tags, you can bind different tags to instances and filter instances by tag.

Prerequisites

  • You must log on to the ApsaraDB for MongoDB console with your Alibaba Cloud account. RAM users do not have permissions to manage or use tags.
  • You have performed the Create a tag operation.

Precautions

  • You can select a maximum of 50 instances to bind tags at a time.
  • You can bind up to 20 tags to each instance.
  • You can bind or unbind up to 20 tags at a time.

Procedure

  1. Log on to the ApsaraDB for MongoDB console.
  2. In the upper-left corner of the page, select the resource group and the region of the target instance.
  3. In the left-side navigation pane, click Replica Set Instances, or Sharded Cluster Instances based on the instance type.
  4. Perform the following operations to bind a tag:
    • Bind tags to an instance: Find the instance. In the Actions column, choose More > Edit tags.Bind tags for an instance
    • Bind tags to multiple instances at a time: Select the instances to which you want to bind tags and then click Edit tags at the bottom of the instance list.Bind tags for multiple instances
  5. In the dialog box that appears, click Available Tags. Then, select the desired tag information.
    Add a tag
    Note If tag information is not displayed after you click Available Tags, you must Create a tag first.
  6. Click OK.