This topic describes how to reset the password for the built-in elastic user account, which is used to access your Elasticsearch cluster and its Kibana console. After resetting, you must use the new password for all elastic account logins.
Prerequisites
Usage notes
Account scope: Resetting the
elasticuser's password affects only access attempts using theelasticaccount. Access via any other user accounts (e.g., custom RAM users, Kibana users) remains unaffected.Best practice: For routine access, we strongly recommend using a custom account with the necessary permissions assigned. For details, see Use the RBAC mechanism provided by Elasticsearch X-Pack to implement access control.
No cluster restart: The Elasticsearch cluster does not automatically restart for the new password to take effect.
Propagation delay: The new password typically takes effect within approximately five minutes. Ensure all applications and services are updated with the new credentials after this period.
Procedure
Log on to the Alibaba Cloud Elasticsearch console.
In the left navigation menu, choose Elasticsearch Clusters.
Navigate to the target 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 menu, choose 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 panel, enter and confirm the new password for the
elasticaccount.Click OK.