Azure App Service with vnet integration

asked 2021-11-25T23:33:40.343+00:00
Michael Pine (dorsaVi AU) 1 Reputation point

Just reaching out for some help, I currently have an App Service which has been previously built in such a way that the API has the ability to switch backend data sources based on a region header we specify e.g AU or US, depending on that header it will attempt to access a storage account in the US or in AU and this is all working fine. What I am trying to do now is integrate the App Service with a vnet so I can keep the storage accounts private and only accessible through the App service, the issue I'm facing and this is probably down to my knowledge and under standing is is that possible to do ? I'm finding at the moment I can only configure 1 vnet so, it's one or the other working, so my question is this possible to do through vnet integration ?

Do I need to configure vnet peering is it ? So that the vnet the app service is integrated with is peered to the other vnet.

So for example so I have the App service integrated with the vnet in the AU and then I have configured the storage account and it all works ok, do I need peer this vnet with the US vnet is that how it works ?

thanks
Michael

Azure Web Apps
Azure Web Apps
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,294 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. answered 2021-11-26T09:53:50.337+00:00
    Alan Kinane 16,501 Reputation points Microsoft MVP

    Yes, if you peer your VNETs then the web app can access resources peered to its integrated VNET including private endpoints connected to those VNETs.

    https://learn.microsoft.com/en-us/azure/app-service/overview-vnet-integration#regional-virtual-network-integration

    152864-capture.png