Customer VPC, BYOC & Air-Gapped Deployments
Architect SaaS, Customer VPC/BYOC, and air-gapped enclave deployments with signed OCI bundles, ZDR LLM boundaries, ACL mirroring, and offline diagnostics.
In this lesson (3 bite-sized sections)
Three enterprise deployment topologies and trust boundaries
In healthcare, banking, and defense, security architecture decides whether an FDE project ever leaves staging. Regulated buyers frequently prohibit sensitive records, embeddings, or prompts from touching a vendor's multi-tenant cloud. Rather than maintaining incompatible code forks per customer, mature FDE platforms ship one containerized product across three deployment tiers: Multi-Tenant SaaS, Customer VPC (BYOC), and Air-Gapped Enclave. Choosing the narrowest tier that clears legal and infosec review preserves upgrade velocity while avoiding needless enclave overhead.
| Dimension | Multi-Tenant SaaS | Customer VPC (BYOC) | Air-Gapped Enclave |
|---|---|---|---|
| Data residency & keys | Vendor cloud & vendor KMS | Customer VPC & customer KMS (CMK) | On-prem enclave & hardware HSM |
| Network egress | Public HTTPS & SaaS APIs | PrivateLink / PSC, zero public egress | Zero external connectivity (diode) |
| LLM inference boundary | Vendor API with ZDR contract | VPC-private Bedrock, Vertex, or vLLM | Local self-hosted weights on enclave GPUs |
| Release cadence | Continuous (daily) | Pull-based weekly signed releases | Quarterly signed OCI bundle + SBOM |
| Support & telemetry | Live vendor APM & traces | Scrubbed metrics via support token | Redacted offline diagnostic bundle |
Match each customer requirement to the narrowest deployment topology that satisfies it.
Sort 4 more items to check
Control-plane vs data-plane split, ZDR, and ACL mirroring
In a Customer VPC (BYOC) deployment, the data plane (app runtimes, vector stores, Ontology databases, object buckets, and customer-managed KMS keys) runs exclusively inside the customer's cloud account with zero public internet egress. A thin vendor control plane communicates only over AWS PrivateLink or GCP Private Service Connect to publish signed release manifests, collect scrubbed liveness heartbeats, and verify license status. Raw documents, embeddings, prompts, and query outputs never cross out of the customer VPC.
Customer VPC (BYOC) zero-egress architecture: an architecture diagram of 8 components and 7 connections. Full description follows.
- Vendor Control Plane (Manifests & Health): external system, in Vendor Cloud (Metadata Only).
- PrivateLink / PSC Endpoint: load balancer, in Customer VPC (Zero Public Egress).
- Customer IdP & ACL Mirror (RBAC/ABAC): service, in Customer VPC (Zero Public Egress).
- Customer-VPC App & Agent Runtime: service, in Customer VPC (Zero Public Egress).
- Customer KMS (CMK Envelope Keys): cache, in Customer VPC (Zero Public Egress).
- Private Vector & Ontology Store: database, in Customer VPC (Zero Public Egress).
- VPC-Local LLM Endpoint (ZDR): service, in Customer VPC (Zero Public Egress).
- Redacted Diagnostic Bundle Export: queue or log, in Customer VPC (Zero Public Egress).
- Vendor Control Plane (Manifests & Health) sends asynchronously to PrivateLink / PSC Endpoint (signed digest).
- PrivateLink / PSC Endpoint sends asynchronously to Customer-VPC App & Agent Runtime (pull release).
- Customer IdP & ACL Mirror (RBAC/ABAC) calls synchronously Customer-VPC App & Agent Runtime (RBAC/ABAC claims).
- Customer-VPC App & Agent Runtime calls synchronously Private Vector & Ontology Store (ACL-filtered query).
- Customer KMS (CMK Envelope Keys) calls synchronously Private Vector & Ontology Store (CMK decrypt).
- Customer-VPC App & Agent Runtime calls synchronously VPC-Local LLM Endpoint (ZDR) (ZDR inference).
- Customer-VPC App & Agent Runtime sends asynchronously to Redacted Diagnostic Bundle Export (scrubbed bundle).
Two AI-specific boundaries are non-negotiable here. First, enforce Zero Data Retention (ZDR) on LLM endpoints: disable prompt/completion persistence, human abuse review, and model training reuse, backed by VPC-private endpoints (AWS Bedrock, GCP Vertex Private Service Connect, or self-hosted vLLM nodes) rather than public API gateways. Second, continuously mirror RBAC and ABAC document ACLs (group memberships, clearance levels, and regional ethical walls) from Okta, Active Directory, or SharePoint into index metadata so unauthorized chunks are filtered at query time before entering the model context window. Relying on VPC peering with broad CIDR routes is an anti-pattern; prefer unidirectional PrivateLink endpoints so customer subnets remain unreachable from vendor infrastructure.
Air-gapped supply chain and zero-SSH diagnostics
Inside an air-gapped enclave, every hidden internet assumption crashes at startup: floating :latest Docker tags, runtime Hugging Face tokenizer fetches, external OCSP revocation checks, and SaaS error trackers all fail closed. Your release pipeline must package a reproducible OCI artifact bundle: immutable SHA-256 image digests, Helm charts, database migrations, local model weights, a machine-readable SBOM (SPDX or CycloneDX), and Sigstore/Cosign signatures verified by the enclave admission controller before mirroring into an offline registry.
Because FDEs cannot SSH into customer enclaves or stream live logs outward, build a deterministic diagnostic bundle generator into the product. One CLI or admin command exports pod health, queue depths, schema-drift counters, and latency histograms while stripping PII and raw payloads via strict field allowlists, allowing the customer's security officer to inspect and hand off a single scrubbed archive.
Recap: pick the narrowest deployment topology that meets compliance, isolate customer data and ZDR inference inside the customer VPC, enforce mirrored ACLs before retrieval, and ship signed offline OCI bundles plus redacted diagnostic exports for air-gapped support.
Sources: AWS PrivateLink Documentation · Sigstore Cosign Verification · NIST SP 800-204D, Software Supply Chain Security
Apply
Your turn
The task this lesson builds to.
Architect a Customer VPC (BYOC) deployment for a healthcare AI assistant that indexes 40 million clinical notes, enforces Active Directory group permissions, prohibits PHI from leaving the hospital's AWS account, and still receives biweekly platform updates.
Think about
- Which components run in the hospital's AWS VPC versus the vendor's control plane?
- How do you guarantee zero public internet egress while serving LLM inference and biweekly releases?
- How do Active Directory group permissions stay enforced as clinicians change departments?
- How do FDEs troubleshoot indexing or latency regressions without SSH access or PHI leakage?
Draft your design answer here Save your draft, compare against the model answer, and track progress.
Practice
Make it stick
A second problem on the same idea, so it survives past today.
Evaluate a startup's first attempt to package its SaaS agent for an air-gapped financial enclave: the Helm chart references ':latest' Docker Hub tags, downloads Hugging Face tokenizer configs on pod startup, calls an external Sentry DSN for stack traces, and ships no SBOM. List every failure that will break on Day 1 inside the enclave and specify the reproducible offline packaging and support workflow.
Think about
- What fails immediately at pod startup and admission control inside a zero-egress enclave?
- Why will bank security reject unsigned images without an SBOM?
- How should the startup replace live Sentry stack traces without blinding on-call support?
Draft your design answer here Save your draft, compare against the model answer, and track progress.