Connecting to a PostgreSQL cloud SQL instance
Connect to a PostgreSQL Cloud SQL instance step-by-step. Configure IP, networking, and credentials to link your database for seamless analytics.
Last updated
Was this helpful?
Connect to a PostgreSQL Cloud SQL instance step-by-step. Configure IP, networking, and credentials to link your database for seamless analytics.
Ensure that you have an existing GCP Cloud PostgreSQL instance.
Go to this link where the list of instances will be displayed.
Select the required instance from the existing list.
If you do not have an existing instance, click on Create Instance to create one.
On the Create an instance page, choose PostgreSQL database engine from the list.

In the Primary Instance pane on the left side, select Connections and click on the Networking tab.
Under Instance IP assignment, click on the Public IP checkbox.

Click on Add a network under the Authorized networks section. New network section will open.

Provide a Name and IP address in the respective fields. Click on Done and click on Save.
Please note that the IP address in CIDR notation will be provided by the Tellius team.
Under the Security tab, ensure that the checkbox Allow only SSL connections is left unchecked.

If Only secured connections are allowed to connect to this instance is displayed, click on Allow unsecured connections. If Unsecured connections are allowed to connect to this instance is displayed, you do not need to change anything.
From the GCP console, please note the following details, as they will be required when setting up the connection on the Tellius platform:
Under the Summary tab, copy the Public IP address.

In the Primary Instance pane, select Databases. From the list of databases, copy the name of the required database.
In the Primary Instance pane, select Users. From the list of users, copy the name of the required user.
In the Tellius platform, navigate to Data → Connect → Create New → PostgreSQL.

Paste the IP address in the Hostname field.
Provide the default port number 5432 in the Port field.
Paste the copied database name in the Database field.
Paste the copied user name in the User field.
Provide the required password in the Password field.
Click on Save and Browse Host (or Browse Host if you are using an already established connection). The list of tables from the data source will be displayed on the right side.

Last updated
Was this helpful?
Was this helpful?