by optimusclimb · 8y ago · 0 comments
Now that it's GA...it looks like that hasn't changed. Is the classic, Python, App Engine standard becoming a second class citizen? Or was there some reason why this wasn't considered GA worthy for Postgres?
Trying to understand if going forward Google is trying to push everyone to the flexible environment or not - as I would have really expected connectivity between these two products.
You can connect to postgres from app engine standard... as long as its Java. See this doc https://cloud.google.com/appengine/docs/standard/java/cloud-...
And no, appengine standard is not a second class citizen. Hand-wave-ily, the connectivity path that flex uses works for postgres with minimal changes, but unfortunately some additional work is required to get appengine standard for other languages working for postgres. :(
This seems like a major omission, and AWS has had this for ages.
https://cloud.google.com/sql/docs/postgres/connect-external-...
> You can grant any application access to a Cloud SQL instance by authorizing the IP addresses that the application uses to connect.
> You can not specify a private network (for example, 10.x.x.x) as an authorized network.
> PostgreSQL instances support only IPv4 addresses. They are automatically configured with a static IP address.
I believe the same issue would apply to VM instances that are not pets, (in auto-scaling groups for example), since I'm not aware of being able to auto-assign static IPs there either.