You can create and bind multiple tags to a large number of instances to classify 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.
Precautions
- A tag consists of a key-value pair. The key must be unique in the same region of the
same account, while the value is not limited.
Note A key can have zero to multiple values.
- You can edit tags for a maximum of 50 instances 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
- Log on to the ApsaraDB for MongoDB console.
- In the upper-left corner of the page, select the resource group and the region of
the target instance.
- In the left-side navigation pane, click Replica Set Instances, or Sharded Cluster Instances based on the instance type.
- To create a tag, perform the following steps:
- Create tags for an instance: Find the instance. Choose in the Actions column.

- Create tags for multiple instances: Select the instances for which you want to create
tags and then click Edit tags at the lower part of the page.

- In the dialog box that appears, click Create.
Note If you have created tags, click
Available Tags to bind the tags to the instances. For more information, see
Bind existing tags.
- Set the key and value of the tag and then click Ok.
- Repeat the preceding steps to create all the tags. Then click OK in the lower-right corner of the dialog box.
Note After you create tags, you can bind them to other instances.
Result
After you create a tag, you can view the tag information of the instance in the instance
list.