The most consequential decision in a forward-deployed project usually isn’t about the model or the UI — it’s where the thing is allowed to run. That answer lives on a spectrum from your own multi-tenant SaaS, through the customer’s cloud/VPC, to on-prem, to a fully air-gapped network with no internet at all. And it’s driven not by your preference but by the customer’s reality: can their data leave the network, is it regulated, is there internet, how fast must you ship updates. Toggle those four constraints and watch the four targets score against each other — with the reasoning that produces the recommendation. This is the “where can this run?” conversation from the deployment handbook, made playable.
four constraints · four targets · SaaS → VPC → on-prem → air-gapped · the recommendation falls out
data egress
Whether the customer’s data is allowed to leave their network. The single biggest driver of the decision.
VPC
The customer’s own cloud account / virtual private cloud — you deploy into their environment, under their rules.
on-prem
The customer’s own datacenter or servers. You manage installs and updates; no managed cloud services.
air-gapped
A network with no internet connection at all. Everything ships in by hand; the hardest target.
chooser.js — score the targets against the constraints
Answer the four constraints
Toggle the customer’s constraints below. Each answer re-scores the four deployment targets, and the recommended one lights up green with the reasoning. There’s rarely a “perfect” target — just the best fit for the reality you’re handed.
—
recommended
—
its score
How it works
The chooser is a tiny constraint-satisfaction model, and building it makes the real decision legible. Each of the four targets starts from a neutral baseline, and each constraint answer pushes the targets up or down according to how well they fit. The most decisive constraint is data egress: if the customer’s data may not leave their network, your own SaaS is essentially ruled out no matter how convenient it is, because SaaS means you host and therefore the data leaves. Regulation nudges toward the customer-controlled end (on-prem, air-gapped), because keeping regulated data inside a boundary the customer already audits is easier to get approved than exporting it. Internet access is nearly binary: no internet forces air-gapped and its manual, brought-in-by-hand everything; plenty of internet makes air-gapped’s friction pure overhead. And update cadence trades against control — if you must push fixes anytime, SaaS and VPC shine; if scheduled maintenance windows are fine, on-prem and air-gapped become viable. The point of the model isn’t a precise number; it’s that the decision is derivable from a handful of constraints you can surface in discovery. The instant you can name those constraints, the architecture stops being a matter of taste and becomes a matter of fit — which is exactly why an FDE asks “where can this run, and who approves that?” before drawing a single box.
1
Start from a neutral baseline
Every target — SaaS, VPC, on-prem, air-gapped — begins equally plausible. Nothing is ruled in or out until the constraints speak.
2
Data egress dominates
If data can’t leave the customer’s network, your SaaS collapses: SaaS means you host it, so the data leaves. The customer-hosted targets rise.
3
Regulation & internet narrow it
Regulated data pushes toward on-prem/air-gapped (easier to approve inside a boundary they audit). No internet forces air-gapped; abundant internet makes air-gapped pure friction.
✓
Update cadence breaks the tie
If you must ship fixes anytime, SaaS/VPC win; if scheduled windows are fine, on-prem/air-gapped become viable. The highest-scoring target is the recommendation — and the reasoning is the derivation.
Biggest driver
can data leave?
Forces air-gapped
no internet
Favors SaaS
ship updates anytime
Ask in
discovery
The code
# The chooser is a constraint model, not a vibe
targets = {"SaaS": 50, "VPC": 50, "OnPrem": 50, "AirGapped": 50}
if not data_can_leave:
targets["SaaS"] -= 40; targets["VPC"] += 5; targets["OnPrem"] += 10; targets["AirGapped"] += 10 # you host it → data leaves. Ruled out.else:
targets["SaaS"] += 20; targets["AirGapped"] -= 10
if regulated:
targets["SaaS"] -= 20; targets["VPC"] -= 5; targets["OnPrem"] += 10; targets["AirGapped"] += 15
if not internet:
targets["SaaS"] -= 50; targets["VPC"] -= 30; targets["OnPrem"] -= 10; targets["AirGapped"] += 40
else:
targets["AirGapped"] -= 20 # air-gap friction with no benefitif updates_anytime:
targets["SaaS"] += 20; targets["VPC"] += 10; targets["OnPrem"] -= 5; targets["AirGapped"] -= 15
else:
targets["OnPrem"] += 8; targets["AirGapped"] += 10 # scheduled windows make them viable
recommendation = max(targets, key=targets.get) # fit, not taste
shown_score = min(100, max(0, targets[recommendation])) # the meter reads out of 100
The picture: the chooser as a decision tree
The lab adds and subtracts points, but run it over all 16 answer combinations and it reduces to this tree. No internet decides the question on its own: Air-Gapped wins every time, however the other three are answered. With internet, the egress answer splits the field, and regulation together with update cadence picks the winner on each side. The numbers are the lab’s winning scores.
Worked example: a clinic group, scored step by step
A clinic group wants your scheduling assistant. Discovery finds that patient data may not leave their network, it is regulated health data, they have internet, and they expect fixes to ship anytime. These are the widget’s own increments, the same ones in the snippet under “The code”.
Step
Answer
SaaS
Customer VPC
On-Prem
Air-Gapped
0
neutral start
50
50
50
50
1
data cannot leave: −40 / +5 / +10 / +10
10
55
60
60
2
regulated: −20 / −5 / +10 / +15
−10
50
70
75
3
internet available: Air-Gapped −20
−10
50
70
55
4
updates anytime: +20 / +10 / −5 / −15
10
60
65
40
On-Prem wins, 65 to Customer VPC’s 60, and the lab flags it as close (within 8 points). Now say the “regulated” answer was a guess, and their compliance team later confirms this data is out of scope. Drop step 2 and the result flips: Customer VPC 65, On-Prem 55. That is what the lab’s “confirm the constraint you’re least sure of” means. A close score tells you which discovery question to go back and settle before you commit to an architecture. The other answers are not close. Flip “updates anytime” to scheduled instead and On-Prem pulls further ahead, 78 to Air-Gapped’s 65, because scheduled updates give On-Prem +8 instead of −5, and Air-Gapped +10 instead of −15. Unlike egress or internet access, update cadence is a preference rather than a hard rule, so it is worth asking directly whether scheduled windows would be acceptable.
Trade-offs: what each target costs you
The lab scores how well each target fits. This is what each one costs once you pick it. Read the columns as target, how a fix reaches production, what you operate, what you give up.
Case
Time
Space
Why
Your SaaS
whenever you deploy
one fleet for every customer
The data leaves the customer’s network, so a “no” on egress rules it out.
Customer VPC
through their account, often their pipeline and approvals
one install per customer, in their cloud
You work under their IAM and change control, but managed cloud services are still available.
On-prem
in scheduled maintenance windows
packages for their hardware and OS, with no managed services
Debugging often goes through their staff, so you need good logs and a runbook.
Air-gapped
signed bundles, carried in by hand
everything bundled: images, dependencies, model weights
Slowest feedback. Telemetry only comes out if someone exports it.
Split control plane / data plane
control plane anytime; data plane on their schedule
two components and the link between them
Data stays inside, but commands and metadata cross the boundary, and that link needs its own approval.
Moving right along the spectrum buys the customer control and costs you speed and visibility. That is why the portability habits in the FAQ (containers, external config, no cloud-only services) are worth having from day one, before you know which target you will end up on. The split row is the common compromise when a customer wants their data kept in but you still need to ship fixes quickly: the part that changes often stays with you, and the part that touches data stays with them.
Where this shows up in production and interviews
Regulated does not automatically mean on-prem
Run the lab with data that may leave, regulated, internet, anytime updates: SaaS still wins, 70 to 55. Many health and payments customers do use hosted software, under the contracts and controls their regulator expects. What decides it is the customer’s egress answer and who has to approve it, not the regulation’s name alone.
AI features and model hosting
If data cannot leave, a hosted model API is ruled out for the same reason your SaaS is: the prompt is the data. The usual answer is to serve a model inside the customer’s VPC or datacenter. That brings GPU capacity, model-weight delivery and model updates into the deployment plan.
Government and defence networks
Some government and defence networks are air-gapped by policy. Deliveries there are planned like releases: every dependency is pinned and bundled, and an update ships as a signed package installed by the customer’s staff.
The interview version
“The customer says their data can’t leave. What changes?” Ask the other three questions, then who approves exceptions. Then list what the answer changes: no hosted APIs, how you package and ship updates, how you get logs out, and whether you can reach the system at all to debug it.
Quick check
1. A customer says their data cannot leave their network. Which target is essentially ruled out?
SaaS means you host the software, so the customer’s data flows to your environment — which is exactly what "data can’t leave" forbids. The viable targets become the customer-hosted ones: their VPC, on-prem, or air-gapped.
An air-gapped network has no internet connection, so every dependency, image, and model has to be carried in deliberately and updates are scheduled and manual. Regulation nudges toward it but doesn’t require it; a hard no-internet constraint does.
3. Why does an FDE ask "where can this run?" during discovery, not after building?
The deployment target dictates data flow, model hosting, secrets, updates, and even your own access. A design that assumes a hosted API and your dashboards is impossible on-prem. Discovering the constraint in week one is a design input; discovering it in week six is a rebuild.
FAQ
What are the deployment options for delivering software to a customer?
Four targets on a spectrum: your SaaS (multi-tenant, you host), the customer’s cloud/VPC (you deploy into their environment), on-prem (their datacenter), and air-gapped (an isolated network, no internet). Left is fastest to ship/update, right is most locked-down; the customer’s security and data-residency rules usually dictate which.
What decides which deployment target you use?
Mostly the customer’s constraints: whether data can leave the network (if not, SaaS is out), whether it’s regulated (pushes toward on-prem/air-gapped), whether there’s internet (no internet forces air-gapped), and how fast you must ship updates (fast favors SaaS/VPC). You surface these in discovery, because the answer reshapes the whole architecture.
Why is air-gapped deployment the hardest?
There’s no connection to the outside world: every image, dependency, and model weight is brought in deliberately, updates ship as signed bundles installed in maintenance windows, and you often can’t reach the system to debug it — you work through a customer engineer. That pushes every decision toward self-containment and makes observability and a runbook essential, not optional.
Can you change deployment targets later?
Possible but painful if unplanned, which is why FDEs build portably: containerize everything, avoid cloud-only managed services when on-prem is possible, externalize config, and keep a path to self-hosting the model. Then moving right (e.g. VPC → on-prem) is a repackaging job, not a rewrite. Bake in one cloud’s managed services and assume internet, and a target change threatens the project.