> This page is for Deploying Proprietary Models with Confidential Computing on Self-Hosted VMs.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/reference-architectures/llms.txt.

# Architecture Summary

The inference service is packaged as an encrypted CVM image. The model provider ships a hardened guest image and encrypted model artifacts. The platform operator launches that image on approved confidential-computing hardware.

The model stays encrypted until the HW and SW infrastructure is cryptographically attested. If attestation passes, the key-release service releases the model key into the CVM. The host can run the service, but it cannot read the model or inference payloads.

Figure 2 shows the untrusted, trusted and attestation boundaries.

![Confidential VM Trust boundaries](/reference-architectures/_fern-files/_img/61f937a7d2c928c61f957fdf101f0ca81f5312e3292efaa394be25ca8c5010d5.webp)

The inference runtime, such as NIM, Triton, vLLM, TensorRT-LLM, or a custom model server, runs inside the measured CVM. Encrypted model artifacts are mounted or fetched as ciphertext and are decrypted only after attestation-gated key release. Any component that can access plaintext model weights, prompts, responses, KV cache, intermediate tensors, or request metadata must be inside the attested trust boundary.

Figure 3 shows the data flow, isolation layers, and policy boundaries.

![Confidential VM Runtime Architecture](/reference-architectures/_fern-files/_img/dde47172d3d35f4c197e5970e5c87fddb0ebd19b4d5f29be028bd607cfb889f2.webp)

**Table 3: Confidential VM Runtime Architecture Flow**

| Figure step | Layer                                | What it does                                                                                                       | Confidentiality role                                                                                                                          |
| ----------- | ------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------- |
| 1-2         | Application and ingress              | Authenticates callers and forwards approved HTTPS traffic.                                                         | Keeps prompts, responses, model data, and keys out of logs and traces.                                                                        |
| 3-4         | Firmware, host, and CVM launch stack | Prepares firmware, KVM/QEMU, OVMF, GPU assignment, the VM image, and measured CVM launch.                          | The platform operator controls launch and availability, but is not trusted with unencrypted model weights, model keys, or inference payloads. |
| 5           | Confidential VM and GPU              | Runs the model server in the measured guest and uses an attested GPU channel for execution.                        | Model weights are readable only inside protected CPU/GPU memory and are never exposed to the host as plaintext.                               |
| 6-8         | Attestation and key release          | Presents attestation evidence, evaluates release policy, and releases the model key only to the approved workload. | Releases model secrets only to an approved workload state.                                                                                    |