Connecting to a DB Instance¶
GaussDB(openGauss) DB instances can be connected over a private network, a public network, or Data Admin Service (DAS).
Connect Through | IP Address | Scenarios | Description |
---|---|---|---|
DAS | Not required | DAS enables you to manage databases on a web-based console. It supports SQL execution, advanced database management, and intelligent O&M, simplifying database management and improving both efficiency and data security. The permissions required for connecting to a GaussDB(openGauss) DB instance through DAS are enabled by default. |
|
Private network | Private IP address | A private IP address is provided by default. When your applications are deployed on an ECS that is in the same region and VPC as your GaussDB(openGauss) DB instance, you are advised to connect the ECS to the DB instance over a private IP address. |
|
Public network | EIP | If you cannot access a GaussDB(openGauss) DB instance over a private IP address, bind an EIP to the DB instance and connect it to the ECS over the EIP. |
|