This topic describes how to bind tags to Apsara PolarDB clusters. To easily manage a large number of Apsara PolarDB clusters, you can create and bind tags to the clusters. You can also filter the clusters by tag.

Notes

  • 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.
  • You can bind a maximum of 20 tags to a cluster. If you create a tag that has the same key as an existing tag, the existing tag is overwritten.
  • The tag namespace for the clusters that are deployed in each region is unique.

Procedure

  1. Log on to the PolarDB console.
  2. On the top of the page, select the region where the target cluster is located.
  3. On the Clusters page, move the pointer over the Icon icon in the Tags column of the target cluster.
  4. Click Edit Tags.
    Edit the tag
  5. In the Edit Tags dialog box, click New Tag or Existing Tag.
    • New Tag:

      Specify Key and Value for the tag and click OK.

      Edit the tag
      Note After the tag is created, you can bind it to other clusters.
    • Existing Tag:
      Click the key of the target tag Key.2
  6. Repeat the preceding steps to create and bind other tags to clusters. In the lower-right corner of the dialog box, click OK.

Related API operations

Operation Description
TagResources Binds tags to Apsara PolarDB clusters.