# Services : GCloud : SQL
**Instance Name**
```
PROJECT:REGION:INSTANCE # ex: myproj-123456:us-central1:db1
```
**Domain Socket**
Use to access DB from inside a Cloud Run container.
```
/cloudsql/INSTANCE_NAME/.s.PGSQL.5432 # ex: /cloudsql/myproj-123456:us-central1:db1/.s.PGSQL.5432
```
## Cloud SQL Auth Proxy
\[ [src](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/) [QuickStart](https://cloud.google.com/sql/docs/postgres/connect-instance-auth-proxy) [About](https://cloud.google.com/sql/docs/postgres/sql-proxy) [Details](https://cloud.google.com/sql/docs/postgres/connect-auth-proxy) ]
- you run a local client
- your app talks to the Proxy as if it were the database
- uses secure tunnel to communicate with companion process on server
- each connection through the Proxy creates one connection to the database
**Requirements**
- enable Cloud SQL Admin API
- [[Auth|setup]] Google Cloud authentication credentials
```bash
$ curl -o cloud-sql-proxy https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.14.2/cloud-sql-proxy.linux.amd64
$ chmod +x cloud-sql-proxy
$ cloud-sql-proxy
...help...
$ cloud-sql-proxy -p 6432 PROJECT:REGION:INSTANCE # ex: my-proj-123456:us-central1:mydb
```
*Defaults to port 5432, which is likely already taken by your local Postgres instance.*