After you create tags, you can add different tags to instances and filter the instances by tag.
Prerequisites
Log on to the ApsaraDB for MongoDB console with your Alibaba Cloud account. Resource Access Management (RAM) users do not have permissions to manage or use tags.
Tags that you want to add are created. For more information, see Add tags.
Limits
You can select a maximum of 50 instances to add tags at a time.
You can add up to 20 tags to an instance.
You can add or remove 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.
In the upper-left corner of the page, select the resource group and region to which the instance belongs.
Perform the following operations to add a tag:
Add tags to a single instance
Find the instance to which you want to add tags, move the pointer over the icon in the Tag column, and then click Edit.
Add tags to multiple instances
Select the instances to which you want to add tags.
In the lower-left corner, click Edit Tag.
In the Configure Tags dialog box, select existing tags from search boxes in Tag Key and Tag Value.
Click OK.
After Configure Tags successfully is returned, click Close.