top | item 10717025

(no title)

simonmorley | 10 years ago

And still no private IPs?

discuss

order

Lewisham|10 years ago

Hey, I'm a software engineer on Cloud SQL.

We hear you. We know this is a problem. Unfortunately, there are non-trivial infrastructure changes that need to happen before we can make progress, but it's high on our list of priorities. Once we can make it happen, we will.

Right now, the proxy linked below is a good solution, particularity for Managed VMs.

coleca|10 years ago

It's also a shame you can't use their own firewall rules with CloudSQL, or even specify instance tags to allow traffic inbound to CloudSQL. You have to specify IP ranges (CIDR) for each of your hosts. Makes it near impossible to allow an auto-scaling group to access CloudSQL since you have no control over the public IP that will be assigned to a new host being spun up in the ASG.

Beldur|10 years ago

It seems they approached the problem with a new solution: https://cloud.google.com/sql/docs/sql-proxy

,,The Cloud SQL Proxy provides secure access to your Cloud SQL Second Generation instances. ... It is especially useful when connecting from clients with dynamic IP address, such as Managed VM and Google Container Engine applications."