This topic describes how to add ElasticSearch Head to Google Chrome. This allows you to access and perform operations on an Elasticsearch cluster by using the public endpoint of the cluster.

Prerequisites

You can visit chrome.google.com.

Background information

  • ElasticSearch Head is a third-party service or extension.
  • If you use ElasticSearch Head to access an Elasticsearch cluster over the Internet, you can access the cluster only by using its public endpoint and port.

Procedure

  1. Open Google Chrome and visit ElasticSearch Head https://chrome.google.com/webstore/detail/elasticsearch-head/ffmkiejjmecolpfloofpjologoblkegm. On the extension page, click Add to Chrome.
    Add ElasticSearch Head to Google Chrome
  2. In the message that appears, click Add extension.
    Add an extension
    The extension is downloaded and automatically installed on Google Chrome. You are notified that ElasticSearch Head is installed when the installation is complete.
  3. Log on to the Alibaba Cloud Elasticsearch console. In the left-side navigation pane, click Elasticsearch Clusters. On the Clusters page, find the target cluster and click its ID. In the left-side navigation pane of the cluster details page, click Security. On the Security page, enable Public Network Access and add the public IP address of your host on which ElasticSearch Head is installed to the public network whitelist.

    For more information, see Configure a whitelist to access an Elasticsearch cluster over the Internet or a VPC.

    Public network address whitelist
    Note
    • To query the public IP address of your host, visit https://www.whatismyip.com/.
    • If you enable Public Network Access, requests from all IPv4 addresses are disabled by default. You can add your host IP address to the public network whitelist. After the IP address is added to the whitelist, the host can be used to access Elasticsearch.
  4. Click the ElasticSearch Head icon on the right side of the Google Chrome address bar to open the Elasticsearch cluster connection page.
    Elasticsearch cluster connection page
  5. Enter http://<Public network address of an Elasticsearch cluster>:<Port>/ in the address bar and click Connect.
    Connect to the Elasticsearch cluster
    You can obtain the public endpoint and port of the cluster on the Basic Information page. The default port is 9200. For example, enter the following URL in the address bar:
    http://es-cn-45xxxxxxxxx01xw6w.public.elasticsearch.aliyuncs.com:9200/
  6. In the Sign in dialog box, enter the username and password that you use to log on to the Kibana console of the Elasticsearch cluster into the Username and Password fields. Then, click Sign in.
    Sign in
    Note Elasticsearch Standard Edition integrates X-Pack for security purposes. Therefore, you must enter the username and password for authentication to access an Elasticsearch cluster of the Standard Edition. If the Sign in dialog box does not appear, verify that the public network whitelist of the cluster contains the public IP address of your host, or clear your browser cache and try again.

What to do next

After you connect to the Elasticsearch cluster, perform other required operations.Cluster successfully logged on