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.
Limits
- You can select a maximum of 50 instances to bind tags at a time.
- You can add up to 20 tags to an instance.
- You can bind or unbind up to 20 tags at a time.
Procedure
- Log on to the ApsaraDB for MongoDB console.
- In the left-side navigation pane, click Replica Set Instances or Sharded Cluster Instances based on the instance type.
- In the upper-left corner of the page, select the resource group and region to which the instance belongs.
- Perform the following operations to bind tags:
- Bind tags to a single instance
Click More in the Actions column corresponding to the instance and select Edit tags.
- Bind tags to multiple instances at a time
- Select the instances to which you want to bind tags.
- Click Edit tags in the lower-left corner of the instance list.
- Bind tags to a single instance
- In the Edit Tags dialog box, click Available Tags and select the tags. Note If no tag appears after you click Available Tags, create a tag. For more information, see Create a tag.
- Click OK.