How to allow Google cloudsql only from selected IP address
To restrict access to a Google Cloud SQL instance so that it is only accessible from selected IP addresses, you can use the Cloud SQL instance’s authorized networks feature. This allows you to specify one or more IP address ranges that are allowed to connect to your database instance. Here’s how you can set this up: Using Google Cloud Console: Using gcloud Command Line: If you prefer using the command line, you can update the authorized networks for your Cloud
Read more