Building for air-gapped environments

The technical and operational challenges of deploying software into networks that never connect to the internet, drawn from defence and critical infrastructure.

10 min read

Air-gapped networks are systems physically isolated from the internet. They are common across defence, critical infrastructure and sensitive government operations, because some assets are valuable enough to justify the operational cost of isolation.

Building software for these environments means setting aside assumptions built into modern development practice.

The cloud-native problem

Modern software architecture assumes constant connectivity:

  • Microservices communicating over networks
  • Cloud-based authentication and authorisation
  • Automated updates and patches
  • Telemetry and monitoring sent to external systems
  • SaaS licensing and feature flags

Each of these assumptions fails in an air-gapped environment. Running the same services locally is rarely enough, and most need to be re-architected.

Authentication without the cloud

Cloud identity providers (Azure AD, Okta, Auth0) are not available. Local Active Directory is part of the answer, but many air-gapped environments have specific identity requirements:

  • Integration with existing identity infrastructure
  • Hardware token or CAC support
  • Offline authentication
  • Complex authorisation models that map to organisational hierarchies

Authentication has to be designed into the product from the start. It cannot be delegated to a cloud provider.

Updates without internet

The SaaS model of continuous updates does not work. Instead, you need:

  • Stable, versioned releases that can be tested before deployment
  • Portable update mechanisms (often physical media)
  • Clear change documentation for security review
  • Rollback that works offline
  • Update processes that cope with long gaps between versions

This is closer to traditional on-premises software than to cloud-native development. It still has to be combined with modern security practice and a reasonable pace of development.

Monitoring without phoning home

Most modern applications send telemetry to external services. In an air-gapped environment that is a security violation, yet operators still need visibility of system health and performance.

This requires:

  • Complete on-premises monitoring stacks
  • Local log aggregation and analysis
  • Offline diagnostic tools
  • Secure, controlled mechanisms for any data that does need to leave (often sneakernet with formal approval)

Licensing without connectivity

SaaS licensing assumes connectivity. Air-gapped licensing requires:

  • Offline licence verification
  • Grace periods for disconnected operation
  • Licence updates that do not need real-time connectivity
  • Trust models that work without contacting the vendor

Software has shipped with offline licensing for decades, so this is a solved problem. Many modern vendors no longer support it.

How infraPatterns approaches this

infraPatterns, which is in the design phase, is intended to address this through declarative, composable infrastructure patterns. Instead of rewriting automation for each environment, engineers will express intent through patterns that deploy consistently to connected and air-gapped networks.

The design separates what you want (infrastructure intent) from how it is built (provider-specific implementation). Patterns encode established practice and security controls, and a composition engine generates the deployment artifacts for each target environment.

The goal is to raise the level of abstraction so that air-gapped environments can be automated to the same standard as connected ones.

Designing for disconnected networks

Critical infrastructure includes networks that will never connect to the internet. Software vendors that want to serve these operators need to design for disconnected operation from the start.