All Products
Search
Document Center

ApsaraDB for MongoDB:Attach existing tags

Last Updated:Mar 28, 2026

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

LimitValue
Max instances per batch operation50
Max tags per instance20
Max tags attached or detached at a time20

Attach tags to instances

  1. Log on to the MongoDB console.

  2. In the navigation pane on the left, click Replica Set Instances or Sharded Cluster Instances, depending on the instance type.

  3. In the left navigation pane, click Replica Set Instances or Sharded Cluster Instances, depending on your instance type.

  4. In the upper-left corner, select the resource group and region where your instance is located.

  5. Open the tag editor using one of the following methods:

    • Single instance: Hover over the image icon in the Tag column of the target instance, then click Edit.

    • Multiple instances:

      1. Select the instances to tag.

      2. In the lower-left corner of the instance list, click Edit Tag.

  6. In the Edit Tag dialog box, click the Tag Key and Tag Value input boxes to select existing tags.

  7. Click OK.

  8. When the Tag Edited Successfully message appears, click Close.