Manage cluster tags, windows, and releases

更新时间:
复制 MD 格式

This topic describes how to manage tags for Alibaba Cloud Elasticsearch clusters, including how to attach, filter by, and detach them. It also covers setting a maintenance window and releasing clusters.

Manage cluster tags

When you have many Alibaba Cloud Elasticsearch clusters, you can use tags to categorize and manage them. A tag is a key-value pair that you attach to a cluster. You can then filter clusters by tag key and tag value.

Attach tags

  1. Log on to the Alibaba Cloud Elasticsearch console.

  2. In the left navigation menu, choose Elasticsearch Clusters.

  3. On the Elasticsearch Clusters page, attach tags to your clusters.

    • For a single cluster: In the Actions column for the target cluster, choose 更多 > Edit Tag.

    • For multiple clusters: Select the clusters you want to tag and click Edit Tag at the bottom of the page.

  4. In the Edit Tag dialog box, enter a Keys and a Values, and then click OK.

    Note
    • You can attach up to 20 tags to each cluster, and each tag key must be unique. If you attach a tag with an existing key, the old value is overwritten.

    • You can attach tags to a maximum of 50 clusters in a single batch operation.

    • Tags are isolated across regions. For example, a tag created in the China (Hangzhou) region is not visible in the China (Beijing) region and cannot be used to filter clusters in that region.

Filter clusters by tag

To filter clusters by tag:

  1. On the Elasticsearch Clusters page, click Filter Tags.

  2. From the drop-down list, select a tag key and tag value to filter the clusters.

    After filtering, you can click the image icon next to a tag to remove that filter, or click Clear to remove all filters.

Detach tags

If a tag is detached from all its associated clusters, the system automatically deletes it after two hours. You can remove up to 20 tag keys in a single batch operation.

Detach tags from a single cluster

  1. In the Actions column for the target cluster, choose 更多 > Edit Tag.

  2. In the Edit Tag dialog box, click the image icon next to the tag you want to detach.

  3. Click OK.

Detach tags from multiple clusters

  1. Select the target clusters and click Delete Tag at the bottom of the page.

  2. In the Delete Tags for Multiple Resources dialog box, select the tags you want to detach and follow the on-screen instructions.

Set a maintenance window

To ensure the stability and security of your Alibaba Cloud Elasticsearch (ES) clusters, Alibaba Cloud regularly performs backend maintenance, such as version upgrades and patch installations. You can set a maintenance window for your cluster to schedule these operations during off-peak hours and minimize the impact on your business.

Maintenance impact and risks

  • The trigger conditions, notification lead times, and impact on the cluster vary depending on the type of maintenance operation. Understanding these details helps you assess risks and plan accordingly. Before maintenance begins, Alibaba Cloud notifies the contacts registered with your account via SMS, email, and internal messages.

  • During the maintenance window, maintenance operations may trigger node restarts, which can cause brief connection interruptions for clients. Your application must have a reconnection mechanism.

  • Before the maintenance window begins, the cluster enters a locked state (with a status of Pending). During this period, you cannot perform any cluster configuration changes, such as scaling up, scaling down, or restarting the cluster. However, data reads, writes, and queries are not affected.

Procedure

To set or modify the maintenance window for an ES cluster:

  1. Log on to the Alibaba Cloud Elasticsearch console. In the left-side navigation pane, click Elasticsearch Clusters.

  2. Select the resource group and region where your target cluster is located, and then click the cluster ID.

  3. On the Basic Information page, in the Running Status section, find Maintenance Window and click Configure next to it.

  4. In the dialog box that appears, select a time period and click OK.

    All available time periods are in UTC+8 and have a fixed duration of 4 hours. Custom time periods are not supported.




    • 02:00 - 06:00 (Default)

    • 06:00 - 10:00

    • 10:00 - 14:00

    • 14:00 - 18:00

    • 18:00 - 22:00

    • 22:00 - 02:00

  5. (Optional) Return to the Basic Information page and verify that the maintenance window is updated to your selected time.

Release a cluster

You can release only pay-as-you-go clusters and expired Subscription clusters. Before a Subscription cluster expires, you can request a self-service refund and release it in the Alibaba Cloud console.

Important considerations

  • Data cannot be recovered after a cluster is released. We recommend that you back up your data before you release a cluster. For more information, see Manual backup and restore.

  • The option to restore a cluster after initiating a release can be used a maximum of three times per cluster.

Procedure

  1. Log on to the Alibaba Cloud Elasticsearch console.

  2. In the left-side navigation pane, click Elasticsearch Clusters.

  3. In the top menu bar, select a resource group and a region.

  4. In the cluster list, find the cluster you want to release. In the Actions column, click 更多 > Release Cluster.

    Important
    • If the cluster status is Initializing, the Release Cluster option is unavailable. Wait for the current change to complete before you try again.

    • This feature is available only for pay-as-you-go and expired Subscription clusters. For active Subscription clusters, you can request a self-service refund. In the Actions column for the cluster, click More > Unsubscribe Instance. Alternatively, go to the Alibaba Cloud console, choose Fees > Orders, and navigate to the Unsubscribe page. For more information, see Unsubscription and refunds. To request a refund and release for an active Subscription cluster, you can also contact technical support.

  5. In the dialog box that appears, decide whether to select the Immediately Delete checkbox, and then click OK. You must complete a security verification such as MFA or facial recognition to complete the release.

    • If you do not select Immediately Delete:

      The cluster is released after a 24-hour grace period. After this period, all data is permanently deleted and cannot be recovered. The cluster remains visible in the cluster list during the grace period.

      During the grace period, you can choose to restore the cluster or clear it immediately:

      • Choose 更多 > Resume Cluster. After you confirm, the cluster service is restored, and billing resumes.

      • Choose 更多 > Delete. Upon confirmation, the cluster's data is permanently deleted and cannot be recovered. The cluster is then removed from the list, and its resources are cleared after 24 hours.

    • If you select Immediately Delete:

      Upon confirmation, the cluster and its data are permanently deleted. It is removed from the cluster list, and its associated resources are cleared after 24 hours.