Connection Methods

HUAWEI CLOUD DDS can be accessed using Data Admin Service (DAS), private networks, and public networks.

By default, you have the permission required for remote login. It is recommended that you use the DAS service to connect to DB instances. DAS is secure and convenient. For details, see Step 2: Connect to a Cluster Instance Through DAS.

Table 1 Connection methods

Method

IP Address

Scenario

Description

DAS

Not required

DAS provides a GUI and allows you to perform visualized operations on the console. SQL execution, advanced database management, and intelligent O&M are all available to make database management simple, secure, and intelligent.

  • Easy to use, secure, advanced, and intelligent
  • Recommended

Private network

Private IP address

DDS provides a private IP address by default.

  • If your applications are running on an ECS that is in the same region, AZ, and VPC subnet as your DDS DB instance, you are advised to use a private IP address to connect the ECS to your DDS DB instances.
  • By default, DDS is not accessible from ECSs that are not in the same security group. If the ECS is not in the same group, you need to add an inbound rule to enable access.
  • The default DDS port is 8635, but this port can be modified if necessary.

Secure and excellent performance

Public network

EIP

  • If your applications are running on an ECS that is in a different region from the one where the DB instance is located, you are advised to use an EIP to connect the ECS to your DDS DB instances.
  • If your applications are deployed on another cloud platform, EIP is recommended.
  • Low security
  • For faster transmission and improved security, you are advised to migrate your applications to an ECS that is in the same subnet as your DDS instance and use a private IP address to access the instance.