If you have a large number of Alibaba Cloud Elasticsearch clusters, you can bind tags to them for easy management. A tag is composed of a key-value pair. You can use keys and values to further classify clusters.

Create a tag

  1. Log on to the Alibaba Cloud Elasticsearch console.
  2. In the top navigation bar, select the region where your Alibaba Cloud Elasticsearch cluster resides.
  3. In the left-side navigation pane, click Elasticsearch Clusters. On the page that appears, create tags for one or more clusters.
    Create tags for clusters
    • To create a tag for a single cluster, click More in the Actions column that corresponds to the target cluster and select Edit Tag.
    • To create tags for multiple clusters, select target clusters and click Edit Tag.
  4. In the Edit Tag dialog box, click Add Tag.
  5. Set Key and Value and click Add.
    Edit Tag dialog box
    Note
    • You can bind no more than 20 tags to each cluster. Tag keys must be unique. Two or more tags with the same key overwrite each other.
    • You can bind tags to up to 50 clusters at a time.
    • Clusters deployed in different regions do not share the same tag.
    • After you unbind a tag, the tag is deleted if it is not bound to other clusters.
  6. Click OK.

Use tags to filter Elasticsearch clusters

After you bind tags to clusters, you can click the Tag button next to the search box on the Clusters page and select a key and a value to filter the clusters.

You can click the X icon next to a tag to delete the filter condition.

Use tags to filter Elasticsearch clusters

Delete a tag

Notice
  • After you unbind a tag, the tag is deleted if it is not bound to other clusters.
  • After you unbind a tag, the system automatically deletes this tag two hours later.
  • You can unbind no more than 20 tags at a time.

In the left-side navigation pane, click Elasticsearch Clusters. On the page that appears, use one of the following methods to delete tags:

  • Delete a tag from a single cluster
    1. Find the target cluster, click More in the Actions column, and select Edit Tag.
    2. In the Edit Tag dialog box, click the X icon next to a tag.
    3. Click OK.
  • Delete tags from multiple clusters
    1. Select target clusters and click Delete Tag.
    2. In the Delete Tag dialog box, specify Keys you want to unbind from the clusters.
    3. Click OK.