March 2019
Beginner to intermediate
778 pages
34h 20m
English
Cloud SQL supports a special host for use when connecting via the Cloud SQL Proxy: cloudsqlproxy~[IP_ADDRESS]. This makes it possible to restrict user access to only a client connecting via the Proxy from a specific IP address. For example, if a service running at 10.234.01.34 needs to connect to an instance as the user builder, the user can be defined as builder@cloudsqlproxy~10.234.01.34. If the client's IP address is unknown or may change, the wildcard '%' may be used in place of the IP address. This creates an additional layer of security, as simply having the username and password for a database will not grant someone access.
Read now
Unlock full access