Overview
Before connecting to a DB instance, you must create one first. For details about how to create a DB instance, see Buying a TaurusDB for PostgreSQL Instance. You can connect to a TaurusDB for PostgreSQL instance through a command-line interface (CLI) or graphical user interface (GUI).
Connecting to a DB Instance over a Private Network Using CLI
Table 1 lists how to use CLI to connect to a TaurusDB for PostgreSQL instance over a private network.
|
Connection Method |
IP Address |
Security Group Rule |
Description |
|---|---|---|---|
|
Private IP address |
|
|
Connection Methods
|
Connection Method |
Description |
|---|---|
|
Connecting to a TaurusDB for PostgreSQL Instance Through the psql CLI Client |
In Linux, you need to install a PostgreSQL client on the ECS and connect to the instance through the psql CLI. A private IP address is provided by default. When your applications are deployed on an ECS that is in the same region and VPC as the TaurusDB for PostgreSQL instance, you are advised to use a private IP address to connect to the instance through the ECS. |
|
In Windows, you can use the pgAdmin, sqlcmd, or SSMS client to connect to a TaurusDB for PostgreSQL instance. |
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot