Deployed Lab

Module 6 · Security, governance and the capstone · Chapter 22 · Free

Air-gapped and regulated deployments: offline models and updates

20 min1 clickable picture1 hands-on lab1 predict, 2 quick quizzes, 5-question final quiz5-min video review
In 30 seconds

The picture: the enclave is an island. A ferry brings supplies in and reviewed notes out.

What this chapter gives you
The cold open

Copperline is a made up B2B SaaS company. One regulated customer runs its support copilot in an enclave with no internet route. Priya Nair, the staff platform engineer, shipped the first install and it looked healthy for a day.

The fix was not a tunnel. It was an offline design.

The plan for this chapter
  1. Why regulated customers demand no internet path.
  2. What offline removes, and what each removal breaks.
  3. The mirror: registry, artefact store and bundles.
  4. The update train, capacity and life inside.
  5. The picture, a worked plan, and your lab.

Next: why customers ask for an island.

Step 1: Why regulated customers require no internet path

Some Copperline customers handle data under strict rules: financial records, health data, legal files. Their auditors ask: where can this data go?

This chapter stays at platform operations level: mirrors, bundles, capacity and support. The AI engineering course covers the wider framing in Restricted and air-gapped deployments.

Think of a clean room: materials are checked at the door. Where the picture breaks down:

Next: what vanishes offline.

Step 2: What offline actually removes

Most stacks depend on the internet in unwritten ways. Offline removes all of them at once.

Think of a house off the grid: each supply needs a local plan. Where the picture breaks down:

Next: the mirror pattern.

Step 3: The internal mirror pattern

The pattern has two parts inside, fed on a schedule from outside.

Think of a library branch that lends only from its own shelves, restocked by a monthly crate. Where the picture breaks down:

Next: the update train.

Step 4: The update train

A new model version never jumps straight in. It rides a fixed sequence, each step leaving evidence.

  1. Build and test in staging: staging runs the new model, eval gates and a load check.
  2. Scan and sign: images and weights are scanned, then signed, with a hash for every artefact.
  3. Approve: per Chapter 23, Governance: model inventory, approvals and audit trails: who approved it, for which customer, on what evidence.
  4. Carry in: the bundle moves in the approved window. Nothing else rides along.
  5. Verify inside: signatures and hashes are checked before import. A mismatch stops the update.
  6. Deploy: the rollout follows Chapter 12, Model deploys and rollouts: canary, shadow and rollback, with the previous version kept for rollback.

Predict first:

The hash check is the point of the train. A mismatch means the artefact is not the one scanned, signed and approved. Importing it anyway breaks the audit story. The old version keeps serving, which is why rollback copies stay in the mirror.

Next: fixed capacity.

Step 5: Sizing and capacity with no elastic cloud

Inside, the hardware you have is the hardware you have. There is no burst pool.

Next: observability and support.

Step 6: Observability and support when nothing leaves

Chapter 17, Observability for AI services: traces, tokens and quality signals, still applies. The difference is where telemetry lives.

Think of supporting a lighthouse keeper by letter: checklists out, readings back. Where the picture breaks down:

Next: the picture.

Step 7: The picture, the update train crossing the boundary

Press Next to follow one update into the enclave.

The offline update train A model is tested, scanned and signed in staging, approved, carried in, verified, then deployed inside the enclave. Stagingtest and eval Scan and signhash list built ApprovalChapter 23 gate Carry inset window Enclaveverify, deploy Mirror storeinside only
  1. The new model runs evals and load checks in staging, where mistakes are cheap.
  2. Images and weights are scanned, then signed, with a hash list for every artefact.
  3. Governance approves the exact bundle for the exact customer, per Chapter 23.
  4. The bundle crosses in an approved window, by the agreed method. Nothing else crosses.
  5. Signatures and hashes are checked first. Only then does the Chapter 12 rollout begin.
  6. This version and the one before it stay in the mirror, so rollback needs no fetch.

Next: the worked plan.

Step 8: Worked example, one offline model update

Priya plans a copilot update. Every timing is illustrative. The bundle holds 1 model, 3 images and 1 licence file.

1. Stage and evaluate. Illustrative timings: build and eval gates 3 hours, load check 1 hour. Subtotal: 4 hours, outside the enclave.

2. Scan, sign and approve. Scan 1 hour, signing 30 minutes, governance approval 1 working day. Subtotal: 1 day plus 1.5 hours.

3. Wait for the window. Transfers run twice a week. The bundle misses Tuesday and waits for Friday: an illustrative 3 days. Normal offline.

4. Carry in and verify. Transfer 2 hours for the illustrative 40 GB bundle, checks 30 minutes. Subtotal: 2.5 hours.

5. Deploy and watch. Canary per Chapter 12: 2 hours, plus 1 hour of local checks. Subtotal: 3 hours.

6. The total. Hands on work: 4 + 1.5 + 2.5 + 3 = 11 hours. Elapsed: about 5 working days, because approval and the window set the pace. Set expectations on the 5 days.

Next: your lab.

Step 9: Hands-on lab, plan one offline model update

Why this exercise: offline updates fail on missing steps. A complete plan, in order, is the skill.

Lab: Plan the update from the chapter's lab brief: a new version of the document extraction model for the regulated customer's enclave, where transfers run in one window per week and the customer platform lead approves per Chapter 23. This lab runs in your browser and needs JavaScript enabled.

Next: the field note and mix-ups.

Field note, November 2026

In production practice, offline estates tend to fail on unglamorous dependencies: an expired certificate, a licence, a drifted clock. Teams that run them well inventory every outbound call, and test with no route out first. Confirm transfer and export rules in writing.

Mix-ups to avoid

Chapter quiz

Five questions, 70% to pass.

Review this chapter in 5 minutes

Watch the whole chapter recapped: No internet path, an internal mirror, the signed update train, and fixed offline capacity.

Decision rule: if a step needs the internet, redesign it to run on what is already inside, or carry it in signed, on the train.

Review

Glossary

Air-gapped deployment
No internet path in or out. Example: the customer's copilot enclave.
Enclave
The isolated environment, with its own cluster and rules. Example: a private Kubernetes platform.
Internal registry
Registry inside holding every runnable image. Example: images pinned by digest.
Artefact store
Versioned internal storage for models, packages and licences. Example: versions 4 and 3, kept for rollback.
Signed bundle
Artefacts packaged with a signature and hash list. Example: one model, three images, one licence.
Update train
The fixed sequence moving an update from staging inside. Example: scan, sign, approve, carry, verify, deploy.
Hash check
Comparing a computed hash with the signed list. Example: a mismatch stops the import.
Offline licence file
A licence validated locally, with no server call. Example: renewed before a tracked expiry date.
Reviewed export
Data checked by a person before leaving. Example: a log bundle cleared by the operator.
Load shedding
Delaying low priority work when capacity runs out. Example: extraction queues, copilot stays fast.

Next: "Governance: model inventory, approvals and audit trails".