Google Cloud SQL Proxy Service PSQL
https://cloud.google.com/sql/docs/postgres/connect-external-app
curl -sO https://raw.githubusercontent.com/tuanngo/cloudsql-proxy/master/install && bash install
As with any init.d service, you can simply use the “service” command to start, stop or restart cloud_sql_proxy:
$ service cloudsql start
$ service cloudsql stop
$ service cloudsql restart
The service will log all the output from cloud_sql_proxy to /var/log/cloudsql.log.
We’re not responsible for what this script does to your server. Use it at your own risk.