Air-Gapped LLM Deployment in the UAE: Six Things That Break When the Network Is Cut
A UAE bank, a federal authority or a critical-infrastructure operator receives the mandate: the new LLM service must run air-gapped. The first instinct is to treat this as a procurement exercise, buy GPUs, install an inference server and declare victory at go-live. Then in the first week of production, the embedding job tries to reach a hosted API, the licence server refuses to validate offline, and a model update turns into a month-long project. On-premises and air-gapped are not the same operating model, and the expensive half of the second one is people and process, not silicon. This article sets out the four deployment tiers and the one that is routinely mislabelled, the contract language that actually enforces isolation, and the six operational gaps that surface after cutover, each with the specific tool, environment variable or practice that closes it.
Why the mandate is landing now, and what the rules actually say
Two things are pushing air-gapped LLM work up the agenda in the UAE at once.
The first is regulatory. The Central Bank of the UAE's Outsourcing Regulation for Banks (C 14/2021) is unusually concrete about location. Article 6.1 requires that "the Master System of Record, which includes all Confidential Data, is continuously maintained and stored within the UAE". Article 6.3 prohibits sharing a customer's Confidential Data outside the UAE without Central Bank approval and the customer's prior written consent. If your LLM reads documents from that system of record, the text it handles is inside the rule.
The second is national infrastructure. In May 2026, the UAE Cybersecurity Council, e& and Open Innovation AI launched the UAE Sovereign AI Platform, aimed at national-scale AI infrastructure for defence, national security, critical infrastructure and regulated industries. Whatever you build in-house sits in the same policy climate.
Both leave the same gap open. Article 6 tells you where the data must live. It says nothing about how the software stack behaves when the network is cut. A deployment can be fully in-country, fully compliant on paper, and still phone home for licence validation, telemetry or an embedding call. The rest of this article is about that layer.
Four deployment tiers: the trap is row three
Procurement documents we see routinely use "on-premises" and "air-gapped" interchangeably. They should not. The four tiers below come from this air-gap deployment guide, and the operating model only changes completely at the last one.
| Tier | Where data is processed | Outbound dependencies | Typical fit |
|---|---|---|---|
| 1. Public API | Vendor's cloud, often outside the region | Full internet | Non-sensitive workloads |
| 2. In-region cloud | Hyperscaler region inside the UAE | Vendor control plane, licensing, telemetry | Many commercial use cases |
| 3. On-premises, connected | Your datacentre | Licence calls, telemetry, model updates, hosted fallbacks | Commonly mislabelled as air-gapped |
| 4. Air-gapped | Your datacentre | Zero in normal operation | Classified work, core data, defence |
Row three is where organisations get hurt. Products sold as on-premises routinely require connectivity for licence activation, usage metering, crash reporting or model refresh, and many quietly fall back to a hosted endpoint when the local model is saturated. That requirement usually surfaces at the worst moment, during a security review or an audit, months after the contract is signed.
A practical test for tier four: unplug the outbound route, run the workload for a full business day and see what breaks. If anything in the stack retries a DNS lookup, an object-store endpoint or an HTTPS call to a vendor domain, you are on row three.
Procurement language that enforces isolation
Write these requirements into the tender document verbatim, because vendors interpret "air-gapped" differently.
| Clause | What it prevents | How to verify |
|---|---|---|
| No outbound network calls in normal operation, including telemetry, crash reporting and usage metering | Silent exfiltration through "phone home" features | Packet capture during a 24-hour soak test |
| Offline licensing, no call-home for activation or renewal, defined licence-file process | Licence failures at cut-over or renewal | Renewal test with egress blocked |
| Model and container updates delivered as signed artefacts with published checksums | Ad-hoc USB copies of unverified weights | Signature check in the transfer SOP |
| Local registry and package mirror for all dependencies | Containers that pull from the internet on first start | Cold-start test on a clean node |
| Local inference only, no fallback to a hosted endpoint when the local model is busy | Data leaving the boundary under load | Load test at peak concurrency |
| Self-contained logging, monitoring and audit inside the boundary | Operational data leaving with observability agents | Review of agent configs |
Ask the vendor to confirm zero outbound traffic in writing, and ask specifically about the embedding layer. Calling a hosted embedding API sends your document text outside the boundary, which defeats the purpose of the whole programme. It is the single most common leak we see in otherwise careful deployments.
One classification point worth settling early: a model that answers staff questions about policy documents is infrastructure, while one that feeds credit or compliance decisions invites a separate regulatory conversation. Classify the use case before you classify the deployment.
The six things that break after cutover
| # | What breaks | First symptom | What closes it |
|---|---|---|---|
| 1 | Embedding model calls a hosted API | Document text egresses despite a local LLM | Local embedding model plus offline env vars |
| 2 | Model updates become multi-week projects | Teams avoid updating; drift accumulates | Two-phase artefact workflow |
| 3 | No elastic scaling | Latency collapse at peak; unit cost explodes | Conservative capacity plan and admission control |
| 4 | Artefact transfer is improvised | Unverified weights on USB sticks | Owned pipeline with signature verification |
| 5 | Hardware lifecycle without remote access | A failed GPU stalls for weeks | Written RMA terms, spares, degraded-mode runbooks |
| 6 | No in-house evaluation set | Nobody can say if an update helped or hurt | Gold question set re-run on every change |
1. The embedding model quietly calls a hosted API
You moved the LLM inside the boundary and forgot the retrieval stack around it: embedding generation, reranking, OCR, spell-check, translation. Any of them may default to a hosted endpoint. Even the Hugging Face libraries make HTTP calls by default: hf_hub_download checks for a newer revision even when the file is cached, and the Python stack sends telemetry unless you disable it.
Close it by running every model locally and forcing offline behaviour in the runtime environment. The containerised vLLM deployment described in this EPRI paper on containerised GenAI at HPC scale uses exactly this block:
podman run --rm --name=vllm --network=host --ipc=host \
--entrypoint=vllm --device nvidia.com/gpu=all \
-e "OMP_NUM_THREADS=1" \
-e "HF_HUB_DISABLE_TELEMETRY=1" \
-e "VLLM_NO_USAGE_STATS=1" \
-e "DO_NOT_TRACK=1" \
-e "HF_DATASETS_OFFLINE=1" \
-e "TRANSFORMERS_OFFLINE=1" \
-e "HF_HUB_OFFLINE=1" \
-e "VLLM_DISABLE_COMPILE_CACHE=1" \
--volume=./models:/vllm-workspace/models \
${LOCAL_REGISTRY}/vllm/vllm-openai:v0.9.1 serve \
meta-llama/Llama-4-Scout-17B-16E-Instruct \
--tensor-parallel-size=4 --disable-log-requests --max-model-len=65536
HF_HUB_OFFLINE=1 stops the Hub client making HTTP calls and makes API calls raise OfflineModeIsEnabled; DO_NOT_TRACK=1 is honoured across the Hugging Face Python ecosystem as the equivalent of HF_HUB_DISABLE_TELEMETRY. Set them in the container spec, not on someone's laptop.
2. A model update stops being an afternoon
In a connected deployment, moving to a new model version is a configuration change. Offline, it is a project: fetch on a connected host, validate, sign, transfer, redeploy, re-run evaluation. Budget weeks per update, not hours.
NVIDIA's air-gap deployment guide for NIM formalises the two-phase workflow. On a connected host you run download-to-cache and optionally create-model-store with your NGC_API_KEY or HF_TOKEN, then transfer the cache or model store across the boundary. In the air-gapped phase the guide is unambiguous: do not set NGC_API_KEY or HF_TOKEN, because NIM must load everything from local storage.
# air-gapped phase: no keys, local model store only
docker run -it --rm --name=nim-airgap \
--gpus all --shm-size=16GB -p 8000:8000 \
-e NIM_MODEL_PATH=/model-repo \
-e NIM_MODEL_PROFILE=<PROFILE_HASH> \
-e NIM_SERVED_MODEL_NAME \
-v "$MODEL_REPO:/model-repo" \
${NIM_LLM_MODEL_SPECIFIC_IMAGE}:2.1.6
Two traps from the same documentation belong in your runbook. First, pin NIM_MODEL_PROFILE: without it NIM selects a profile for the hardware, which on multi-GPU hosts can name a speculative-decoding draft model that is not in your store, and the download fails offline. Second, in release 2.1.6 some profiles fetch a separate draft model from its registry at every start and exit if they cannot reach it. Stage the draft locally and set NIM_DRAFT_MODEL_PATH, or disable speculative decoding with NIM_SPECDEC_ENABLE=0. Pin NIM_MODEL_PATH to a fixed revision rather than a moving tag.
3. There is no elastic scaling, and utilisation decides your unit cost
Air-gapped capacity is whatever you bought. There is no burst to a public endpoint, so peak concurrency has to be sized up front, and GPU memory, not compute, is the binding constraint: weights plus the key-value cache for your concurrent requests.
The EPRI figures are a useful reference point. Llama 4 Scout 17B-16E-Instruct is roughly 200 GiB of weights; on a node with 4 x 80 GiB H100 GPUs, vLLM used about 54 GiB per GPU for weights and the remainder for KV cache, and needed --max-model-len=65536 because the model's 10M token default context window does not fit. Measured with the ShareGPT workload, one node delivered 103 tokens per second at single-request concurrency and up to 4313 tokens per second at batch 1024. Startup for a model that size takes 30 minutes or more, so plan rolling upgrades accordingly.
Capacity has a price tag. At current list prices, an 8-GPU HGX H100 server is about $480,000 (a DGX H100 with the same GPUs is $832,000; an HGX H200 with 1,128 GB of HBM3e is $528,000), at roughly 10 kW of peak draw per node. Over three years the hardware works out near $2.28 per GPU-hour at 100% utilisation but about $9.13 at 25%. Air-gapping removes burst capacity, so a badly sized system is permanently expensive. Close the gap with admission control, request queues and per-team budgets: a gateway such as FastLLM Proxy puts routing, budgets and access control for your own LLM servers in one place, which is what you need when there is no hosted fallback to absorb the load.
4. Nobody owns the artefact transfer pipeline
Weights, container images, Helm charts, model stores and tokenisers all have to cross the boundary, regularly and verifiably. Without an owner, this degrades into USB sticks and ad-hoc checksums.
Build it properly. Use skopeo to move images into your local registry; its sync mode is documented specifically "for populating registries running inside of air-gapped environments":
# connected host
skopeo copy docker://docker.io/vllm/vllm-openai:v0.9.1 \
oci-archive:/media/usb/vllm-v0.9.1.tar:vllm/vllm-openai:v0.9.1
# inside the boundary
skopeo copy oci-archive:/media/usb/vllm-v0.9.1.tar \
docker://registry.internal/vllm/vllm-openai:v0.9.1
Skopeo validates images against the system trust policy and supports signing options (--sign-by-sigstore and related flags), so the receiving side can reject anything unsigned. On the receiving side, run a local registry with scanning. The HPC centre described in the EPRI paper runs GitLab registries for development and Red Hat Quay for production, because Quay does security scanning and can mirror between environments. They also found the registry becomes a bottleneck when many nodes pull a large image at once, so consider flattening images to single-file SquashFS or SIF where your platform allows it.
For NIM, the documented airgap-bundle.sh helper packages the Helm chart, the image list, values files and manifests into one transfer archive. Treat that archive as a release artefact: two-person rule, recorded checksums, malware scan, signed manifest, logged entry into the boundary.
5. Hardware lifecycle without vendor remote access
SXM modules sit on a shared baseboard. A failed GPU is not a five-minute card swap, and in an air-gapped environment the vendor cannot dial in to diagnose. Get written answers before you order: who owns the warranty, whether replacement is advance-ship or return-first, the on-site response time for your datacentre, who is permitted to perform the replacement, and what logs the vendor needs to approve an RMA. Plan for degraded operation: your scheduler and inference service should keep serving on seven GPUs while one is replaced. Hold spares and train your own team, because in tier four the vendor cannot log in and fix it for you.
6. You have no evaluation set of your own
Public leaderboards will not tell you whether the system answers your internal circulars correctly, and Gulf corpora are typically mixed Arabic and English with inconsistent formatting, where many embedding models underperform. Build a gold set of questions with known answers drawn from your own documents (start with 100 per major document class) and re-run it on every change: new model version, new quantisation, new prompt, new retrieval setting. Test quantisation against that set rather than a public benchmark. A 4-bit quantised build may fit on two GPUs instead of four, but only your documents can tell you what it costs in accuracy.
Worked example: cutting over a policy Q&A service in a UAE bank
The figures here are illustrative of the sizing above, not a specific client deployment. Take a representative case: 30,000 internal policy and circular documents, mixed Arabic and English, staff Q&A as the first use case, CBUAE Article 6 applying to the corpus.
- Classify first. Only the document Q&A workload needs tier four. Keep developer experimentation on tier two or three, and move the production retrieval path inside the boundary. Putting everything behind the strictest tier makes the programme slower and more expensive than the risk justifies.
- Size the model and the node. A mid-size instruct model in the Scout 17B class with good retrieval beats a larger model with poor retrieval. Plan one 8-GPU HGX H100 server (about $480,000 at list): 4 GPUs with tensor parallelism 4 for the LLM, the rest for embedding, reranking and evaluation jobs. Confirm rack power for about 10 kW and cooling headroom for Gulf conditions.
- Stage on a connected host. Mirror the serving image (for example
vllm/vllm-openai:v0.9.1), download the weights and the embedding model, package the Helm chart and values. Expect roughly 200 GiB of weights for the LLM alone, plus the embedding model and images. - Transfer and verify. Move the bundle over the approved channel. Verify checksums and signatures before anything is loaded, and log the transfer. No exceptions for "urgent" fixes.
- Deploy offline. Run vLLM with the offline environment block above,
--max-model-len=65536,--tensor-parallel-size=4, serving from the local registry and a mounted model directory. Set the same offline variables for the embedding service. - Prove the air gap. On Kubernetes, apply a default-deny egress NetworkPolicy in the namespace and restart the pods. The NVIDIA guide publishes exactly this pattern:
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: deny-egress
namespace: nim-service
spec:
podSelector: {}
policyTypes:
- Egress
Add explicit egress rules only for DNS and your private registry if the cluster needs them. For single-container testing, --network none plus a health probe from inside the container (curl -sf http://127.0.0.1:8000/v1/health/ready) is a cheap, decisive check.
7. Measure against your gold set. Run the 300-question evaluation set (100 per document class), record accuracy per class, then run a serving benchmark (vLLM ships benchmark_serving.py) at expected concurrency. Store the numbers: they are your baseline for every future update.
8. Budget the operating model. Plan for one offline model update as a standing quarterly project of two to four weeks of engineering effort, an owned transfer pipeline, and hardware utilisation that stays high. At 25% average load the same server costs roughly four times more per useful GPU-hour than at full load.
What to do next
If the air-gap mandate has just landed on your desk, do these five things in order, this quarter.
- Classify your data and use cases. Most organisations find that only a minority genuinely need tier four.
- Put the six procurement clauses above into your requirement document before you speak to vendors, and require written confirmation of zero outbound traffic, including the embedding path.
- Pilot one document-heavy use case with a measurable baseline, and prove the offline path during the pilot: artefact transfer, offline licensing, an offline model update and a deny-egress test.
- Build the evaluation set before the system. It is the only way you will know whether a change helped or hurt.
- Name the operational owners now: transfer pipeline, capacity, hardware lifecycle, model updates. In tier four these are permanent roles, not project tasks.
This is the work we do at Azrty from our team in the UAE: designing and running the platform an air-gapped deployment sits on, from GPU servers and local model serving to gateways and pipelines, under AI infrastructure. If the mandate is new and the operating model is not yet agreed, that is the right place to start. The hardware is the easy half. The six gaps above are the half that decides whether the system is still running, and still trusted, a year after cutover.
Link to this article
Citing this in your own writing? Use the permanent link below.https://www.azrty.com/blog/air-gapped-llm-deployment-in-the-uae-six-things-that-break-when-the-network-is-c
<a href="https://www.azrty.com/blog/air-gapped-llm-deployment-in-the-uae-six-things-that-break-when-the-network-is-c">Air-Gapped LLM Deployment in the UAE: Six Things That Break When the Network Is Cut</a> (Azrty)
