Hi

I need more info about when MySQL and the App are running under the same 
project

Can I simply make a direct call to MySQL from the App engine without proxy, 
or white-listed IPs, or SSL
Just an internal ip address and user name and password?


On Friday, 24 March 2017 11:44:26 UTC-4, Jordan (Cloud Platform Support) 
wrote:
>
> As noted in the documentation 
> <https://cloud.google.com/sql/docs/mysql/configure-ssl-instance>, 
> connections that are made using the Cloud SQL Proxy or from App Engine are 
> already encrypted by default whether you configure SSL for the instance or 
> not. So you do not require an SSL cert in these cases. 
>
> If your Cloud SQL instance is in the same project as the App Engine app 
> that is making the connection, your App Engine application is already 
> authorized to access the SQL instance. Therefore you do not need to 
> authorize any additional networks or IPs. If you are connecting to a Cloud 
> SQL instance located in a different project, you will need to authorize 
> the App Engine app 
> <https://cloud.google.com/appengine/docs/flexible/nodejs/using-cloud-sql#granting_access_to_gae_name_short>
> . 
>
> Alternatively, you can force Only SSL connections to your instance 
> (regardless of IP address), by following the SSL guide 
> <https://cloud.google.com/appengine/docs/flexible/dotnet/using-cloud-sql#create_a_user_and_configure_ssl_access_to_the_cloud_sql_instance>.
>  
> Just make sure you supply the location of your SSL cert and key 
> <https://cloud.google.com/sql/docs/mysql/connect-docker#connecting_a_db_client_client_using_the_proxy_docker_image>
>  
> in your Dockerfile similar to how it is done again in Kubernetes 
> <https://github.com/GoogleCloudPlatform/cloudsql-proxy/blob/49547a70aaf92cd61374e845c2cc516c41e900f3/Kubernetes.md#creating-the-cloud-slq-proxy-deployment>
>  so 
> that the proxy starts with the SSL configuration. 
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/29a2191e-e57c-4516-b818-926dd5cd991f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to