Skip to content

Building for Cloud and Air-Gap at Once

Learning objectives

By the end of this module you should be able to:

  • Explain why processor architecture (amd64 vs arm64) becomes a first-order concern the moment a system must run both in commercial cloud and on customer-owned hardware.
  • Describe how a single build pipeline can produce multi-architecture artifacts and why that prevents an "on-prem edition" fork.
  • Reason about the deployment spectrum from commercial cloud to fully customer-owned hardware as a configuration continuum rather than distinct products.

Why architecture stops being invisible

For most cloud-native software, the processor architecture underneath is a detail the developer never thinks about — the cloud provides amd64 machines, the CI builds an amd64 image, and the two match. The abstraction holds precisely because one party controls both ends.

A sovereign platform breaks that assumption on purpose. Its whole value proposition includes running on the customer's hardware — colocated racks, on-premises servers, in some cases purpose-built in-boundary appliances. That hardware is increasingly arm64, driven by the energy efficiency and price-per-core advantages that have made ARM processors the growth architecture for both cloud and edge. Meanwhile the commercial-cloud deployments may run amd64. The moment a platform must serve both, architecture stops being an invisible detail and becomes something the build system must treat as a first-class output dimension.

The failure this creates, if unmanaged, is familiar in shape: an image built for one architecture simply will not run on the other. The symptom is abrupt — a container that exits immediately with an "exec format error," because the binary inside was compiled for a processor the host does not have. There is no graceful degradation; the artifact is either built for your architecture or it is useless on it.

One pipeline, many architectures

The naive response is a second pipeline: an ARM build alongside the x86 build. This is the fork from One Image, Every Region wearing different clothes, and it carries the same compounding tax — two build paths that drift, two sets of artifacts to keep in sync, a divergence that surfaces as a bug in exactly one deployment posture.

The disciplined answer is a single pipeline that emits a multi-architecture artifact: one logical image reference that resolves, at pull time, to the binary matching whatever architecture is asking. The commercial-cloud host pulls the amd64 variant; the on-premises arm64 host pulls the arm64 variant; both name the exact same image. The multi-architecture manifest is the mechanism that lets "one image" remain literally true across processor families, the same way deploy-time configuration let it remain true across regions.

This has a sharp practical consequence: the build must actually produce and verify both variants, every time, from the same source. It is not enough to build amd64 and assume the arm64 variant exists. A stale or missing architecture in the manifest fails the same abrupt way — the pull succeeds against the manifest, but the host cannot find its variant, or finds an old one built before the current source. Multi-architecture is a build-and-verify discipline, not a checkbox.

The deployment spectrum as a continuum

The reward for this discipline is that the platform's deployment postures stop being distinct products and become points on a continuum, differing only in configuration and hosting — never in code.

  • Commercial cloud. Managed infrastructure, mixed or amd64 compute, identity and secrets from the provider's services. The lightest-weight posture, appropriate for synthetic or non-controlled data.
  • Provider-hosted, single-tenant enclave. The same images on dedicated hardware the platform operator controls, with tighter isolation — the single-tenant posture with a tenant count of one.
  • Customer-site, operator-installed. The platform runs on hardware physically located at the customer's facility, installed and supported by the platform operator. arm64 in-boundary appliances become natural here. The physical boundary is now the customer's.
  • Fully customer-owned. The customer owns and operates the hardware; the platform operator supplies software and support. The customer's own registry, secret store, and identity provider replace the operator's. This is the posture a compliance assessor evaluates when "sovereign" is the entire claim.

Every one of these runs the same multi-architecture images. The differences — who owns the hardware, which identity provider, which secret store, which registry — are exactly the small, enumerable set of externalized configuration from the previous module, now extended across the full ownership spectrum. There is no "air-gapped edition" with a separate codebase, because there is no separate codebase to have an edition of.

That is the concrete meaning of the sovereignty claim we opened the course with: the difference between "runs in commercial cloud" and "runs fully in-boundary on customer-owned hardware" is a deployment configuration over one multi-architecture build — not a different product, and not a fork that quietly loses features on the air-gapped side.

Key takeaways

  • Processor architecture becomes a first-order build concern the moment a platform must run on both cloud (amd64) and increasingly arm64 customer hardware; a mismatch fails abruptly, with no graceful degradation.
  • A single pipeline emitting a multi-architecture artifact keeps "one image" literally true across processor families — but only if it builds and verifies every variant from the same source, every time.
  • The deployment spectrum from commercial cloud to fully customer-owned hardware is a configuration continuum over one build, which is what makes "runs air-gapped, today, without deleting code" a true statement rather than a marketing one.

For further study

  1. The "exec format error" is a crisp failure. Design the CI verification that would have caught a missing arm64 variant before it reached a deployment. What must the pipeline actually execute, and on what, to prove both variants run?
  2. Consider a workload whose upstream image is available only for amd64. How should a multi-architecture platform handle a dependency it cannot itself rebuild? Enumerate the options and their sovereignty implications.
  3. The deployment spectrum claims each posture is "the same code, different configuration." Pick the two most distant postures — commercial cloud and fully customer-owned air-gap — and enumerate every externalized input that must differ between them. Is the set still "small and enumerable," or does something on the customer-owned end resist being made mere configuration?

This concludes the current curriculum. Return to the course home for the full module list, and see the product site for how these ideas ship as a working platform.