ApsaraDB for HBase Performance-enhanced Edition allows you to connect to the database service by Java, C++, Python, or Go APIs. To connect to a cluster, you need the information such as the endpoint, username, and password, which can be obtained in the console.
You can connect to ApsaraDB for HBase Performance-enhanced Edition over the Virtual Private Cloud (VPC) network and the public network. To connect the database over these two networks, you must use different endpoints, different methods (Java, C ++, Python, or Go APIs), and different ports. You can retrieve the endpoints and ports on the Database Connection page in the console.
ApsaraDB for HBase Performance-enhanced Edition cluster provides two types of endpoints. The endpoints include the same address but different ports.
The endpoint used by Java API
Different from ApsaraDB for HBase Standard Edition that provides the Zookeeper, ApsaraDB for HBase Performance-enhanced Edition uses a domain name as the unified endpoint. The endpoint is mapped on a group of high availability servers, which can establish the connection between HBase clients and the RegionServer for high-performance access. For more information, see Install the SDK for Java and Use the Java API to access ApsaraDB for HBase.
The endpoint used by APIs for multiple languages (C++/Python/Go)
ApsaraDB for HBase Performance-enhanced Edition allows you connect to the database by using Thrift that supports multiple languages, such as C ++, Python, and Go. For more information, see APIs for multiple languages.
Connect to a cluster over a public network
These connection methods allow you to connect to the cluster over a public network. Click Apply for Public Endpoint and the public endpoint will appear in the address bar. You must replace the address with the public endpoint in the application. To stop the connection over a public network, click Release Public Endpoint.
Note 1: The connection over a public network is only used for development, debugging, or testing, but not for production. If you connect to a cluster over a public network, Alibaba Cloud cannot promise to follow the Service Level Agreement. Service Level Agreement (SLA). Due to the bandwidth limit and network latency of the public network, the service performance may be downgraded. Note 2: Do not use a public network domain name in a VPC network. Otherwise, you will connect to the cluster over the public network. In this case, service performance is downgraded.
To ensure the security, you must add the endpoint that is used to connect to the database to the whitelist, whether you connect to the cluster over the public network or the VPC network. For more information, see Configure a whitelist.
Username and password
ApsaraDB for HBase Performance-enhanced Edition provides the security features such as the built-in user authentication and Access Control List (ACL) features. For more information, see Users and ACL management. After you create an instance, a super account is created, which has all the permissions of the cluster. By default, both the username and the password are set to root. You can use this account to connect to the cluster. You can also create an account, delete an account, or modify the password of the root account on the Access Control page. If you do not need to provide the username and password when you connect to the cluster, disable the ACL feature on the Access Control page.