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.
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:
-
Log on to the Alibaba Cloud Elasticsearch console. In the left-side navigation pane, click Elasticsearch Clusters.
-
Select the resource group and region where your target cluster is located, and then click the cluster ID.
-
On the Basic Information page, in the Running Status section, find Maintenance Window and click Configure next to it.
-
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
-
-
(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
-
Log on to the Alibaba Cloud Elasticsearch console.
-
In the left-side navigation pane, click Elasticsearch Clusters.
-
In the top menu bar, select a resource group and a region.
-
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 . 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.
-
-
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.
-
> Edit Tag
icon next to the tag you want to detach.
> Resume Cluster. After you confirm, the cluster service is restored, and billing resumes.
> 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.