Skip to content
CAMPUX Cloud Bootcamp Phase Two · Class Eleven
Phase Two — Core Infrastructure
Reading 14 min · Drills 4 · Part C of VI
Compute · Class Eleven
Class Eleven · Part C

App Service Environment

The same App Service you already know, deployed onto hardware that is yours alone and dropped inside your own network — a real capability that most workloads asking for it do not actually need.

§1

App Service, but the hardware is yours alone

Ordinary App Service runs your app on machines Azure shares among many customers — you get isolation between apps, but the physical hardware underneath is multi-tenant. An App Service Environment, or ASE, changes exactly one thing about that: it is a single-tenant deployment of the App Service platform onto compute dedicated to you, injected directly into a subnet of your own virtual network. Everything you learned in Parts A and B still applies — plans, apps, slots, autoscale — but now the whole stack sits on hardware no other customer touches, inside your network's address space.

That network placement is the real prize. A regular app is reached over the public platform and integrates with a VNet through added features; an ASE app is born inside the VNet, so it can reach private resources — a database with no public endpoint, an on-premises system over your gateway — and be reached only from where your network rules allow. For a workload that must never touch the public platform, an ASE gives you App Service's convenience without App Service's shared front door.1

App Service Environment (ASE v3)
A single-tenant deployment of App Service onto dedicated hardware inside your own virtual network. Apps run on Isolated v2 plans; you gain network isolation and very high scale, and you pay for the dedication whether the apps are busy or idle.
§2

What ASE v3 actually buys — and what it costs

Three things justify an ASE, and it is worth naming them plainly because most workloads that ask for one want the feeling of them rather than the fact. The first is network isolation: apps that live inside your VNet with no exposure to the shared platform, for compliance regimes or security postures that require it. The second is scale: an ASE supports far more instances than a shared plan, into the low hundreds, for genuinely large deployments. The third is dedicated compute: no noisy neighbours at the hardware level at all, ever.

The cost is the honest counterweight. ASE apps run on Isolated v2 plans, the top of the tier ladder from Part A, and those instances are expensive. ASE v3 removed the flat "stamp" fee that its v2 predecessor charged just to exist, which helped — but you still pay Isolated v2 rates for the instances you run, and because dedicated hardware does not scale to zero, an ASE that sits mostly idle is an expensive thing to own. The question is never "is an ASE good" — it plainly is — but "does this workload's need for isolation justify carrying Isolated v2 rates around the clock?"

An ASE is App Service with the shared front door removed — and the bill that implies.

§3

The cheaper answer that usually wins

Here is the turn most beginners miss, and it is the whole reason this part exists. The features people reach for an ASE to get — private networking, no public exposure, reaching a database with no public endpoint — are largely available on ordinary App Service now, without the dedicated hardware. VNet integration lets a regular app send traffic into your virtual network to reach private resources. Private Endpoints give the app a private inbound address inside your VNet, so it is reachable only from your network and never from the public internet. Together they deliver most of an ASE's isolation on multi-tenant hardware at multi-tenant prices.

So the decision tree is short and one-directional. Start on regular App Service. If you need to reach private resources, add VNet integration. If you need to be reached only privately, add a Private Endpoint. Only when you have a requirement those cannot meet — a compliance rule that mandates single-tenant hardware, or a scale beyond what a shared plan allows — do you climb to an ASE. Reaching for the ASE first is the compute version of the all-IaaS instinct: buying the heaviest isolation before checking whether a lighter one already does the job. Part 11f names this pattern for the whole spectrum.

Table 1 — Isolation, from cheapest to most dedicated
ApproachHardwareGives youReach for it when
App Service + VNet integrationSharedOutbound access to private resourcesThe app must call a private database or system
App Service + Private EndpointSharedPrivate inbound; no public exposureThe app must not be reachable from the internet
App Service Environment (ASE v3)DedicatedSingle-tenant hardware, very high scaleA rule mandates single-tenant, or you need hundreds of instances
§4

When an ASE is genuinely the right call

None of this is to say the ASE is a trap — it is the correct answer to a real, if narrow, set of problems. A payments platform under a compliance regime that mandates dedicated hardware has a requirement VNet integration cannot satisfy, and the ASE is exactly the tool. A very large internal platform that needs far more instances than a shared plan permits has a scale requirement that forces the climb. In both cases the cost is not waste; it is the price of a requirement that was handed to you, not chosen by you.

The discipline is to be able to say which requirement you are buying. "We want it to feel secure" is not a requirement; "our regulator's control set names single-tenant compute" is. If you can point at the rule or the number that only an ASE satisfies, you buy it without apology. If you cannot — if VNet integration and a Private Endpoint would have done — then the ASE is expensive comfort, and a design review will find it. Part 11f is where you practise defending exactly this kind of call.

Case File · Campux Retail

Campux asks for an ASE, and you talk them out of it

the requirement was "reach the private database" — VNet integration, not dedicated hardware

A security consultant tells Campux the storefront "should be on dedicated infrastructure for the payment flow," and someone forwards you a quote for an App Service Environment. You do not just say no; you ask what the requirement actually is. It turns out to be two concrete things: the app must reach the order database, which has no public endpoint, and the admin interface must not be reachable from the public internet. Neither of those needs dedicated hardware.

You meet both on the Standard-tier storefront from Parts A and B: VNet integration so the app reaches the private database in the subnet you surveyed in Class Ten, and a Private Endpoint on the admin app so it answers only inside the network. The isolation the consultant wanted is delivered at a fraction of the ASE's cost, on the hardware Campux already pays for. You write the one sentence that would reverse the decision — "if a compliance rule later mandates single-tenant compute for card data, we revisit the ASE" — so the choice is on record and honest. That sentence is the lab: the ASE Bicep lab on this site stands one up when the requirement is real, and this case is why you read it before you run it.

§5

Holding the whole App Service picture

Three parts in, the platform-managed end of the spectrum is complete, and it stacks cleanly. Part A bought and sized the plan. Part B ran apps on it with slots, TLS and configuration. This part answered the one question that pushes an app off shared hardware — and answered it, for most workloads, with "add a network feature, do not buy a data centre." That ordering is the lesson: reach for the lightest thing that meets the requirement, and climb only when a named rule or number forces you.

The next two parts descend the other way, into virtual machines, for the workloads that genuinely need full control of the operating system. Keep this part's instinct as you go: the ASE is to App Service what a plain VM is to the whole spectrum — a heavier rung that is exactly right for a narrow set of requirements and expensive comfort for everything else. Part 11f will hand you the single framework that places any workload on the rung it can defend.

On the job

Reading the quote before you sign it

You · Cloud Engineer · a vendor recommends an ASE

A quote lands for an App Service Environment, recommended by a consultant who described the goal as "isolation." Instead of forwarding it to finance, you translate "isolation" into requirements: reach a private database, block public inbound. Both are met by VNet integration and a Private Endpoint on the app you already run. You reply with the two-line cheaper design and one condition that would justify the ASE — a compliance mandate for single-tenant hardware. You did not just save money; you made the expensive option available for the day it is actually required.

Class Eleven · Part C

Examination

Four drills, then two situations. The situations have no marking scheme — write your answer before you reveal the reasoning, or the exercise is worthless. Nothing is stored.

Drill 01Recall
In one sentence, what is an App Service Environment?
Marked

B. The ASE is the same App Service platform — plans, apps, slots, autoscale — deployed onto compute dedicated to you and injected into a subnet of your virtual network. A inverts the truth: it is the most expensive option (Isolated v2 rates on dedicated hardware), not a budget one. C confuses it with AKS, which is a different rung entirely (Class Twenty-Seven). D describes a deployment slot from Part B. The one word that defines an ASE is single-tenant: the hardware is yours alone, and the price follows from that.

Drill 02Recall
An app on ordinary App Service needs to be reachable only from inside your network, never from the public internet. What is the lightest way to achieve this?
Marked

B. A Private Endpoint gives the app a private inbound address inside your VNet, so it answers only from your network and disappears from the public internet — the exact requirement, met on the shared hardware you already pay for. A would achieve it too, but by buying an entire dedicated environment to solve a problem a single network feature solves: the heaviest tool for a light job. C changes size and buys nothing for reachability. D forces encryption but leaves the app publicly reachable over HTTPS — it secures the channel, not the exposure. Reach for the network feature before the data centre.

Drill 03Select three
Which three statements about App Service Environments are true?
Marked

Isolated v2 and no scale-to-zero, most networking available without an ASE, and single-tenant compute in your VNet. Those three are the shape of the decision. The two rejects are the traps: an ASE is the most expensive way to run a small private app, not the cheapest — a Private Endpoint on a Standard app is dramatically cheaper — and an ASE does not throw away the App Service model, it is the App Service model on dedicated hardware, so plans, apps and slots carry over unchanged. Believing either falsehood leads to buying a data centre to solve a firewall rule.

Drill 04Spot the error
A design memo justifies an ASE. One line states a reason that does not actually require an ASE at all. Which?
DESIGN MEMO — why an ASE
1.  Our regulator's control set mandates single-tenant compute.
2.  We need the app to reach a private database with no public endpoint.
3.  We expect to run well over a hundred instances at peak.
4.  We accept Isolated v2 rates around the clock for this workload.
Marked

Line two. Reaching a private database with no public endpoint is exactly what VNet integration on ordinary App Service does — it is not a reason to buy dedicated hardware. Line one (a genuine single-tenant mandate) and line three (scale beyond a shared plan's ceiling) are real ASE-forcing requirements, and line four is the honest acknowledgement of the cost that comes with them. Only line two names something a lighter, cheaper feature already solves.

Consider the consequence. If line two is allowed to stand as a justification, it quietly does the persuading — a reviewer skims four plausible reasons and approves the ASE, when really only the mandate and the scale numbers carry it, and a much smaller app could have ridden VNet integration on a Standard plan. Being able to strike the reason that does not require the tool is how you stop a good tool from being oversold into the wrong job.

Situation 01Write before you reveal
A stakeholder insists: "For anything touching customer payments, we should always be on an App Service Environment — it's the secure choice." How do you engage with this without simply saying yes or no?
"Always" and "secure choice" are both doing more work than they should. Separate feeling from requirement.
Reasoning

Concede the seriousness before you complicate it. The stakeholder is right that payment workloads deserve stronger isolation than a throwaway app, and treating them carefully is exactly correct. Do not answer as if their caution is silly; answer as if their caution is right and the ASE is one of several ways to honour it. That keeps the conversation about the requirement rather than about who is more security-minded.

Turn "secure choice" into named requirements. Ask what specifically the payment flow must satisfy. Must it be unreachable from the public internet? A Private Endpoint does that. Must it reach a private card-data store? VNet integration does that. Does a compliance control literally mandate single-tenant hardware? That is the one requirement an ASE uniquely meets — and if it exists, the ASE is correct and you say so. The point is not to talk them out of the ASE; it is to find out whether their goal needs one.

Replace "always" with "when the rule forces it." "Always on an ASE" spends Isolated v2 rates on every payment-adjacent app regardless of what it needs — expensive comfort at scale. The defensible policy is: strong isolation always, dedicated hardware when a named control or a scale number requires it. That gives the stakeholder the safety they actually want while spending the ASE's cost only where a requirement, not a feeling, justifies it.

Situation 02Write before you reveal
A teammate has already provisioned an ASE for an internal reporting app that gets a few dozen users a day, "to be safe." It works fine. Your manager asks whether to keep it. What do you advise?
"It works fine" is true and beside the point. What is it costing to be fine?
Reasoning

Grant that it works, then reframe the question. "It works fine" is true — an ASE will happily run a small reporting app. But working is not the bar; a plain VM would also run it, and so would a Standard plan. The real question your manager is asking is whether the ASE's cost is buying anything this workload needs, and for a few dozen internal users a day, the honest answer is almost certainly no.

Name what "to be safe" actually bought. The ASE is charging Isolated v2 rates on dedicated hardware, around the clock, for a low-traffic internal tool — and it is not scaling to zero on quiet evenings and weekends, because dedicated hardware does not. "To be safe" bought single-tenant compute that a Private Endpoint on a cheap Standard plan would have matched for isolation at a fraction of the price. The safety was real; it was just wildly overpaid.

Advise the migration, but do it on evidence, not reflex. Confirm there is no compliance rule that actually mandates single-tenant hardware for this data — if there is, keep the ASE and stop. If there is not, move the app to a Standard plan with a Private Endpoint, verify the isolation requirements still hold, and retire the ASE. Frame it to the teammate not as a mistake but as right-sizing on evidence, the same instinct the whole track teaches: the lightest thing that meets the requirement, and no more.

Examination record · first attempt
0/4
Class 11c · Complete
Retain this much

Five things worth carrying out of Part C

  1. An ASE is App Service on single-tenant, dedicated hardware inside your own VNet. Same plans, apps and slots — just not shared, and not cheap.
  2. It buys three things: network isolation, very high scale, and dedicated compute. Apps run on Isolated v2 plans that do not scale to zero.
  3. Most of the private-networking benefit is available on ordinary App Service through VNet integration (outbound) and Private Endpoints (inbound).
  4. Climb to an ASE only for a named requirement a lighter feature cannot meet — a single-tenant compliance mandate, or scale beyond a shared plan.
  5. Be able to say which requirement you are buying. "To feel secure" is not one; "the control set mandates single-tenant hardware" is.
Notes
  1. ASE has a version history worth a footnote so the older guidance you will find online does not mislead you. ASE v1 and v2 charged a flat "stamp" fee — a fixed hourly cost just for the environment to exist, on top of the instances — which made an idle ASE punishing. ASE v3 removed that stamp fee and simplified the networking, so the cost is now the Isolated v2 instances themselves. It is genuinely better than v2, but "better" still means expensive dedicated compute; do not read "no stamp fee" as "cheap." Verify current Isolated v2 rates before committing.
  2. The line between "VNet integration" and "Private Endpoint" is worth keeping straight because they solve opposite directions: VNet integration is about the app reaching out to private resources, and a Private Endpoint is about the app being reached in privately. Many isolation requirements need both, and neither needs an ASE. If a design says "we need an ASE for networking," the useful reflex is to ask which direction, inbound or outbound, and whether the shared-hardware feature for that direction would suffice.