IP management in Azure with Private Endpoints or App Service Environment?

Michel Gagnon 20 Reputation points
2024-01-24T16:27:09.14+00:00

Hi, I am looking for help with Azure. I work for a company and we are trying to manage IP addresses in a subnet but not sure if we should go with a Private Endpoint or an App Service Environment. We have multiple subscriptions and resource groups. Our developers are using DevOps (Bifrost) to deploy fonctions in Azure and IPs have to be managed. I wonder if we should go with Private Endpoints or an App Service Environment. Since we have multiple resource groups involve in that project, I feel that Private Endpoints will be really expensive (could be up to 12 RG needed). Also, since we have resources in different subscriptions and different subnets, I assume that if we go with an ASE we will need to do some peering between the subnets in order to see or use resources from different subscriptions? If so, does peering between subnets could create any weakness security-wise? Thanks !!

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,775 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,969 questions
{count} votes

Accepted answer
  1. Ben Gimblett 4,560 Reputation points Microsoft Employee
    2024-01-25T14:27:13.2633333+00:00

    Hi - Thanks for the question Michel

    So firstly some differences between ASEv3 (you need the v3 version) and regular App Service Plans

    *Probably the number one difference is turn-key-networking - you deploy into a given subnet (ensure you read the doc to size it correctly) and there's no proliferation of subnets as we find today in GA app service (one for private endpoints, one per plan for regional vnet integration).
    On that last point , note there's a preview now on regular plans to remove the 1:1 limit for regional vnet integration so this will improve

    *ASE is "single tenant" - so , if you have a workload to host where you need to meet compliance or will be audited for compliance then ASE is often the way to go. Limited/to no shared resources

    *ASE scales to 200 overall and 100 instances per plan. So scale out is very good

    *ASE offers a huge choice of larger machines for scale-up where you need lots of cores/RAM on the Iv2 plans (Isolated v2)

    *ASE does take a fair amount of time to provision (can be around 4 hours) and it doesn't scale out and scale back as quickly as a regular ASP plan (if rapid scale out is required, ASE may not be suitable)

    *Cost wise, ASEv3 is roughly on a par with standalone Premium App Service Plans BUT if you go for Availabilty zone support there's a min standing charge of 9 (3x3) of the lowest scale instance . However, if you intend to run an ASE chances are you will have more than 3 plans and each plan would anyway need to have min 3 instances to be zone resilient. That's covered in more detail in the docs. There is a charge for private endpoints yes, but you also need to be cognizant of bandwidth charges too (whether you use private endpoints or not)

    It is possible (but only via template deployment) to deploy ASE in one subscription and a plan(s) for the ASE from another. However the same network/region is required for all.


    On the other hand if you go for non ASE then you will (in GA terms) need a subnet for private endpoints - and a subnet per plan for regional vnet integration (for outbound traffic into your vnet - if you need it)

    There is no great security risk in peering VNETs - but this does need to be planned out. There's some great advice in the Enterprise Landing Zone Guidance

    So overall I would say networking is a factor - but there's much more that you need to consider before making a choice

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.