%3CLINGO-SUB%20id%3D%22lingo-sub-1752015%22%20slang%3D%22en-US%22%3EZero%20to%20Hero%20with%20App%20Service%2C%20Part%207%3A%20Multi-tier%20web%20applications%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1752015%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20Azure%20App%20Service%20is%20offered%20as%20two%20deployment%20types%3A%20the%20multi-tenant%20service%20and%20the%20App%20Service%20Environment.%20In%20the%20multi-tenant%20service%20there%20are%20thousands%20of%20customers%20on%20the%20same%20infrastructure.%20Your%20apps%20are%20always%20secured%20but%20they%20share%20the%20network%2C%20address%20space%2C%20front%20ends%2C%20and%20some%20other%20components.%20In%20an%20App%20Service%20Environment%20you%20get%20a%20single%20tenant%20version%20of%20App%20Service%20that%20runs%20in%20your%20Azure%20Virtual%20Network.%20In%20this%20article%2C%20you%20will%20learn%20how%20to%20build%20network-secured%2C%20multi-tier%20web%20applications%20in%20the%20multi-tenant%20App%20Service.%3C%2FP%3E%0A%3CH2%20id%3D%22multi-tier-web-applications%22%20class%3D%22%22%20id%3D%22toc-hId--1240014255%22%20id%3D%22toc-hId--1240014220%22%3EMulti-tier%20web%20applications%3C%2FH2%3E%0A%3CP%3EThe%20obvious%20question%20to%20start%20with%20is%2C%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CEM%3Ewhat%20is%20a%20multi-tier%20web%20application%3C%2FEM%3E%3F%20A%20multi-tier%20web%20application%20is%20an%20application%20with%20a%20front%20end%20that%20makes%20calls%20to%20one%20or%20more%20API%20applications%20behind%20it.%20By%20itself%20this%20is%20not%20a%20complex%20concept%2C%20but%20when%20a%20user%20wants%20to%20secure%20the%20API%20applications%20so%20they%20are%20not%20internet%20accessible%20the%20architecture%20becomes%20more%20complex.%3C%2FP%3E%0A%3CP%3EThere%20are%20multiple%20ways%20to%20secure%20your%20API%20applications%20so%20that%20they%20can%20only%20be%20reached%20from%20your%20front%20end%20applications.%20They%20all%20involve%20securing%20your%20API%20application%E2%80%99s%20inbound%20traffic.%20There%20are%20multiple%20features%20that%20could%20be%20used%20for%20this%20purpose%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fapp-service%2Fapp-service-ip-restrictions%23service-endpoints%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EService%20endpoints%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Esecure%20the%20listening%20service.%20With%20Service%20Endpoints%2C%20the%20source%20address%20must%20be%20in%20an%20Azure%20Virtual%20Network%20subnet.%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fapp-service%2Fnetworking%2Fprivate-endpoint%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EPrivate%20endpoints%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eprevent%20data%20exfiltration%20and%20secure%20the%20listening%20service.%20With%20private%20endpoints%2C%20you%20can%20reach%20the%20web%20app%20from%20anywhere%20that%20has%20network%20access%20to%20the%20private%20endpoint%20address.%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fapp-service%2Fapp-service-ip-restrictions%23service-endpoints%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EAccess%20restrictions%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ecan%20lock%20down%20your%20inbound%20traffic%20to%20a%20set%20of%20address%20blocks.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EEach%20of%20those%20features%20satisfies%20a%20specific%20situation%20and%20there%20are%20trade%20offs.%20Access%20restrictions%20are%20useful%20if%20you%20have%20public%20address%20access%20points%20like%20NAT%20devices%20or%20perhaps%20a%20virtual%20network%20device%20with%20a%20dedicated%20public%20address.%20If%20you%20use%20service%20endpoints%2C%20you%20do%20not%20add%20any%20new%20resources%20to%20your%20subscription%20and%20are%20able%20to%20use%20one%20subnet.%20If%20you%20use%20private%20endpoints%20you%20will%20add%20a%20new%20top%20level%20resource%2C%20add%20Azure%20DNS%20private%20zones%20to%20your%20VNet%20and%20will%20require%20two%20subnets.%20Let%E2%80%99s%20now%20dicsuss%20each%20of%20these%20options%20in%20greater%20detail.%3C%2FP%3E%0A%3CH2%20id%3D%22service-endpoints%22%20class%3D%22%22%20id%3D%22toc-hId-1247498578%22%20id%3D%22toc-hId-1247498613%22%3EService%20endpoints%3C%2FH2%3E%0A%3CP%3ETo%20configure%20a%20multi-tier%20application%20using%20service%20endpoints%20to%20secure%20your%20API%20application%2C%20you%20need%20to%20use%20VNet%20Integration%20with%20your%20front%20end%20app%20and%20service%20endpoints%20with%20your%20API%20app.%20Set%20service%20endpoints%20on%20the%20integration%20subnet%20used%20by%20your%20Front%20End%20application.%20This%20solution%20is%20fast%20to%20set%20up%20and%20easy%20as%20well.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorChristina%20Compy_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22one-fe-one-service-endpoint.png%22%20style%3D%22width%3A%20436px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224716i3396CEFC78F464AB%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22one-fe-one-service-endpoint.png%22%20alt%3D%22one-fe-one-service-endpoint.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20have%20multiple%20front%20end%20apps%2C%20the%20configuration%20is%20the%20same%20if%20all%20of%20the%20front%20end%20apps%20are%20in%20the%20same%20App%20Service%20plan.%20With%20VNet%20Integration%2C%20the%20apps%20in%20the%20same%20App%20Service%20plan%20can%20use%20the%20same%20integration%20subnet.%20If%20you%20have%20additional%20front%20end%20applications%20in%20separate%20App%20Service%20plans%2C%20you%20will%20need%20to%20use%20multiple%20integration%20subnets.%20In%20this%20situation%2C%20service%20endpoints%20must%20be%20configured%20against%20each%20of%20the%20integration%20subnets.%20With%20VNet%20Integration%2C%20you%20cannot%20have%20more%20than%20one%20App%20Service%20plan%20configured%20with%20a%20subnet.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorChristina%20Compy_1%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22two-fe-one-service-endpoint.png%22%20style%3D%22width%3A%20504px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224717i15B1C7409B7EB091%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22two-fe-one-service-endpoint.png%22%20alt%3D%22two-fe-one-service-endpoint.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20have%20multiple%20API%20apps%20and%20multiple%20front%20end%20apps%20from%20separate%20App%20Service%20plans%2C%20you%20need%20to%20configure%20VNet%20Integration%20from%20each%20front%20end%20app%20and%20then%20service%20endpoints%20on%20each%20API%20app%20against%20the%20integration%20subnets.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorChristina%20Compy_2%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22two-fe-two-service-endpoint.png%22%20style%3D%22width%3A%20598px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224718i06B905A94D0CFC49%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22two-fe-two-service-endpoint.png%22%20alt%3D%22two-fe-two-service-endpoint.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20you%20add%20front%20end%20applications%2C%20you%20need%20to%20configure%20service%20endpoints%20with%20each%20dependent%20API%20application.%20This%20means%20service%20endpoints%20are%20great%20at%20smaller%20scale.%20It%20can%20quickly%20get%20out%20of%20hand%20if%20you%20have%20many%E2%80%93%3CEM%3Eor%20an%20ever%20increasing%20number%20of%3C%2FEM%3E%E2%80%93front%20end%20applications%20with%20multiple%20API%20applications.%20Managing%20the%20configuration%20can%20be%20confusing%20as%20the%20number%20of%20front%20ends%20grows.%3C%2FP%3E%0A%3CH2%20id%3D%22private-endpoints%22%20class%3D%22active%22%20id%3D%22toc-hId--559955885%22%20id%3D%22toc-hId--559955850%22%3EPrivate%20endpoints%3C%2FH2%3E%0A%3CP%3EWith%20private%20endpoints%2C%20the%20configuration%20is%20both%20easier%20and%20harder.%20It%20is%20easier%20in%20that%20when%20you%20place%20a%20private%20endpoint%20in%20your%20VNet%20for%20an%20app%2C%20you%20are%20done%20managing%20the%20inbound%20traffic%20to%20your%20API%20app.%20Unlike%20with%20service%20endpoints%2C%20there%20is%20no%20additional%20configuration%20to%20your%20API%20app%20as%20you%20add%20new%20front%20end%20consumers.%20It%20is%20harder%20because%20setting%20up%20private%20endpoints%20creates%20a%20new%2C%20top-level%20resource%20and%20Azure%20DNS%20private%20zones.%3C%2FP%3E%0A%3CP%3EIf%20you%20have%20one%20front%20end%20app%20or%20more%20than%20that%2C%20the%20configuration%20is%20the%20same.%20You%20set%20up%20VNet%20Integration%20with%20the%20same%20VNet%20that%20your%20API%20app%20has%20a%20private%20endpoint%20in.%20You%20also%20have%20private%20endpoints%20configured%20on%20your%20API%20application.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorChristina%20Compy_3%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22one-fe-one-private-endpoint.png%22%20style%3D%22width%3A%20434px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224719i115317416CE981E5%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22one-fe-one-private-endpoint.png%22%20alt%3D%22one-fe-one-private-endpoint.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20have%20more%20than%20one%20front%20end%20app%2C%20the%20only%20difference%20is%20that%20this%20second%20front%20end%20app%20needs%20VNet%20Integration%20to%20be%20configured%20with%20it.%20If%20this%20additional%20front%20end%20application%20is%20in%20a%20different%20App%20Service%20plan%2C%20it%20will%20use%20a%20separate%20subnet.%20Each%20time%20you%20use%20VNet%20Integration%20from%20another%20App%20Service%20plan%2C%20you%20will%20need%20another%20subnet%20for%20integration.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorChristina%20Compy_4%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22two-fe-one-private-endpoint.png%22%20style%3D%22width%3A%20496px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224720i7158539FB74371F4%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22two-fe-one-private-endpoint.png%22%20alt%3D%22two-fe-one-private-endpoint.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20have%20multiple%20API%20applications%2C%20you%20will%20need%20multiple%20private%20endpoints.%20Those%20private%20endpoints%20can%20be%20in%20the%20same%20subnet%2C%20or%20not.%20Private%20endpoints%20are%20more%20flexible%20in%20this%20regard%20than%20VNet%20Integration.%20Once%20your%20API%20application%20has%20exposed%20itself%20with%20a%20private%20endpoint%2C%20any%20front%20end%20app%20that%20integrates%20with%20that%20VNet%20should%20be%20able%20to%20reach%20it.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorChristina%20Compy_5%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22two-fe-two-private-endpoint.png%22%20style%3D%22width%3A%20494px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224721i0A0067C0C69F8D34%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22two-fe-two-private-endpoint.png%22%20alt%3D%22two-fe-two-private-endpoint.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAt%20a%20small%20scale%2C%20private%20endpoints%20incurs%20more%20overhead.%20You%20will%20have%20more%20to%20manage%20and%20maintain%20than%20with%20service%20endpoints.%20On%20the%20other%20hand%2C%20private%20endpoints%20are%20a%20solution%20for%20data%20exfiltration%20concerns.%20They%20also%20do%20better%20at%20scale%20as%20it%20is%20easy%20to%20add%20more%20front%20end%20applications.%3C%2FP%3E%0A%3CH2%20id%3D%22access-restrictions%22%20class%3D%22%22%20id%3D%22toc-hId-1927556948%22%20id%3D%22toc-hId-1927556983%22%3EAccess%20restrictions%3C%2FH2%3E%0A%3CP%3EWith%20access%20restrictions%20you%20can%20secure%20inbound%20traffic%20to%20a%20set%20of%20IP%20address%20blocks.%20This%20is%20useful%20when%20you%20want%20to%20lock%20your%20traffic%20to%20a%20set%20of%20egress%20devices.%20You%20can%20also%20use%20it%20with%20other%20edge%20protection%20services%20such%20as%20Azure%20Front%20Door.%20With%20respect%20to%20using%20it%20directly%20with%20multi-tier%20applications%2C%20you%20can%20secure%20your%20API%20applications%20to%20the%20egress%20addresses%20used%20by%20your%20front%20end%20applications.%20The%20problem%20with%20this%20approach%20is%20that%20the%20outbound%20addresses%20are%20shared%20with%20all%20of%20the%20other%20customers%20in%20the%20same%20scale%20unit.%20From%20a%20security%20review%20perspective%20it%20doesn%E2%80%99t%20look%20as%20secure%20as%20service%20endpoint%20or%20private%20endpoint%20based%20solutions.%20So%20while%20it%20is%20possible%20and%20worth%20noting%2C%20it%20is%20not%20recommended%20to%20use%20access%20restrictions%20to%20create%20multi-tier%20web%20applications.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1752015%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EThe%20Azure%20App%20Service%20is%20offered%20as%20two%20deployment%20types%3A%20the%20multi-tenant%20service%20and%20the%20App%20Service%20Environment.%20In%20the%20multi-tenant%20service%20there%20are%20thousands%20of%20customers%20on%20the%20same%20infrastructure.%20Your%20apps%20are%20always%20secured%20but%20they%20share%20the%20network%2C%20address%20space%2C%20front%20ends%2C%20and%20some%20other%20components.%20In%20an%20App%20Service%20Environment%20you%20get%20a%20single%20tenant%20version%20of%20App%20Service%20that%20runs%20in%20your%20Azure%20Virtual%20Network.%20In%20this%20article%2C%20you%20will%20learn%20how%20to%20build%20network-secured%2C%20multi-tier%20web%20applications%20in%20the%20multi-tenant%20App%20Service.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1752015%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20App%20Service%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWeb%20Apps%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

The Azure App Service is offered as two deployment types: the multi-tenant service and the App Service Environment. In the multi-tenant service there are thousands of customers on the same infrastructure. Your apps are always secured but they share the network, address space, front ends, and some other components. In an App Service Environment you get a single tenant version of App Service that runs in your Azure Virtual Network. In this article, you will learn how to build network-secured, multi-tier web applications in the multi-tenant App Service.

Multi-tier web applications

The obvious question to start with is, what is a multi-tier web application? A multi-tier web application is an application with a front end that makes calls to one or more API applications behind it. By itself this is not a complex concept, but when a user wants to secure the API applications so they are not internet accessible the architecture becomes more complex.

There are multiple ways to secure your API applications so that they can only be reached from your front end applications. They all involve securing your API application’s inbound traffic. There are multiple features that could be used for this purpose:

  • Service endpoints secure the listening service. With Service Endpoints, the source address must be in an Azure Virtual Network subnet.
  • Private endpoints prevent data exfiltration and secure the listening service. With private endpoints, you can reach the web app from anywhere that has network access to the private endpoint address.
  • Access restrictions can lock down your inbound traffic to a set of address blocks.

Each of those features satisfies a specific situation and there are trade offs. Access restrictions are useful if you have public address access points like NAT devices or perhaps a virtual network device with a dedicated public address. If you use service endpoints, you do not add any new resources to your subscription and are able to use one subnet. If you use private endpoints you will add a new top level resource, add Azure DNS private zones to your VNet and will require two subnets. Let’s now dicsuss each of these options in greater detail.

Service endpoints

To configure a multi-tier application using service endpoints to secure your API application, you need to use VNet Integration with your front end app and service endpoints with your API app. Set service endpoints on the integration subnet used by your Front End application. This solution is fast to set up and easy as well.

 

one-fe-one-service-endpoint.png

 

If you have multiple front end apps, the configuration is the same if all of the front end apps are in the same App Service plan. With VNet Integration, the apps in the same App Service plan can use the same integration subnet. If you have additional front end applications in separate App Service plans, you will need to use multiple integration subnets. In this situation, service endpoints must be configured against each of the integration subnets. With VNet Integration, you cannot have more than one App Service plan configured with a subnet.

 

two-fe-one-service-endpoint.png

 

If you have multiple API apps and multiple front end apps from separate App Service plans, you need to configure VNet Integration from each front end app and then service endpoints on each API app against the integration subnets.

 

two-fe-two-service-endpoint.png

 

As you add front end applications, you need to configure service endpoints with each dependent API application. This means service endpoints are great at smaller scale. It can quickly get out of hand if you have many–or an ever increasing number of–front end applications with multiple API applications. Managing the configuration can be confusing as the number of front ends grows.

Private endpoints

With private endpoints, the configuration is both easier and harder. It is easier in that when you place a private endpoint in your VNet for an app, you are done managing the inbound traffic to your API app. Unlike with service endpoints, there is no additional configuration to your API app as you add new front end consumers. It is harder because setting up private endpoints creates a new, top-level resource and Azure DNS private zones.

If you have one front end app or more than that, the configuration is the same. You set up VNet Integration with the same VNet that your API app has a private endpoint in. You also have private endpoints configured on your API application.

 

one-fe-one-private-endpoint.png

 

If you have more than one front end app, the only difference is that this second front end app needs VNet Integration to be configured with it. If this additional front end application is in a different App Service plan, it will use a separate subnet. Each time you use VNet Integration from another App Service plan, you will need another subnet for integration.

 

two-fe-one-private-endpoint.png

 

If you have multiple API applications, you will need multiple private endpoints. Those private endpoints can be in the same subnet, or not. Private endpoints are more flexible in this regard than VNet Integration. Once your API application has exposed itself with a private endpoint, any front end app that integrates with that VNet should be able to reach it.

 

two-fe-two-private-endpoint.png

 

At a small scale, private endpoints incurs more overhead. You will have more to manage and maintain than with service endpoints. On the other hand, private endpoints are a solution for data exfiltration concerns. They also do better at scale as it is easy to add more front end applications.

Access restrictions

With access restrictions you can secure inbound traffic to a set of IP address blocks. This is useful when you want to lock your traffic to a set of egress devices. You can also use it with other edge protection services such as Azure Front Door. With respect to using it directly with multi-tier applications, you can secure your API applications to the egress addresses used by your front end applications. The problem with this approach is that the outbound addresses are shared with all of the other customers in the same scale unit. From a security review perspective it doesn’t look as secure as service endpoint or private endpoint based solutions. So while it is possible and worth noting, it is not recommended to use access restrictions to create multi-tier web applications.