Help Center/
Relational Database Service/
User Guide (Ankara Region)/
Getting Started with RDS for PostgreSQL/
Step 2: Connect to a DB Instance/
Connecting to a DB Instance Through a Public Network/
Connecting to a DB Instance Through a Public Network
Updated on 2024-04-13 GMT+08:00
Connecting to a DB Instance Through a Public Network
Process
Figure 1 illustrates the process of connecting to an RDS for PostgreSQL DB instance through a public network.
- Step 1: Create a DB instance. Confirm the specifications, storage, network, and database account configurations of the RDS for PostgreSQL DB instances based on service requirements.
- Step 2: Bind an EIP. The EIP 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 RDS DB instance.
- Step 3: Configure security group rules. To enable access to a 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 psql. The CLI tool psql is used as an example to describe the connection method.
Parent topic: Connecting to a DB Instance Through a Public Network
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot