After creating tags, you can bind different tags to instances 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.
  • You have performed the Create a tag operation.

Precautions

  • You can select a maximum of 50 instances to bind tags at a time.
  • You can bind up to 20 tags to an instance.
  • You can bind or unbind up to 20 tags at a time.

Procedure

  1. Log on to the ApsaraDB for MongoDB console with your Alibaba Cloud account.
  2. In the upper-left corner of the page, select the region where the instance resides.
  3. In the left-side navigation pane, clickReplica Set Instances or Sharding Instances based on the instance type.
  4. Perform the following steps to bind a tag.
    • Bind tags to an instance: Find the instance. In the Actions column, choose More > Edit tags.Create tags for an instance
    • Bind tags to multiple instances at a time: Select the instances to which you want to bind tags and then click Edit tags at the bottom of the instance list.Create tags for multiple instances
  5. In the dialog box that appears, click Existing Tags. Then select the desired tag information.
    Bind tags
    Note If tag information is not displayed after you click Existing Tags, you must Create a tag first.
  6. Click OK.