Elasticsearch Cluster Access Methods
There are many ways to connect to an Elasticsearch cluster. Select the most appropriate access method based on the programming language you prefer. The various access methods support different types of network configurations. The cluster access addresses vary depending on the network configuration you choose. Select an appropriate network configuration method based on your network environment.
Access Methods
Access Method |
Scenario |
Details |
---|---|---|
Kibana (recommended) |
Language-irrelevant |
|
Cerebro |
||
Open-source Elasticsearch API |
Run Curl commands to access and manage Elasticsearch clusters. |
|
Java |
Use Java to access and manage Elasticsearch clusters. To avoid compatibility issues, use the Java client that matches your Elasticsearch cluster version. |
Accessing an Elasticsearch Cluster Through the Rest High Level Client Accessing an Elasticsearch Cluster Through the Rest Low Level Client Accessing an Elasticsearch Cluster Through the Transport Client |
Python |
Use Python to access and manage Elasticsearch clusters. |
|
MRS Hive |
Use the Elasticsearch-Hadoop (ES-Hadoop) connector of MRS to access and manage Elasticsearch clusters using Hive. |
Accessing an Elasticsearch Cluster Through the MRS Hive Client |
Go |
Use Go to access and manage Elasticsearch clusters. |
|
LDAP Authentication |
Enable Lightweight Directory Access Protocol (LDAP) authentication for an Elasticsearch cluster. |
Network Configuration
Configure the network of the Elasticsearch cluster, and ensure that you have a server that can connect to the cluster's network. Obtain the cluster access address. With the exception of Kibana and Cerebro, which support one-click cluster access so there is no need to provide the cluster address, the cluster address needs to be provided for all other access methods.
Network Environment |
Access Method |
Scenario |
Details |
---|---|---|---|
Private network |
Private IP address |
Obtain the IP address of each node from the cluster information page, and access the cluster by connecting to one of these IP addresses directly. How to obtain:
|
This is the default method. |
Private network |
IP address or private domain name of the VPC endpoint |
Configure a VPC endpoint to access the cluster from a different VPC over an internal network. Do not use this method if high performance standards are used. How to obtain:
|
Configuring VPC Endpoint Service for an Elasticsearch Cluster |
Private network |
Private IP address of a dedicated load balancer |
Access the cluster through a dedicated load balancer. Use this method if high performance standards are used. How to obtain:
|
Configuring a Dedicated Load Balancer for an Elasticsearch Cluster |
Public network |
Public IP address |
Configure a whitelist to control public network access to the cluster. Use this method only for security-mode clusters that use HTTPS. How to obtain:
NOTE:
Use this method only for security-mode clusters that use HTTPS. |
Configuring Public Network Access for an Elasticsearch Cluster |
Public network |
Public IP address of a dedicated load balancer |
Access the cluster through a dedicated load balancer. Use this method if high performance standards are used.
|
Configuring a Dedicated Load Balancer for an Elasticsearch Cluster |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot