I am trying to configure the network setting for Azure SQL server. I have got three services interacting with SQL. They are VM, Azure Data Factory and Web Service. Below are their details.
- VM --> It's under Solution VNet
- Azure Data Factory --> Configured with Managed Vnet
- Web App --> Under its own VNet called Web Vnet. This is not peered with solution VNet.
VM will access SQL using Service Endpoint. ADF will access SQL using Private Endpoint as it uses its own managed VNet. Finally, the Web App will access SQL using its public IP whitelisted at the Server's network setting. The following picture explains the setup.
Below are my questions?
- Does this setup work when both private and service endpoints are enabled to access SQL service at the same time?
- If I try to create a Private Endpoint for VM's VNet to SQL, does public IP firewall at SQL still work for Web App?
- When I create a Private Endpoint for VM's VNet to SQL, do I need to add any NSG rules for other subnet resources?
Note: I still keep "Deny public network access: No".
