This topic describes how to reset the password of the elastic account that is used to access your Elasticsearch cluster. After you reset the password, if you use the elastic account to log on to your Elasticsearch cluster and the Kibana console of the cluster, you must use the new password of the account.
Prerequisites
An Alibaba Cloud Elasticsearch cluster is created. For more information, see Create an Alibaba Cloud Elasticsearch cluster.
Precautions
If you reset the password of the elastic account for an Elasticsearch cluster, only access to the cluster by using the elastic account is affected. Access to the Elasticsearch cluster by using other accounts is not affected. We recommend that you use a custom account to access your Elasticsearch cluster. The custom account must be assigned a role with the required permissions. For more information, see Use the RBAC mechanism provided by Elasticsearch X-Pack to implement access control.
After you reset the password of the elastic account for an Elasticsearch cluster, the system does not automatically restart the Elasticsearch cluster for the new password to take effect.
Procedure
- Log on to the Alibaba Cloud Elasticsearch console.
- In the left-side navigation pane, click Elasticsearch Clusters.
- Navigate to the desired cluster.
- In the top navigation bar, select the resource group to which the cluster belongs and the region where the cluster resides.
- On the Elasticsearch Clusters page, find the cluster and click its ID.
In the left-side navigation pane of the page that appears, click Security.
In the Access Settings section of the page that appears, click Reset Password on the right side of Elasticsearch Cluster Password.
In the Reset Password pane, enter the new password for the elastic account and confirm the password.
Click OK.
After you reset the password, the new password takes effect in about five minutes.