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>
3.7 KiB
3.7 KiB
Overview
This section describes how to create a GaussDB(openGauss) DB instance on the management console and connect to the DB instance through an ECS.
If you are using GaussDB(openGauss) for the first time, see the constraints described in Constraints.
Process
Figure 1 illustrates the process of connecting to a GaussDB(openGauss) DB instance over a private network.
- Step 1: Create a DB instance. Confirm the specifications, storage, network, and database account configurations of the GaussDB(openGauss) DB instance based on service requirements.
- Step 2: Configure security group rules.
- If the ECS and DB instance are in the same security group, they can communicate with each other by default. No security group rule needs to be configured. Go to Step 3: Connect to a DB Instance Through gsql.
- If the ECS and DB instance are in different security groups, you need to configure security group rules for them, separately.
- DB instance: Configure an inbound rule for the security group with which the DB instance is associated.
- ECS: The default security group rule allows all outbound data packets. In this case, you do not need to configure a security rule for the ECS. When not all outbound traffic is allowed in the security group, you need to configure an outbound rule for the ECS to allow all outbound packets.
- Step 3: Connect to a DB instance through gsql. Connect to a GaussDB(openGauss) DB instance using the command-line tool gsql.
Parent topic: Connecting to a DB Instance Over a Private Network