This topic describes how to add Elasticsearch Head to Google Chrome. With Elasticsearch Head, you can use the public network address of an Alibaba Cloud Elasticsearch instance to access the instance and perform operations.

Prerequisites

Before you add Elasticsearch Head to Google Chrome, make sure that you can access the domain chrome.google.com.

Background information

Note
  • Elasticsearch Head is a third-party extension.
  • In a public network, you cannot use the internal network address and port of an Alibaba Cloud Elasticsearch instance to access the instance with Elasticsearch Head.

Procedure

  1. Enter the Elasticsearch Head link https://chrome.google.com/webstore/detail/elasticsearch-head/ffmkiejjmecolpfloofpjologoblkegm into the address bar of Google Chrome, and then click Add to Chrome.

  2. Click Add extension in the dialog box.

    The system then downloads and installs Elasticsearch Head. After the installation is complete, the system prompts a message indicating that Elasticsearch Head has been installed.

  3. Log on to the Alibaba Cloud Elasticsearch console, enable public address for your Elasticsearch instance, and add the public network IP address of your host to public IP addresses with whitelist.

    Note
    • You can enter IP into the search bar on the Google homepage, and then click the What Is My IP Address link to view the public network IP address of your host.
    • By default, the public network access function forbids all IPv4 addresses.
  4. Click the Elasticsearch Head icon on the right side of the Google Chrome address bar to open the Elasticsearch cluster connection page.

  5. Enter http://Elasticsearch Instance Public Network Address:Port Number/ into the address bar, and then click Connect.

    You can log on to the Elasticsearch console and view the public network address and port number of the Elasticsearch instance on the basic information page. The default port number is 9200. The following is a sample connection address:
    http://es-cn-45xxxxxxxxx01xw6w.public.elasticsearch.aliyuncs.com:9200/
  6. In the Sign in dialog box, enter the username and password that are used to log on to the Kibana console of the Elasticsearch instance, and then click Log on.

    Note The Alibaba Cloud Elasticsearch with Commercial Feature is integrated with X-Pack for security purposes. Therefore, you must enter the username and password for authentication before you can log on to the instance. If the Sign in dialog box is not displayed, verify that the public network whitelist of Alibaba Cloud Elasticsearch contains the public network IP address of your host, or clear the cache of your Web browser and then try again.
  7. After you log on to the Elasticsearch instance, you can then perform other operations.