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.0 KiB
3.0 KiB
Overview
This section describes how to create a GaussDB(openGauss) DB instance on the management console and bind an EIP to the DB instance to make the instance accessible via the Internet.
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 DB instance over a public 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: Bind an EIP. The Elastic IP service provides independent public IP addresses and bandwidth for Internet access. You can apply for an EIP on the VPC console and bind the EIP to the GaussDB(openGauss) DB instance.
- Step 3: Configure security group rules. To access a GaussDB(openGauss) DB instance from resources outside the security group, you need to configure an inbound rule for the security group associated with the DB instance.
- Step 4: 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 Public Network