Architecture reference

How encrypted AI inference works at ColdVault — encrypted end-to-end: from AMD SEV-SNP Confidential VMs to self-hosted, confidential GPU clusters running open models, hardware-attestable from edge to inference.

Launch ColdVault →

Confidential compute

ColdVault Platform is a shared confidential-inference gateway. In Vault Mode (ColdVault’s default; the alternative, Partner Mode, routes the request to an outside provider instead — see below), every request runs end-to-end on hardware-encrypted infrastructure — plaintext exists only inside the silicon, never in RAM, on the bus, or on the wire. The full request path:

External clients
outside the boundary
api.coldvault.ai
Cloud DNS
TLS 1.3 · encrypted in transit
ColdVault encrypted boundaryon Google Cloud Platform
L4 passthrough Load Balancer
no TLS termination · forwards encrypted bytes straight through
learns live VM membership from the MIG
MIG controller
instantiates · health-checks · restarts failed VMs · autoscales the confidential VM set
Managed Instance Group (MIG)· confidential VM set · managed & autoscaled
VM setvm-1vm-2+ autoscale— each VM runs the same gateway image; shown below as one representative node
AMD SEV-SNP Confidential VM
encrypted memory + CPU registers (in use) · one node of the MIG set
SEV-SNP attestation · provable
Kubernetes
Docker container
in-CVM nginxTLS terminates here · inside encrypted memory
uvicornASGI server · :8080
FastAPI Inference Gateway
request pipeline
Bearer authVault-Mode gateCapability gatemodel registryLLM adapter
Endpoints
POST /api/v1/inferenceGET /api/v1/models
Hardware attestationGET /api/v1/attestationprovable on demand
Vault — from the LLM adapter · TLS 1.3 (gateway → GPU)
Self-hosted GPU clusters
open models · Vault mode · inside the boundary
encrypted inference
GCP dependencies · support lane
Secret Manager
API keys + public-edge TLS cert
Artifact Registry
gateway image
Cloud Logging
usage / audit
Certificate automation
Cloud Run cert-acquire · Scheduler · Eventarc · Workflow
Partner — from the LLM adapter · encrypted transfer (TLS 1.3) · inference runs in plaintext at the provider
External AI providers
Unencrypted AI inference · plaintext during inference
Google Vertex AI
Gemini · Claude · Grok · Qwen · GLM · DeepSeek · Kimi · Llama
OpenAI
GPT
Alibaba DashScope
Qwen
encrypted transfer (TLS 1.3) — in transit & in use
plaintext during inference (unencrypted AI providers)

The path is built so plaintext never leaves the encrypted enclave (the hardware-protected region where data can exist in the clear). The public endpoint sits behind an L4 passthrough load balancer that forwards only encrypted bytes — it holds no Transport Layer Security (TLS) key, parses no HTTP, and sees no plaintext. TLS terminates inside an AMD SEV-SNP (Secure Encrypted Virtualization–Secure Nested Paging) Confidential Virtual Machine (CVM), in an nginx process in encrypted memory, with the certificate pulled from Secret Manager at boot. SEV-SNP encrypts the VM’s memory and CPU register state (building on SEV-ES, the earlier AMD layer that also encrypts the CPU registers) in hardware with a key the hypervisor cannot see, and adds integrity protection and hardware attestation — a hardware-signed proof of exactly which genuine chip and firmware are running — on top, so no host operator or co-tenant (another customer’s VM sharing the same physical host) can read or tamper with it.

From the inference gateway, Vault Mode runs the model on self-hosted, confidential GPU clusters where NVIDIA Confidential Computing (NVIDIA-CC) keeps weights and activations (the model’s learned parameters and the intermediate values it computes as it runs) encrypted outside the GPU silicon and encrypts the CPU↔GPU link — matching what SEV-SNP provides on the CPU side. The only place customer plaintext ever exists is inside the CPU and GPU silicon themselves. The gateway reaches those clusters over a mutually-attested (each end proves its genuine hardware to the other) TLS 1.3 channel — it verifies each GPU node’s SEV-SNP and NVIDIA-CC attestation before sending any data, and both ends generate the channel keys inside the enclave and bind them to that attestation, so the private key never leaves confidential memory and there is no external certificate authority to trust. The deep-dives below open up how the AMD and NVIDIA chips each encrypt their part.

The gateway fleet runs on a Managed Instance Group (MIG) of Confidential VMs that autoscales under load and auto-heals any VM that fails health checks; rolling updates deploy one VM at a time, so a release has no downtime. Certificate rotation is automated end-to-end — a scheduled renewal over ACME (Automatic Certificate Management Environment — the protocol Let’s Encrypt uses) using a DNS-01 challenge (which proves domain control via a DNS record) writes the new cert to Secret Manager and an event-driven workflow rolls the MIG so every VM picks it up at boot, no human in the loop.

Verify the confidential VM

ColdVault’s confidential boundary is not “trust us” — it is verifiable. An authenticated endpoint takes a client nonce (a one-time random value the client supplies, so the chip cannot return an old, pre-recorded proof) and returns a fresh AMD SEV-SNP attestation report bound to that nonce, read directly from the SEV-SNP hardware inside the Confidential VM. The platform verifies the report’s certificate chain — AMD VCEK → ASK → ARK (Versioned Chip Endorsement Key → AMD SEV Key → AMD Root Key — the chain tracing the chip’s signature back to AMD’s root) — and the Trusted Computing Base (TCB) version locally, inside the enclave, and fails closed — it refuses to serve the request — if verification does not pass.

Beyond the platform’s own verdict, the endpoint returns the raw, nonce-bound evidence (the report plus the AMD certificate chain) so a third party can verify it independently and offline — no trust in ColdVault, no call back to any ColdVault or cloud endpoint:

go-sev-guest check -in evidence.bin -inform proto -network=false
# exit 0  → genuine AMD SEV-SNP silicon, bound to your nonce, verified offline against AMD’s root

A short guide at coldvault.ai/verify.html walks through it end to end — exit 0 for genuine silicon bound to your nonce, non-zero for anything else.

This proves a genuine, fresh AMD SEV-SNP processor produced a report bound to your nonce — a silicon-level proof. It is not a transport-channel binding (it does not prove the encrypted connection itself ends inside that chip) or a workload-measurement pin (it does not pin which exact code or container image is running).

Two inference modes, one API

One API, two inference modes, declared per request. Vault Mode is the default described above — end-to-end on hardware-encrypted infrastructure. Partner Mode is the option: every other proprietary frontier model is available through the same API, routed to its provider, where inference runs in plaintext at the provider — for the cases where the customer is fine with the provider seeing the payload, or only that provider has the capability. Providers are not named here by design.

How AMD memory encryption works

Every Confidential Virtual Machine (CVM) gets its own encryption key, made inside the processor’s secure co-processor and never given to any software — not the hypervisor, not the host operating system, not the cloud operator. A dedicated engine in the memory controller encrypts the VM’s data on the fly: it is in the clear only inside the processor’s caches and registers while computing, and encrypted the moment it is written to memory. Anyone reading the RAM, the memory bus, or a memory dump sees only ciphertext.

AMD built this in three steps — which is why the name has three parts:

Secure Encrypted Virtualization (SEV) · 2017
Encrypts the VM’s memory.
+ Encrypted State (SEV-ES) · 2019
Also encrypts the CPU registers when the VM is paused, so the hypervisor cannot read them during a context switch.
+ Secure Nested Paging (SEV-SNP) · what ColdVault runs
Adds integrity protection (the hypervisor cannot silently remap, replay, or corrupt the VM’s memory) and attestation (a signed proof the VM is genuine).

The result: your data is in the clear only inside the physical processor, while it computes.

How NVIDIA confidential computing works

The GPU has a hardware-protected mode of its own. With it on, the GPU’s on-board memory — where the model’s weights and your activations live — is encrypted; anything outside the GPU’s protected core sees only ciphertext. The link between the Confidential VM and the GPU is protected too: the two authenticate each other and negotiate session keys (a standard handshake, the Security Protocol and Data Model, SPDM), then every byte crossing the bus between them travels encrypted and integrity-checked. And like the CPU, the GPU signs an attestation report — so the gateway verifies it is a genuine GPU in confidential mode before sending any data.

The result mirrors the CPU side: weights and activations are encrypted in GPU memory and on the wire to it; plaintext exists only inside the GPU’s compute cores while they run the model.

Abbreviations
Secure Encrypted Virtualization (SEV)
AMD’s hardware encryption of a virtual machine’s memory.
SEV – Encrypted State (SEV-ES)
Adds encryption of the CPU register state on top of SEV.
SEV – Secure Nested Paging (SEV-SNP)
Adds memory-integrity protection and attestation; the level ColdVault runs.
Confidential Virtual Machine (CVM)
A VM whose memory and registers are hardware-encrypted (here, via SEV-SNP).
Trusted Execution Environment (TEE)
The hardware-protected region a CVM runs inside.
Transport Layer Security (TLS)
The encryption protecting data in transit (the “S” in HTTPS).
attested TLS (aTLS)
TLS whose certificate is bound to a hardware attestation, so no outside certificate authority has to be trusted.
Managed Instance Group (MIG)
Google Cloud’s auto-scaling, auto-healing group of identical VMs.
Automatic Certificate Management Environment (ACME)
The protocol (used by Let’s Encrypt) that issues TLS certificates automatically.
Trusted Computing Base (TCB)
The firmware and microcode versions an attestation pins, to block rollback to a vulnerable version.
VCEK, ASK, ARK
Versioned Chip Endorsement Key, AMD SEV Key, AMD Root Key — the AMD certificate chain that signs an attestation back to AMD’s root.
NVIDIA Confidential Computing (NVIDIA CC)
Encrypts GPU memory and the CPU↔GPU link.
Layer-4 load balancer (L4 LB)
Forwards raw network bytes without terminating TLS, so it never sees plaintext or holds a key.
Central Processing Unit (CPU), Graphics Processing Unit (GPU)
The two kinds of silicon inference runs on.
Large Language Model (LLM), Application Programming Interface (API)
The AI model, and the interface clients call it through.