Tuesday, June 25, 2019

[google-cloud-sql-discuss] Re: Unable to connect App Engine Standard version to Cloud SQL Private IP.

The Serverless VPC Connector is Beta, and I believe it works with App Engine Standard. More info on how it works here

On Tuesday, June 25, 2019 at 5:42:01 AM UTC-7, Sam (Google Cloud Support) wrote:
Hi Rahul, you might want to opt for App Engine Flex instead as presently App Engine Standard doesn't support Private IP connection for reasons that pertain to a "sandboxed execution environment". As stated in our official documentation [1]: "you cannot use private IP to connect from standard environment."

In the standard environment the underlying compute, storage or network resources are not surfaced to the user as these are managed by GCP for a wide variety of customers, so this sandbox restricts what your application can do. For example, your application cannot write to disk or use non-whitelisted binary libraries. To allow access to other GCP resources your application typically accesses services like Cloud SQL via the built-in google.appengine APIs [2]. 

That being said, there are other execution environments that are more flexible. Read more about the differences and limitations between each execution environments here [3].

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/62509e12-3c2f-4014-a564-bf2eb9d4ee9e%40googlegroups.com.

No comments:

Post a Comment