Updated on 2025-07-29 GMT+08:00

Setting Tags for an OpenSearch Cluster

Tags are cluster identifiers. Adding tags to clusters can help you identify and manage your cluster resources.

You can add tags to a cluster when creating the cluster or add them on the details page of the created cluster.

Constraints

You can create a maximum of 20 tags for a CSS cluster.

If your organization has configured tag policies for CSS, add cluster tags based on these policies. Tags that do not comply with predefined tag policies will cause a cluster creation failure. Contact the administrator to learn about the tag policies.

Managing Tags

In CSS, you can add, delete, modify, and query cluster tags.

  1. Log in to the CSS management console.
  2. On the Clusters page, click the name of a cluster for which you want to manage tags.

    The Basic Information page is displayed.

  3. In the navigation pane on the left, choose the Tags tab. You can add, modify, or delete tags.
    • View

      On the Tags page, you can view details about tags of the cluster, including the number of tags and the key and value of each tag.

    • Add

      Click Edit Tag in the upper left corner. In the displayed dialog box, click Add Tag, enter the tag key and value, and click OK.

    • Modify

      Click Edit Tag in the upper left corner. In the displayed dialog box, modify the key and value of a tag, and click OK.

    • Delete

      Click Edit Tag in the upper left corner. In the displayed dialog box, click Delete in the row that contains a tag, and click OK.

    Table 1 Tag rules

    Parameter

    Description

    Tag Key

    • Must be unique in a cluster.
    • Cannot exceed 64 characters.
    • Can contain only digits, letters, Chinese characters, and the following special characters: _.:=+-@ Cannot start or end with a space.
    • Cannot be blank.

    Tag Value

    • Cannot exceed 64 characters.
    • Can contain only digits, letters, Chinese characters, and the following special characters: _ . : = + - @/ Cannot start or end with a space.
    • Cannot be blank.

Searching for Clusters by Tag

  1. Log in to the CSS management console.
  2. On the Clusters page, click the search box above the cluster list and select tag keys and values to search for clusters.

    You can select a tag key or tag value from their drop-down lists. The system returns a list of clusters that exactly match the tag key or tag value. If you enter multiple tags, the cluster that meets requirements of all the tags will be filtered.

    You can add a maximum of 10 tags at one time.