I have the following setup:
|--------------------- Internet -------------------------|
WebApp <---- non-vNet traffic ----> Azure SQL Db
WebApp
andAzure SQL Db
are in the same data centre.- There is currently no vNet.
- There's a lot of unavoidable "chatter" going back and forth between
Azure SQL Db
andWebApp
- The connection string in
WebApp
is a DNS name forAzure SQL Db
(e.g.mydatabase.database.windows.net
), so it's resolving to an external IP. - I'm trying to squeeze as much performance out of my app as possible by reducing any network overhead incurred with the "chatter".
- I can't seem to find any docs specifically talking about network performance inside vs outside a vNet on Azure.
1. Is it possible to place a Web App and an Azure SQL Db inside a vNet and if so what caveats are there to this?
2. Will I get better network performance by doing this?
|----------------------- vNet -----------------------------|
WebApp <---- vNet traffic ----> Azure SQL Server