OpenSearch Cluster Access Methods
There are many ways to connect to an OpenSearch 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 |
---|---|---|
OpenSearch Dashboards (recommended) |
These methods are language-irrelevant. |
Logging In to an OpenSearch Cluster Through OpenSearch Dashboards |
Cerebro |
||
Open-source OpenSearch API |
Run Curl commands to access and manage OpenSearch clusters. |
|
Java |
Use Java to access and manage OpenSearch clusters. To avoid compatibility issues, use the Java client that matches the software version of your OpenSearch cluster. |
Accessing an OpenSearch Cluster Using the High Level REST Client Accessing an OpenSearch Cluster Using the Low Level REST Client |
Python |
Use Python to access and manage OpenSearch clusters. |
|
LDAP Authentication |
Enable Lightweight Directory Access Protocol (LDAP) authentication for an OpenSearch cluster. |
Network Configuration
Configure the network of the OpenSearch 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 the 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 OpenSearch 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:
|
|
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 OpenSearch 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