All Products
Search
Document Center

Elasticsearch:Reset the access password of an Elasticsearch cluster

最終更新日:Oct 15, 2024

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

  1. Log on to the Alibaba Cloud Elasticsearch console.
  2. In the left-side navigation pane, click Elasticsearch Clusters.
  3. Navigate to the desired cluster.
    1. In the top navigation bar, select the resource group to which the cluster belongs and the region where the cluster resides.
    2. On the Elasticsearch Clusters page, find the cluster and click its ID.
  4. In the left-side navigation pane of the page that appears, click Security.

  5. In the Access Settings section of the page that appears, click Reset Password on the right side of Elasticsearch Cluster Password.

  6. In the Reset Password pane, enter the new password for the elastic account and confirm the password.

  7. Click OK.

    After you reset the password, the new password takes effect in about five minutes.