Connecting to a DB Instance
You can connect a DB instance over a private network, over a public network, or through the Data Admin Service (DAS) service.
|
Connect Through |
Connection Address |
Scenarios |
Description |
|---|---|---|---|
|
DAS |
Not required |
DAS enables you to manage databases on a web-based console and supports SQL execution, advanced database management, and intelligent O&M, simplifying database management and improving efficiency and data security. The permissions required for connecting a DB instance through DAS are enabled by default. |
|
|
Private network |
Private IP address |
The system provides a private IP address by default. When your applications are deployed on an ECS that is in the same region and VPC as the GaussDB(for MySQL) DB instance, you are advised to connect to the DB instance through the ECS over a private IP address. |
|
|
Public network |
EIP |
If you cannot access the GaussDB(for MySQL) DB instance over a private IP address, bind an EIP to the DB instance and connect it to an ECS (or a public network host) over the EIP. |
|
- VPC: indicates the Virtual Private Cloud.
- ECS: indicates the Elastic Cloud Server.
- You can log in to a DB instance using the DAS service or other database clients.
- If the ECS is in the same VPC as the GaussDB(for MySQL) DB instance, you do not need to apply for an EIP.
Next Article: Connecting to a DB Instance Through DAS
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.