I have an ASP.NET Web API deployed on an App Service Web App, and a SQL Azure instance separately. I created the two using the Web App + SQL template in Azure.
I have allowed the SQL Azure access to my own localhost's IP so I can open it in SQL Server Management Studio.
For now, I have also set a rule in the SQL Azure's firewall settings to allow all outbound IP's where my App Service has been deployed. I copied the list of outbound IP's of my App Service from the Properties blade in my App Service settings. Please see below.
But I was wondering about three things:
Will Azure ever change these IP's?
And if and when it does, I'll have to re-enter the new ones in my SQL Azure firewall settings and delete the old ones? What if I forget the old ones because there'll be no place to see the old ones from, and if I just end up deleting all the wrong IP's?
Is it even necessary to provide these IP's to the firewall? Or is just having the Allow access to Azure Services switch turned to on enough? But I believe, from reading the help tool-tip that this switch is only to allow Azure services such as the Query Editor et al to access your database.