It is actually much easier to connect to your Cloud SQL 
<https://cloud.google.com/appengine/docs/flexible/dotnet/using-cloud-sql> 
instance from App Engine. Instead of using a proxy to connect, you can 
directly connect from your App Engine app securely with SSL using the IP, 
username, and password of your Cloud SQL instance. 

Alternatively, if you want to install the Cloud SQL proxy on all of your 
App Engine instances (*Not recommended* as App Engine is meant for fast 
scalable apps), you would need to build your own App Engine Flexible 
environment runtime 
<https://cloud.google.com/appengine/docs/flexible/custom-runtimes/build>. 
In this custom .NET runtime you would need to install the Cloud SQL proxy 
into a container, by adding in the '*gcr.io/cloudsql-docker/gce-proxy'* image 
to your Dockerfile as shown in the Kubernetes example 
<https://github.com/GoogleCloudPlatform/cloudsql-proxy#to-use-from-kubernetes>
. 

-- 
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 post to this group, send email to [email protected].
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/e882b61d-89a8-4349-96ca-835f77011a02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine]... George West
    • [google-appen... 'Jordan (Cloud Platform Support)' via Google App Engine
      • [google-a... George West
        • [goog... 'Jordan (Cloud Platform Support)' via Google App Engine
          • [... George West
            • ... 'Jordan (Cloud Platform Support)' via Google App Engine
              • ... Adriaan Stander

Reply via email to