forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com> Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
4.2 KiB
4.2 KiB
Connecting to a DB Instance
You can connect a DB instance over a private or a public network.
Connect Through |
Connection Address |
Scenarios |
Description |
---|---|---|---|
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. |
|
Parent topic: Getting Started with GaussDB(for MySQL)