If you have a large number of instances, you can create multiple tags and bind tags to specific instances. Then, you can filter instances by tag.

Precautions

  • A tag consists of a key-value pair. Each key must be unique for an Alibaba Cloud account in a region. This limit does not apply to the values of keys.
    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 an instance.
  • You can bind or unbind up to 20 tags for a instance at a time.

Procedure

  1. Log on to the DTS console.
  2. In the left-side navigation pane, select Data Migration, Data Synchronization, Change Tracking, or Data Integration.
  3. At the top of the page that appears, select the region where your instance resides.
    Select a region
  4. You can create tags for a single or multiple instances based on your business needs.
    • Create tags for a single instance

      Click Edit Tag in the Actions column of the instance.

    • Create tags for multiple instances

      Select the instances and click Edit Tag below the instance list.

  5. In the dialog box that appears, click Create Tag.
    Note If you have created tags, click Existing Tag to bind the tags to the instances.
  6. Set the key and value of the tag and then click Confirm.
    Figure 1. Set the key and value of the tag
  7. Repeat Step 5 and Step 6 to create all the tags. Then, click Confirm in the lower-right corner of the dialog box.
    Note After you create a tag for an instance, you can bind the tag to other instances.

Related API operation

API operation Description
TagResources Binds tags to one or more data migration, data synchronization, or change tracking instances.