Updated on 2026-08-04 GMT+08:00

Connection Methods

You must buy an instance before connecting to it. For details, see Buying an Instance. DDS provides multiple connection methods. You can connect to a DDS instance through a private network, public network, or Data Admin Service (DAS). For details, see Table 1.

Table 1 Connection methods

Connection Method

IP Address

Scenario

Description

Using DAS

No IP address required

DAS provides GUI-based data management functions, allowing you to perform operations directly in the console. The functions, including SQL execution, advanced database management, and intelligent O&M, help you manage databases easily, securely, and intelligently.

By default, DAS connection permissions are enabled for DDS instances.

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

Through a private network

Private IP address

A private IP address is provided by default.

If your applications are running on an ECS in the same region and VPC as your DDS instance, connect to the DDS instance through the private IP address.

  • Secure and high-performance
  • For faster transmission and enhanced security, you are advised to migrate your applications to an ECS in the same VPC subnet as your DDS instance and connect to the instance through a private network.

Through a public network

EIP

  • If your application is running on an ECS that is in a different region from the one where your DB instance is located, connect to the instance using an EIP.
  • If you use a third-party device or your local device to connect to a DDS instance, connect to the DB instance using an EIP.
  • Less secure
  • For faster transmission and enhanced security, you are advised to migrate your applications to an ECS in the same VPC subnet as your DDS instance and connect to the instance through a private network.
  • An EIP must be purchased. For details, see EIP Pricing Details.
  • If you need to connect to the instance through a public gateway, a public NAT gateway must be purchased. For details, see NAT Gateway Pricing Details.