Updated on 2026-01-30 GMT+08:00

Connection Methods

You can access DDS over private or public networks.

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 available to make database management simple, secure, and intelligent.

By default, the permission to connect to DAS is enabled.

  • 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 in the same region and VPC as your DDS instance, you are advised to use a private IP address to connect the ECS to your DDS instances.

  • Secure and high-performance
  • 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.

Public network

EIP

  • If your applications are running on an ECS that is in a different region from the one where your DB instance is located, use the EIP of a public gateway to connect the ECS to your DB instance.
  • If you use a third-party device or your local device to connect to a DDS instance, use the EIP of a public gateway to connect to the DB instance.
  • Less secure
  • 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.
  • You need to purchase an EIP to connect to a DB instance over a public network. For details, see EIP Pricing Details.
  • You need to purchase a public NAT gateway to connect to a DB instance over a public network. For details, see NAT Gateway Pricing Details.