@GoogleCloudTech: https://x.com/GoogleCloudTech/status/2103546141795143800

X AI KOLs Timeline News

Summary

The article details four secure architectures for private and local AI deployment, ranging from client-side inference to air-gapped data centers, to address data residency, latency, and regulatory requirements.

https://t.co/RA0FozDTJa
Original Article
View Cached Full Text

Cached at: 09/26/26, 08:54 AM

4 architectures for running private and local AI without leaving your security boundary

Most enterprise architecture reviews treat AI deployment as a trap: either send sensitive payloads to a multi-tenant public API, or rack your own GPUs and build an inference platform from scratch. Once data residency rules, sub-50ms latency targets, or strict regulatory controls enter the room, a single centralized endpoint stops working.

That binary choice is misleading. In practice, “private AI” is not one deployment model. It should be thought of as more like a spectrum: it covers everything from running models right on a user’s local NPU to setting up secure cloud environments and fully air-gapped server racks. The real engineering job, and challenge, is matching each workload’s threat model and latency budget to the right hardware boundary.

By Sergio Villani, Technical Solutions, Google Cloud AI

Here are the four isolation tiers we use with engineering teams today, ordered from the client device to the air-gapped data center:

  • Client-side silicon (LiteRT, LiteRT-LM, LiteRT.js, and Gemini Nano) for zero-egress, 0ms-network-RTT inference on mobile NPUs and browsers.

  • Confidential Computing enclaves (Confidential VMs with NVIDIA H100 GPUs and Confidential Space) for hardware-encrypted CPU and GPU memory in the cloud.

  • Private VPC self-hosting (GKE with vLLM and JetStream) for full weight and log custody inside a VPC Service Controls perimeter.

  • Physically disconnected racks (Google Distributed Cloud Air-Gapped) for sovereign workloads with zero connectivity to Google or the internet.

1. Run inference on client silicon when raw media cannot cross the network

If you are building a healthcare intake app, a financial document scanner, or an accessibility tool, the cleanest way to pass a privacy audit is to never transmit the user’s raw payload at all. When inference executes inside the client application or browser runtime, raw camera frames, voice audio, and local files stay in local RAM. You also drop your backend token bill to zero and eliminate network round-trip latency (0ms RTT).

We split client-side execution across two paths depending on whether you ship your own weights or call a system-managed model.

When you need custom or open weights (such as quantized Gemma 3 1B or 4B), LiteRT (formerly TensorFlow Lite) compiles and executes models directly on mobile and embedded silicon using hardware delegates for Qualcomm Hexagon DSPs (QNN), MediaTek NeuroPilot, Apple Metal and Core ML, GPU (MLDrift), and XNNPACK for CPU. For generative AI pipelines across mobile, desktop, and web, LiteRT-LM and LiteRT.js (@litertjs/core) execute quantized models directly on client hardware using WebGPU in the browser, with WebAssembly (XNNPACK) as the CPU fallback.

When you cannot afford to add a multi-gigabyte model download to your mobile APK or web bundle, Gemini Nano runs as a shared system service. On Android, apps reach AICore-hosted Gemini Nano over IPC through the ML Kit GenAI APIs (com.google.mlkit:genai-summarization, genai-proofreading, genai-rewriting, genai-image-description, genai-speech-recognition, and the low-level genai-prompt API), sharing a single system-managed model instance across the OS without bundling weights in the APK. On desktop, Chrome ships Gemini Nano natively behind its built-in Web AI APIs, executing inference locally with no round trip to Google’s servers for the model call itself.

How to put this to work: Audit your current LLM pipeline for pre-processing steps like PII redaction, voice transcription, or draft summarization. You can offload PII scrubbing to a quantized Gemma model in the browser using LiteRT-LM and LiteRT.js (@litertjs/core) on WebGPU in an afternoon, ensuring raw user inputs are sanitized on the client before a single packet touches your VPC.

2. Encrypt CPU and GPU memory in use when you want cloud scale with verifiable isolation

Sometimes a 3B parameter on-device model isn’t enough, and you need 70B+ parameter reasoning in the cloud. If you are processing regulated healthcare records or combining datasets from two competing banks, standard encryption at rest (CMEK) and in transit (TLS) still leaves a gap: data must be decrypted in memory during inference. Your security team will ask who could inspect that memory if a host hypervisor were compromised.

Google Cloud closes that gap at the silicon layer with Confidential Computing. Standard Confidential VMs use AMD SEV-SNP and Intel TDX to encrypt CPU system memory with ephemeral keys generated inside the CPU die, blocking the host hypervisor and cloud administrators from reading VM memory.

For LLM workloads, CPU memory encryption alone is not enough because model weights and KV-cache activations live in GPU VRAM. By deploying Confidential VMs on A3 instances (a3-highgpu-1g) with NVIDIA H100 GPUs, the Intel TDX CPU enclave establishes an encrypted SPDM session across PCIe directly to the NVIDIA Hopper H100 hardware TEE. Both CPU RAM and GPU High-Bandwidth Memory (HBM) remain encrypted during active token generation.

When multiple organizations need to run joint inference without trusting each other or the workload operator, Confidential Space wraps the workload in a locked-down, immutable container image on Container-Optimized OS. Before Cloud KMS releases the decryption keys for the model weights or input dataset, the hardware generates a cryptographic remote attestation token proving that the exact signed container image is running unmodified inside the enclave.

How to put this to work: For CPU-bound orchestration and RAG pipelines on GKE, enable Confidential GKE Nodes (–enable-confidential-nodes) on N2D/C2D (AMD SEV-SNP) or C3 (Intel TDX) node pools. For GPU-accelerated LLM inference, deploy a standalone H100 Confidential VM (a3-highgpu-1g) paired with Confidential Space so your Cloud KMS key policy rejects decryption requests from any unattested container image.

3. Self-host open weights inside a zero-egress VPC when you need total control over weights and logs

When compliance mandates that you control exact model checkpoints, weight lifecycles, and every token trace log inside your own network boundary, you need either private transport to managed endpoints or full in-VPC self-hosting.

If your team uses managed models on Vertex AI, you do not need to use the public internet. Under the Google Cloud Service Specific Terms for Vertex AI (alongside the Cloud Data Processing Addendum), Google does not use customer prompts or inputs to train foundation models by default, and you can enable Zero Data Retention (ZDR) so payloads are never cached to disk. At the network layer, Private Service Connect (PSC) exposes Vertex AI via a private internal IP inside your VPC, VPC Service Controls (VPC-SC) enforces an identity- and context-aware API perimeter that blocks data exfiltration to unauthorized projects, and Customer-Managed Encryption Keys (CMEK) provides cryptographic kill-switch control over stored artifacts.

When you require full custody of the serving runtime itself, Google Kubernetes Engine (GKE) lets you run open-weight models like Gemma 3, Llama, or Mistral on dedicated GPU node pools (L4, A100, H100) using vLLM, SGLang, or TensorRT-LLM, or on Cloud TPU node pools (v5e, v5p, v6e Trillium) using vLLM’s TPU backend or Google’s TPU-native JetStream engine.

The classic trap in a locked-down GKE cluster is model hydration: if you enforce a strict default-deny internet egress policy, a pod trying to pull weights from Hugging Face at startup will fail. In production, you stage your container images in Artifact Registry and your model weights in an in-perimeter Cloud Storage (GCS) bucket. Your GKE pods pull weights directly over Google’s internal network via Private Google Access (PGA) without opening an internet NAT gateway, while keeping all embeddings and RAG indices inside in-VPC AlloyDB (pgvector) or Qdrant instances with zero public IP exposure.

How to put this to work: Take an hour to test Vertex AI Model Garden’s one-click GKE deployment inside a private subnet with default-deny egress enabled, staging your Gemma weights in a VPC-SC protected GCS bucket so pods hydrate completely over Private Google Access.

4. Deploy on physically disconnected racks when regulations forbid any cloud tether

For defense, intelligence, critical national infrastructure, and strict sovereign banking workloads, even a private fiber link or a hardware enclave inside a public cloud region is legally off the table. When regulations require physical custody of the floor space and zero external network paths, the cloud has to come to your facility as an appliance.

Google Distributed Cloud (GDC) Air-Gapped delivers racked, pre-integrated Google Cloud hardware directly into customer-owned data centers or tactical edge sites. It operates with zero physical or logical connectivity to Google Cloud or the public internet. Local administrators manage their own root hardware security modules (HSMs), PKI certificates, and access policies on their own floor space, satisfying classified air-gap mandates (such as DoD IL6) and strict European data sovereignty and Schrems II residency controls without foreign subprocessor exposure.

Inside that air-gapped rack, engineers don’t drop back to raw Linux scripts. GDC Air-Gapped ships with a local Kubernetes control plane, AlloyDB Omni with pgvector for local RAG, pre-integrated Vertex AI services (Optical Character Recognition, Speech-to-Text, and Translation), and local GPU serving for Gemma and custom open-weight models.

How to put this to work: Map your organization’s workloads against physical sovereignty rules first. If a workload requires surviving a complete WAN sever (like a manufacturing floor, hospital, or defense site), design it against the GKE and AlloyDB Omni APIs in cloud dev today so the exact same container manifests deploy onto a GDC Air-Gapped appliance without code rewrites.

Route workloads across the spectrum instead of picking a single camp

These four tiers are not mutually exclusive. The strongest enterprise architectures compose them inside a single request flow. A mobile banking app can use LiteRT on the device NPU to classify a check image and strip PII locally, send the redacted payload over Private Service Connect into a VPC-SC perimeter, run RAG against an in-VPC AlloyDB vector store, and execute high-stakes reasoning inside an H100 Confidential VM.

Stop treating private AI as an all-or-nothing war between public APIs and bare-metal servers. Classify your data at each step of the pipeline, pick the tightest boundary that fits your latency and compliance budget, and let the hardware enforce the rules.

Get started today

  • On-device & browser WebGPU: Explore the LiteRT and LiteRT-LM documentation and test client-side inference with LiteRT-LM and LiteRT.js (@litertjs/core).

  • Confidential GPUs: Walk through the Confidential GKE Nodes and Confidential Space guides to enable hardware memory encryption on your clusters.

  • In-VPC GKE serving: Deploy open weights with zero internet egress using the GKE AI/ML reference architectures.

Similar Articles