I am having some issues getting my node application to connect to google cloud sql postgres from an hosted application. I have the node module working successfully in local. I am successfully able to deploy the node application as a hosted target using apigeetool but for some reason my connection to the database is not resolved using the instance connection name in my env variable.
As part of the node app the cloud_sql_proxy needs to be started in the docker image that runs the node application in the app engine. Looks like this command fails when the application is deployed. I am able to connect to the database using the public ip but would like to know if the instance connection using the clould_sql_proxy would be made available in the docker image of the hosted app.
I followed the following documentation for Cloudsql Postgres connectivity using node.js https://cloud.google.com/appengine/docs/standard/nodejs/using-cloud-sql-postgres