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.
NoteA 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
-
Log on to the MongoDB console.
-
In the navigation pane on the left, click Replica Set Instances, Sharded Cluster Instances, or Serverless Instances based on the instance type.
-
In the upper-left corner of the page, select the resource group and region of the instance.
-
To add tags, use one of the following methods:
-
For a single instance:
Hover over the
icon in the Tag column for the target instance, and then click Binding. -
For multiple instances:
-
Select the instances that you want to tag.
-
In the lower-left corner of the instance list, click Edit Tag.
-
-
-
In the Edit Tags dialog box, enter a Tag key and a Tag value, and then click Confirm.
NoteAfter you create a tag, you can attach it to other instances.
-
When the Tags are edited. message appears, click Close.
Results
The tag appears in the Tag column of the instance.