Relative Content

Tag Archive for google-cloud-sql

How to connect to a SQL instance hosted on a shared VPC subnetwork from a private network outside google cloud?

I have deployed a SQL instance on a shared VPC subnet to host a PostgreSQL database in GCP. Now I want to connect to this instance from a machine whose network is private and external to google cloud. I am using Cloud SQL Python connector to do that, but when I run the python script on the machine it gets stuck at “Requesting ephemeral certificate”. Is this the right approach to establish such a connection?