Attach pre-created tags to one or more MongoDB instances to group and filter them by environment, team, or project.
Prerequisites
Before you begin, ensure that you have:
Logged on to the MongoDB console using your Alibaba Cloud account. Resource Access Management (RAM) users do not have permission to manage or use tags.
At least one tag already created. See Create a tag.
Constraints
| Limit | Value |
|---|---|
| Max instances per batch operation | 50 |
| Max tags per instance | 20 |
| Max tags attached or detached at a time | 20 |
Attach tags to instances
Log on to the MongoDB console.
In the navigation pane on the left, click Replica Set Instances or Sharded Cluster Instances, depending on the instance type.
In the left navigation pane, click Replica Set Instances or Sharded Cluster Instances, depending on your instance type.
In the upper-left corner, select the resource group and region where your instance is located.
Open the tag editor using one of the following methods:
Single instance: Hover over the
icon in the Tag column of the target instance, then click Edit.Multiple instances:
Select the instances to tag.
In the lower-left corner of the instance list, click Edit Tag.
In the Edit Tag dialog box, click the Tag Key and Tag Value input boxes to select existing tags.
Click OK.
When the Tag Edited Successfully message appears, click Close.