ThoughtsInWords

Air-Gapped Environment Development and Deployment: Data Isolation Behind the Wall

Date: July 11, 2026

Introduction

An air-gapped environment is the most extreme form of data isolation: a network with no connection to the public internet, no outbound telemetry, and no ability to pull dependencies on demand. These environments are standard in defense, critical infrastructure (power grids, water treatment), healthcare systems handling classified data, and financial institutions operating under strict regulatory mandates.

But “air-gapped” doesn’t mean “frozen in time.” Teams still need to ship software, run CI/CD pipelines, manage dependencies, and operate multi-tenant platforms — all without reaching outside the perimeter. This article covers the strategies, tooling, and architecture patterns that make modern development and deployment possible inside the wall.


Why Air Gap?

Before diving into how, it’s worth understanding the why. Air-gapping is not a preference — it’s a requirement driven by:

Driver Example
National Security Military C4ISR systems, intelligence platforms
Critical Infrastructure SCADA/ICS for power, water, nuclear facilities
Regulatory Mandate ITAR, FedRAMP High, IL5/IL6 (DoD), NERC CIP, DPDP (India)
Data Sovereignty Systems where data must never leave a physical jurisdiction
Supply Chain Risk Reduction Eliminating remote code execution vectors from the software supply chain

The common thread: the cost of a breach exceeds the cost of operational inconvenience.


The Anatomy of an Air-Gapped Architecture

An air-gapped environment isn’t a single server — it’s a complete, self-sustaining ecosystem.

┌─────────────────────────────────────────────────────────────────┐
│                    CONNECTED SIDE (LOW SIDE)                     │
│                                                                  │
│  ┌──────────┐   ┌────────────┐   ┌──────────────────┐          │
│  │ Public    │   │ External   │   │ Build & Package  │          │
│  │ Registries│──►│ Artifact   │──►│ Station          │          │
│  │ (npm,     │   │ Mirror     │   │ (Zarf/Bundle     │          │
│  │ Docker    │   │ (Nexus/    │   │  creation)       │          │
│  │ Hub, etc.)│   │ Artifactory│   │                  │          │
│  └──────────┘   └────────────┘   └────────┬─────────┘          │
│                                            │                    │
└────────────────────────────────────────────┼────────────────────┘
                                             │
                              ┌──────────────▼──────────────┐
                              │     THE BOUNDARY             │
                              │                              │
                              │  ┌────────┐   ┌──────────┐  │
                              │  │ Data   │──►│ CDR /    │  │
                              │  │ Diode  │   │ Scanning │  │
                              │  │ (HW)   │   │ Kiosk    │  │
                              │  └────────┘   └────┬─────┘  │
                              │                    │         │
                              └────────────────────┼─────────┘
                                                   │
┌──────────────────────────────────────────────────┼──────────┐
│                    AIR-GAPPED SIDE (HIGH SIDE)    │          │
│                                                   ▼          │
│  ┌──────────────┐   ┌──────────┐   ┌──────────────────┐     │
│  │ Internal     │   │ Internal │   │ Kubernetes /      │     │
│  │ Artifact     │◄──│ CI/CD    │──►│ Compute Cluster   │     │
│  │ Registry     │   │ Pipeline │   │                   │     │
│  │ (Harbor/     │   │ (GitLab  │   │                   │     │
│  │  Artifactory)│   │  CI/     │   │                   │     │
│  └──────────────┘   │  Jenkins)│   └──────────────────┘     │
│                     └──────────┘                             │
│  ┌──────────┐   ┌──────────┐   ┌──────────────────┐        │
│  │ Internal │   │ Secret   │   │ Monitoring /      │        │
│  │ Git      │   │ Manager  │   │ Observability     │        │
│  │ (Gitea/  │   │ (Vault)  │   │ (Prometheus/      │        │
│  │  GitLab) │   │          │   │  Grafana)          │        │
│  └──────────┘   └──────────┘   └──────────────────┘        │
│                                                              │
└──────────────────────────────────────────────────────────────┘

The architecture splits into three zones: the connected side (low side), the boundary, and the air-gapped side (high side). Everything interesting happens at the boundary.


Crossing the Boundary: Secure Data Transfer

The boundary is the single most critical chokepoint. Every byte that crosses it must be accounted for, scanned, and verified.

Data Diodes (Hardware-Enforced Unidirectional Flow)

A data diode is a physical, hardware device that enforces one-way data flow. Unlike a firewall (which is software and can be misconfigured), a data diode physically cannot transmit data in the reverse direction.

Use cases:

Key property: Even if the high side is compromised, the diode prevents any data from leaking back to the connected side.

Content Disarm and Reconstruction (CDR)

CDR doesn’t just scan files for known malware — it deconstructs every file to its structural components, strips all active content (macros, embedded scripts, metadata), and reconstructs a clean version from known-good elements.

Original File ──► Deconstruct ──► Strip Active Content ──► Reconstruct ──► Clean File
     │                                                              │
     └── Embedded macro? Removed.                                   │
     └── Hidden metadata? Stripped.                                  │
     └── Active OLE object? Neutralized.                             │
                                                                     ▼
                                                          Verified safe for import

The Full Boundary Stack

For high-security environments, the boundary often looks like:

  1. Front data diode — enforces one-way flow from low side to boundary zone
  2. CDR/Scanning kiosk — multi-engine malware scanning + CDR processing
  3. SBOM verification — validates Software Bill of Materials against an approved list
  4. Signature verification — cryptographic signature check (cosign, Notary, GPG)
  5. Back data diode — enforces one-way flow from boundary zone to high side

Only artifacts that pass all five checks enter the air-gapped network.


Development Inside the Air Gap

The Self-Hosted Toolchain

You cannot npm install from inside an air gap. Every tool, every dependency, every base image must already exist internally.

Tool Category Connected World Air-Gapped Equivalent
Source Control GitHub, GitLab.com Self-hosted GitLab CE, Gitea
CI/CD GitHub Actions, CircleCI Self-hosted GitLab CI, Jenkins
Container Registry Docker Hub, GHCR Harbor, JFrog Artifactory
Package Registry npm, PyPI, Maven Central Nexus Repository, Artifactory (offline mirrors)
Secrets AWS Secrets Manager, GCP Secret Mgr HashiCorp Vault (self-hosted)
Monitoring Datadog, New Relic Prometheus + Grafana + Loki (self-hosted)
Vulnerability Scan Snyk, GitHub Dependabot Trivy, SonarQube, JFrog Xray (offline)

The Dependency Problem

Dependencies are the #1 operational bottleneck in air-gapped development. You need a strategy for getting them inside.

Strategy 1: Local Mirror Synchronization

Maintain an internal mirror of every package registry your team uses. Synchronize it via controlled, periodic transfers from the connected side.

Connected Side:
  1. npm registry → selective sync → local staging mirror
  2. Vulnerability scan all packages
  3. Approve packages via policy-as-code
  4. Bundle into transfer archive

Boundary:
  5. CDR + signature verification
  6. Transfer via data diode or approved media

Air-Gapped Side:
  7. Import into internal Nexus/Artifactory mirror
  8. Developers install from internal mirror as normal

Strategy 2: Fat Bundles (Build-Once, Deploy-Anywhere)

During the CI phase on the connected side, bake all dependencies into the final artifact. No runtime package fetching is required.

Strategy 3: Zarf Packages (for Kubernetes)

Zarf bundles an entire Kubernetes deployment — container images, Helm charts, manifests, and init components — into a single .tar.zst archive.

# zarf.yaml — declarative package definition
kind: ZarfPackageConfig
metadata:
  name: my-application
  version: 1.2.0

components:
  - name: app-backend
    required: true
    images:
      - registry.example.com/backend:1.2.0
      - registry.example.com/postgres:16
    charts:
      - name: backend
        localPath: ./charts/backend
    manifests:
      - name: backend-config
        files:
          - manifests/configmap.yaml

How it works:

  1. On the connected side: zarf package create pulls all images and charts into a single archive
  2. Transfer the archive across the boundary (data diode, approved USB, secure courier)
  3. On the high side: zarf package deploy pushes everything into the internal cluster, bootstrapping an in-cluster registry if none exists

Zarf’s key innovation: it splits registry images into 512KB chunks stored as Kubernetes ConfigMaps, enabling bootstrap without any pre-existing container infrastructure.


CI/CD Inside the Air Gap

Pipeline Architecture

Your air-gapped CI/CD pipeline mirrors a connected one in structure but differs in a critical way: all inputs are pre-staged.

┌──────────────────────────────────────────────────────────────┐
│                AIR-GAPPED CI/CD PIPELINE                      │
│                                                               │
│  ┌────────────┐   ┌─────────────┐   ┌──────────────────┐    │
│  │ Internal   │   │ Build       │   │ Internal         │    │
│  │ Git Push   │──►│ (All deps   │──►│ Vulnerability    │    │
│  │            │   │  from local │   │ Scan (Trivy /    │    │
│  │            │   │  mirrors)   │   │ SonarQube)       │    │
│  └────────────┘   └─────────────┘   └───────┬──────────┘    │
│                                              │               │
│                                              ▼               │
│  ┌────────────┐   ┌─────────────┐   ┌──────────────────┐    │
│  │ Deploy to  │◄──│ Promote to  │◄──│ Push to Internal │    │
│  │ Cluster    │   │ Prod Repo   │   │ Registry         │    │
│  │            │   │ (Approved)  │   │ (Harbor)         │    │
│  └────────────┘   └─────────────┘   └──────────────────┘    │
│                                                               │
└──────────────────────────────────────────────────────────────┘

Build Reproducibility

In a connected environment, you can rebuild from source at any time by pulling dependencies. In an air gap, if you can’t reproduce the build, you can’t patch it.

Offline Vulnerability Scanning

Cloud-based scanners won’t work. Deploy local instances:

Update the vulnerability databases on a regular cadence (weekly or monthly) via the same boundary transfer process used for software artifacts.


Multi-Tenant Isolation Within the Air Gap

Air-gapped environments that serve multiple tenants (different programs, classification levels, or organizational units) still need tenant isolation — often with even stricter requirements than connected environments.

Classification-Based Segmentation

In defense and intelligence contexts, tenants may operate at different classification levels within the same physical facility.

┌──────────────────────────────────────────┐
│           AIR-GAPPED FACILITY             │
│                                           │
│  ┌──────────────────────────────┐        │
│  │ TOP SECRET / SCI Network     │        │
│  │ (Physically separate cabling) │        │
│  └──────────────────────────────┘        │
│                                           │
│  ┌──────────────────────────────┐        │
│  │ SECRET Network                │        │
│  │ (VLAN-isolated, separate PKI) │        │
│  └──────────────────────────────┘        │
│                                           │
│  ┌──────────────────────────────┐        │
│  │ UNCLASSIFIED Network          │        │
│  │ (Cross-domain solutions to   │        │
│  │  controlled internet access)  │        │
│  └──────────────────────────────┘        │
│                                           │
└──────────────────────────────────────────┘

Kubernetes Namespace Isolation

Within a single air-gapped cluster serving multiple programs or teams:

Cryptographic Tenant Boundaries

Even inside an air gap, assume breach. Use per-tenant encryption:


Multi-Stage Environments in Air-Gapped Networks

You still need dev, staging, and production — but you can’t spin up cloud environments on demand.

Physical vs. Logical Stage Separation

Approach Description Security Level
Separate physical hardware Each stage runs on dedicated machines, separate switches Highest
Separate clusters Distinct Kubernetes clusters per stage, same hardware High
Virtual clusters (vClusters) Lightweight virtual clusters within a shared host cluster Moderate
Namespace isolation Stages separated by namespace with strict RBAC and NetworkPolicy Baseline

Stage Promotion in an Air Gap

Since there’s no cloud API to pull from, promotion happens via internal registries:

Dev Registry ──(scan + approve)──► Staging Registry ──(sign + approve)──► Prod Registry
     │                                    │                                    │
     ▼                                    ▼                                    ▼
  Dev Cluster                       Staging Cluster                      Prod Cluster

Rules:

Data Handling Across Stages

The same rule from connected environments applies with even more force:

Production data never moves to lower environments. In an air gap, there’s no “oops, I’ll just delete it” — data that reaches dev may persist on physical media, backups, or developer workstations indefinitely.


Operational Challenges and Mitigations

Challenge 1: Patch Latency

Problem: Security patches available on the connected side take days or weeks to reach the air-gapped side due to boundary transfer processes.

Mitigation:

Challenge 2: Developer Experience Friction

Problem: Developers accustomed to npm install and docker pull are frustrated by the delay in getting new packages approved and imported.

Mitigation:

Challenge 3: Observability Without Egress

Problem: You can’t send metrics to Datadog or logs to Splunk Cloud.

Mitigation:

Challenge 4: Identity Without Cloud IdP

Problem: No Azure AD, no Okta, no Google Workspace for SSO.

Mitigation:


Anti-Patterns in Air-Gapped Environments

Anti-Pattern Why It’s Dangerous
“Sneakernet” without scanning Unscanned USB drives are the #1 malware vector into air-gapped networks
Single boundary transfer process One bottleneck person = one single point of failure for all software delivery
Treating the air gap as “security enough” Insider threats and pre-compromised media bypass the gap entirely
No internal vulnerability scanning “We’re air-gapped, so we’re safe” is a myth — vulnerabilities still exist
Stale mirrors Months-old package mirrors mean months-old vulnerabilities in your dependencies
Manual environment provisioning In an already-slow environment, manual infra setup compounds delays
Shared credentials across tenants Violates the principle of least privilege; a compromised tenant owns everything

Reference Architecture: The Full Stack

┌──────────────────────────────────────────────────────────────────────────┐
│                         AIR-GAPPED DATA SILO                             │
│                                                                          │
│  ┌─────────────────────────────────────────────────────────────────┐     │
│  │                        BOUNDARY LAYER                            │     │
│  │  Data Diode ──► CDR Kiosk ──► SBOM Check ──► Sig Verify ──►    │     │
│  └─────────────────────────────────────────────────────────────────┘     │
│                                                                          │
│  ┌──────────────┐  ┌──────────────┐  ┌──────────────┐                   │
│  │ DEV STAGE    │  │ STAGING      │  │ PRODUCTION   │                   │
│  │              │  │              │  │              │                   │
│  │ ┌──────────┐ │  │ ┌──────────┐ │  │ ┌──────────┐ │                   │
│  │ │ Tenant A │ │  │ │ Tenant A │ │  │ │ Tenant A │ │                   │
│  │ │ (NS)     │ │  │ │ (NS)     │ │  │ │ (NS/DB)  │ │                   │
│  │ ├──────────┤ │  │ ├──────────┤ │  │ ├──────────┤ │                   │
│  │ │ Tenant B │ │  │ │ Tenant B │ │  │ │ Tenant B │ │                   │
│  │ │ (NS)     │ │  │ │ (NS)     │ │  │ │ (NS/DB)  │ │                   │
│  │ └──────────┘ │  │ └──────────┘ │  │ └──────────┘ │                   │
│  │              │  │              │  │              │                   │
│  │ Synthetic    │  │ Synthetic    │  │ Real Data    │                   │
│  │ Data Only    │  │ Data Only    │  │ Encrypted    │                   │
│  └──────────────┘  └──────────────┘  └──────────────┘                   │
│                                                                          │
│  ┌───────────────────────────────────────────────────────────────────┐   │
│  │                    SHARED INTERNAL SERVICES                        │   │
│  │  Git (Gitea) │ CI/CD (GitLab) │ Registry (Harbor) │ Vault │ IdP  │   │
│  └───────────────────────────────────────────────────────────────────┘   │
│                                                                          │
│  ┌───────────────────────────────────────────────────────────────────┐   │
│  │                    OBSERVABILITY STACK                             │   │
│  │  Prometheus │ Grafana │ Loki │ Jaeger │ Alertmanager              │   │
│  └───────────────────────────────────────────────────────────────────┘   │
│                                                                          │
└──────────────────────────────────────────────────────────────────────────┘

Conclusion

Air-gapped development and deployment is not about building a wall and hoping for the best. It’s about engineering the boundary — making every byte that crosses it auditable, verifiable, and reconstructable — while building a self-sustaining internal ecosystem that gives developers and operators the same capabilities they’d have in a connected world. The shift in mindset from “preventing connection” to “managing the boundary” is what separates functional air-gapped environments from ones where engineers spend more time fighting the infrastructure than shipping software. Combine this with rigorous multi-tenant isolation (per-tenant encryption, namespace segmentation, internal PKI) and disciplined multi-stage promotion (immutable artifacts, automated gates, synthetic data), and you have a data silo architecture that’s both fortress-grade secure and operationally viable.