Hello, 

Thank you for using Google Groups!

My understanding of the issue is that, you have a a Cloud SQL instance and 
a App Engine app living within the same project. The issue started when you 
removed public IP access to your Cloud SQL instance. This action hindered 
your app's ability to connect to the Cloud SQL instance. The only way you 
can now connect is by providing the App Engine IP to Cloud SQL instance via 
the connections tab within the SQL section of the console. 

For the purpose of clarity, would you be able to confirm your App Engine 
environment? My investigation into private IP's for Cloud SQL indicates 
that "you cannot use private IP to connect from standard environment" and 
that you would have to use the flexible environment. Further details of 
this can be found here 
<https://cloud.google.com/sql/docs/mysql/private-ip#application_environment_requirements>
. 

Also, if you are using the flexible environment, I believe it would be 
worthwhile to checkout the following documentation here 
<https://cloud.google.com/sql/docs/mysql/configure-private-ip> that 
describes how to configure a Cloud SQL instance to use private IP. The 
documentation highlights requirements needed to be fulfilled on a Cloud SQL 
instance before using a private IP. You may see if your set-up reflects 
these requirements.

I hope this helps!


ould be useful, 

 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/be232cfc-b54b-4267-ab1e-13774fb64bb4%40googlegroups.com.

Reply via email to