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 High Level REST Client Accessing an Elasticsearch Cluster Through the Low Level REST 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 based on the selected network. Use this address to access the cluster.
Network Environment |
Access Method |
Scenario |
Details |
---|---|---|---|
Private network |
Private IP address |
Obtain the private IP address of each node in the cluster and access the cluster by connecting to one of these IP addresses. How to obtain:
|
This is the default method. |
Private network |
IP address or private domain name of a VPC endpoint |
Configure a VPC endpoint for the cluster, enabling cross-VPC access over the internal network. The cluster can be accessed via the VPC endpoint IP address or a private domain name. How to obtain:
|
|
Private network |
Private IP address of a dedicated load balancer |
Associate a dedicated load balancer with the cluster to enable access through the private IP address of this dedicated load balancer. How to obtain:
|
Configuring a Dedicated Load Balancer for an Elasticsearch Cluster |
Public network |
Public IP address |
Enable public network access for a security-mode cluster that uses HTTPS, and configure a whitelist for access control. The cluster can be accessed from the public network via its public IP address. How to obtain:
|
Configuring Public Network Access for an Elasticsearch Cluster |
Public network |
Public IP address of a dedicated load balancer |
Associate with the cluster a dedicated load balancer configured with an EIP to enable access through the public IP address of this dedicated load balancer. How to obtain:
|
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