Skip to content
Ylabator

Private Cloud, On-Prem or Air-Gapped AI?

Owning the hardware settles where inference runs. Patching, model updates, remote support, backups and incident response decide whether the deployment stays private, and an air gap is a procedure, not a product.

Topics
Confidential Computing
Level
Founder / builder
Read
4 min
Published
2026-11-12
Reviewed
2026-11-12
Post-launch queue

The problem

In December 2021, ESET published a study of 17 malicious frameworks built to attack air-gapped networks over 15 years. Every one of them used USB drives to move data in and out of the isolated network, and more than 75% used malicious LNK or autorun files on those drives [1]. ESET found no case of the exotic covert channels that make headlines. The gap was crossed by the media people carried across it.

That finding matters more now that owning inference is cheap. OpenAI's open-weight gpt-oss-120b fits on a single 80 GB GPU, and gpt-oss-20b runs within 16 GB of memory [2]. A team can run a capable model in its own rack, or in a room with no network cable at all.

The mistake is equating ownership of hardware with control of every data flow. The model still needs patches, new weights, a support path when it breaks, backups, power and someone on call. Each of those is a data flow or an access path. A law firm that wants offline document search and also expects instant access to hosted frontier models has two requirements that conflict unless it designs an approved transfer mechanism (an illustrative scenario). The constraint is usually people, not GPUs: in a May 2026 Citi Institute report, 57% of family offices named lack of internal expertise as the biggest barrier to AI adoption [3].

How it works

There are three options, and each moves responsibility to a different place.

Private cloud runs the model in an environment reserved for you inside a provider's cloud: a dedicated tenant, VPC or subscription, using hosted models or your own GPUs. The provider runs the hardware. Under AWS's shared responsibility model, the provider secures the infrastructure and you secure your content and the configuration of the services you use [4].

On-prem runs the model on your hardware, in your building or colocation. You own the GPUs, the network, the patch cycle and the pager. Nothing is shared with other customers.

Air-gapped is on-prem with no network path to the outside. Every update, model and dataset crosses on physical media, through a procedure.

The diagram turns the choice into eight rows to decide for each option:

  • Endpoints. Which model endpoints are reachable at all. In private cloud, a hosted frontier model may be one API call away. Air-gapped, only local models exist.
  • Patches. Who applies them, and how they arrive. Air-gapped patches arrive on media, which is the path ESET's frameworks used [1].
  • Remote support. Permitted, or an approved exception with a time limit and a log.
  • Model updates. An approved transfer mechanism: who downloads weights, how they are verified, who carries them in.
  • Licensing. Terms for the chosen environment. Some licenses assume network activation.
  • Backup media. Location, encryption and handling.
  • Electricity. Capacity and continuity for GPU servers, which private cloud includes in the price.
  • Incident response. Who responds, with what access, at what hour.

Isolation, upgrades, latency, operations, model availability, budget and recovery trade against each other on every row. Microsoft's confidential GPU documentation states the trade directly for one row: high availability and disaster recovery for those VMs are the customer's job [5].

Deployment matrix

Fig. 14
Deployment dimensions to decide for private cloud, on-prem and air-gapped options
DimensionDecide for each option
EndpointsWhich model endpoints are reachable
PatchesWho applies them, and how they arrive
Remote supportPermitted, or an approved exception
Model updatesApproved transfer mechanism
LicensingTerms for the chosen environment
Backup mediaLocation and handling
ElectricityCapacity and continuity
Incident responseWho responds, with what access
An air gap is an operating regime, not a product label. Decide each row for each option, and document every approved exception.

By the numbers

air-gap attack frameworks studied by ESET that used USB drives to move data [1]
17 of 17
of those frameworks used malicious LNK or autorun files on the drives [1]
75%+
single GPU that fits gpt-oss-120b, with gpt-oss-20b running in 16 GB [2]
80 GB
of family offices citing lack of internal expertise as the top AI barrier [3]
57%
RowPrivate cloudOn-premAir-gapped
EndpointsHosted and own models, restricted by network policyOwn models, optional outbound APIOwn models only
PatchesProvider for infrastructure, you for workloads [4]You, over the networkYou, on scanned media [1]
Remote supportProvider support channelsVendor VPN as an approved exceptionEscorted on-site only
Model updatesPull from registryPull, then verify checksumsMedia transfer with checksums and a second person
LicensingCloud termsHardware and software licensesOffline activation required
Backup mediaProvider snapshotsYour encrypted backupsEncrypted media in a controlled store [6]
ElectricityProviderYour capacity and UPSYour capacity and UPS
Incident responseShared with provider [4]Your teamYour team, on site
Deployment matrix, typical answers to decide and document for each option [1][4][5][6]

The ESET numbers explain why the air-gapped column has "media" in three rows. Each media transfer is the attack path, so each needs scanning, logging and a named person [1]. The gpt-oss figures explain why the middle column is now realistic for small teams: the GPU is a purchase order [2]. The Citi figure explains why it often fails anyway: the patch, support and incident rows need people that many firms do not have [3].

Implementation

Write the matrix as a file in the repository and review it like code. Every cell gets an owner and every deviation becomes a dated exception. The format below is our own; adapt the keys.

deployment-matrix.yamlyaml
option: air_gapped          # private_cloud | on_prem | air_gapped
workload: document-search
model:
  name: gpt-oss-20b
  weights_sha256: "<recorded at import>"
rows:
  endpoints:        { decision: "local inference server only", owner: platform }
  patches:          { decision: "monthly media import, scanned twice", owner: security }
  remote_support:   { decision: "none; escorted on-site visits", owner: it-ops }
  model_updates:    { decision: "two-person media transfer, checksum verified", owner: platform }
  licensing:        { decision: "offline activation keys stored in safe", owner: legal }
  backup_media:     { decision: "encrypted drives, off-site safe, quarterly test", owner: it-ops }
  electricity:      { decision: "UPS 30 min, generator contract", owner: facilities }
  incident_response: { decision: "on-site responder within 4 hours", owner: security }
media_transfer:
  usb_ports: disabled_except_kiosk
  kiosk_scans: 2
  log: transfers.csv          # date, carrier, files, hashes, approver
exceptions:
  - id: EX-001
    row: remote_support
    reason: "vendor GPU firmware fault"
    approved_by: cto
    expires: 2026-12-31

Three rules make the file worth having. A row without an owner blocks launch. An exception without an expiry date is rejected in review. And the media transfer log is a control in its own right: ESET's recommendations start with disabling USB ports where possible and sanitizing drives before they enter the isolated network [1].

Map the rows to NIST SP 800-53 control families when an auditor asks: boundary protection for endpoints, configuration management for patches and model updates, media protection for transfers and backups, contingency planning for power and recovery, incident response for the last row [6].

Test it

Test the boundary you claim, then test recovery. The script runs inside the isolated network and checks that the local model answers while every outbound path fails.

egress_test.shbash
#!/usr/bin/env bash
# Run from a host inside the AI network segment. Expected: all PASS, exit 0.
set -uo pipefail
MODEL_URL="${MODEL_URL:-http://10.20.0.5:8000/v1/models}"   # local OpenAI-compatible server
fail=0

# 1. The local model server must answer.
if curl -sf --max-time 5 "$MODEL_URL" >/dev/null; then
  echo "PASS local model reachable"
else
  echo "FAIL local model unreachable"; fail=1
fi

# 2. Public names must not resolve through any configured resolver.
if getent hosts huggingface.co >/dev/null 2>&1; then
  echo "FAIL public DNS resolves"; fail=1
else
  echo "PASS public DNS blocked"
fi

# 3. Direct TCP egress by IP must fail, bypassing DNS.
for target in 1.1.1.1:443 8.8.8.8:443 9.9.9.9:443; do
  if timeout 5 bash -c "</dev/tcp/${target%:*}/${target#*:}" 2>/dev/null; then
    echo "FAIL egress to $target"; fail=1
  else
    echo "PASS no egress to $target"
  fi
done

# 4. DNS straight to a public resolver over UDP must time out.
if dig +time=3 +tries=1 @8.8.8.8 example.com >/dev/null 2>&1; then
  echo "FAIL direct DNS to 8.8.8.8"; fail=1
else
  echo "PASS direct DNS blocked"
fi
exit "$fail"

Expected result: six PASS lines and exit code 0. Any FAIL is an undocumented path out.

  • Run the script from every segment that can reach the model, not only from the model host.
  • Run a disaster recovery exercise: restore the model server from backup media onto spare hardware, timed.
  • Walk one model update through the media procedure end to end, and check the transfer log.
  • Document every approved exception with its expiry date, and retest when one expires.

Decision

Choose the least complex deployment that satisfies a named constraint.

  • Private cloud is the default for most teams: no hardware, provider-run power and patching, and hosted models available. Your work is identity, network policy and logging [4].
  • On-prem fits when a contract or regulator excludes third-party infrastructure, and you can staff patching and on-call. Hardware is the small cost [2][3].
  • Air-gapped fits only a named network threat, with a written media procedure, disabled USB ports and a transfer log [1]. Expect slower model updates and no hosted frontier models.

If the matrix has rows nobody will own, the deployment is not ready, whatever hardware it runs on.

Sources

  1. [1]Jumping the air gap: 15 years of nation-state effort (opens in a new tab)ESET WeLiveSecurity, December 2021
  2. [2]gpt-oss-120b model card (opens in a new tab)OpenAI on Hugging Face, August 2025
  3. [3]AI in the Family Office (opens in a new tab)Citi Institute, May 2026
  4. [4]Shared Responsibility Model (opens in a new tab)AWS, November 2026
  5. [5]Azure Confidential GPU options (opens in a new tab)Microsoft Learn, February 2026
  6. [6]SP 800-53 Rev. 5, Security and Privacy Controls for Information Systems and Organizations (opens in a new tab)NIST, December 2020

Technical guidance, not security certification or legal advice.

All Private AI articles