How to connect Azure Web App to Google Cloud SQL

266 views
Skip to first unread message

kats mike

unread,
Mar 26, 2020, 11:26:00 AM3/26/20
to Google Cloud SQL discuss
Due to what is happening to the world right now, azure seems to be out of capacity, so no new sql databases can be made. 
Does anyone have experience or knowledge on how to connect the an Azure App Service App to a Google SQLServer Database?

Thank you in advance!

chen levi

unread,
Mar 26, 2020, 3:59:40 PM3/26/20
to Google Cloud SQL discuss
not  familiar with app service  on  azure  but connecting  to  Cloud SQL on GCP can be done outside  of GCP using IP whitelisting.
so  if your  app have a static ip you can  defined that on the whitelisted IP and connect as usual.

Mohammad I (Cloud Platform Support)

unread,
Mar 27, 2020, 12:15:30 AM3/27/20
to Google Cloud SQL discuss

Hello Kats, 


It is possible to connect to Cloud SQL instances from external applications which includes Microsoft Azure as described in this document


This is possible to connect to the Cloud SQL instances from external applications by using a proxy, by configuring access for one or more public IP addresses, by using the JDBC Socket Factory which is applicable to Java Programming language and MySQL Second Generation instances only and by using the Cloud SQL Proxy library which is applicable for the Go programming language and Second Generation instances only. 


Please also note that if you have not created a Cloud SQL instance already you may encounter issues during creation as there is a Global issue currently ongoing which you can monitor here. Once the issue is resolved you can attempt to create the Cloud SQL instance and connect with the Microsoft Azure App Service application. 


Reply all
Reply to author
Forward
0 new messages