Confidential Computing for AI Model Protection: AWS Nitro Enclaves vs. Azure Confidential VMs vs. NVIDIA Confidential Computing

Proactive Security for the AI Era
NodeZero continuously and autonomously pentests infrastructure, identity, cloud, and now web applications, chaining weaknesses across every domain the way real attackers do. Every finding ships with replayable proof showing exploitable business impact, not theoretical risk.
A team that has decided proprietary model weights, fine-tuned adapters, or sensitive inference inputs need protection from the cloud provider's own operators, from co-tenants on shared hardware, or from a customer contract that demands it, eventually lands on the same three names: AWS Nitro Enclaves, Azure Confidential VMs, and NVIDIA Confidential Computing on H100 or H200 GPUs. They get grouped together as "confidential computing," but they protect fundamentally different amounts of the stack, and only one of the three can run a GPU workload at all. This guide compares what each one actually encrypts, what it takes to integrate, what it costs, and which deployment each one actually fits. It does not pick a universal winner, because the right answer depends on which cloud you are already committed to, whether the workload needs a GPU, and what specifically your threat model or compliance driver requires protected.
At a Glance
| AWS Nitro Enclaves | Azure Confidential VMs | NVIDIA Confidential Computing | |
|---|---|---|---|
| What is protected | CPU and memory of an isolated sub-VM carved out of an EC2 instance | Full VM memory (all of it, including OS and application memory) via processor-level encryption | GPU memory and compute, plus the CPU-GPU PCIe link, layered on top of a CPU-side TEE |
| GPU workload support | None. No GPU passthrough into an enclave, at all | Yes, on the NCCadsH100v5 series (Azure-specific SKU pairing AMD SEV-SNP with H100) | Yes, this is the point of the product |
| Underlying hardware root of trust | AWS Nitro Hypervisor and Nitro System | AMD SEV-SNP or Intel TDX (varies by VM series) | H100/H200 GPU firmware plus a host CPU TEE (AMD SEV-SNP or Intel TDX) |
| Cloud lock-in | AWS only | Azure only | Portable across any cloud or on-prem host running supported CPU plus H100/H200 hardware in CC mode, including Azure's own NCC series |
| Code changes required | Often significant: networking must move to vsock, no persistent storage, no interactive access | Typically none for a lift-and-shift VM migration | None for CUDA application code once the host and driver stack pass attestation |
| Added licensing cost | None beyond standard EC2 instance pricing | None beyond the confidential VM SKU's compute cost | None beyond the GPU instance cost; CC mode is a firmware setting, not a separate SKU |
Treat this table as a starting filter, not a final answer. The real decision hinges on the architecture and operational-effort sections below.
Architecture: What Each One Actually Encrypts
The single most important distinction in this space is scope, not brand. "Confidential computing" is a category, but the three products protect different amounts of the stack.
AWS Nitro Enclaves creates a separate, hardened, minimal sub-VM carved out of the resources of a parent EC2 instance. According to AWS's own documentation, the Nitro Hypervisor isolates the enclave's vCPUs and memory so that the parent instance, including root and admin users on it, cannot access the enclave's data or applications. The enclave has no persistent storage and no external networking, only a local socket connection back to the parent instance. This is CPU and memory isolation only. There is no GPU inside a Nitro Enclave, and AWS's documentation and community reports confirm there is no path to attach one: Nitro Enclaves is a CPU-workload product, full stop.
Azure Confidential VMs work at a different layer. Instead of carving out a smaller enclave inside an instance, the entire VM's memory is encrypted using processor-level technology, either AMD SEV-SNP or Intel TDX depending on the VM series. Microsoft's documentation describes this as a hardware-enforced boundary between the application and the virtualization stack itself, meaning the hypervisor and host management code are excluded from the trust boundary. Critically, Microsoft also ships a GPU-capable confidential VM series, NCCadsH100v5, which pairs AMD SEV-SNP host-level encryption with NVIDIA H100 GPUs. Azure was the first major cloud to reach general availability on this combination.
That NCCadsH100v5 series is also the direct overlap point with the third product. NVIDIA Confidential Computing extends the trust boundary from the CPU TEE across the PCIe bus into the GPU itself. NVIDIA's own developer documentation describes a CC-On mode in which command buffers and CUDA kernels are encrypted and signed before crossing the PCIe bus between CPU and GPU, with encrypted bounce buffers used for staging data in shared system memory. GPU high-bandwidth memory itself is not separately encrypted, since NVIDIA's threat model treats on-die GPU memory as already resistant to the physical attacks the CC mode is designed against; the protection is specifically about what leaves the GPU package over the bus and what the hypervisor or a malicious host administrator could otherwise observe. NVIDIA Confidential Computing requires a compatible host CPU TEE (AMD Genoa/Milan with SEV-SNP, or Intel Sapphire Rapids with TDX in early access) underneath it. It is not a cloud-specific product; it is a GPU and driver capability that clouds and on-prem operators expose, which is why it shows up both as Azure's NCC H100 series and, separately, on other infrastructure that has enabled H100 or H200 CC mode.
Briefings like this, every morning before 9am.
Threat intel, active CVEs, and campaign alerts, distilled for practitioners. 50,000+ subscribers. No noise.
Deployment Model
The three options also differ sharply in what unit of infrastructure they attach to.
Nitro Enclaves is an add-on feature of an existing EC2 instance. You do not deploy a Nitro Enclave on its own; you launch a parent instance built on the AWS Nitro System (most current Intel, AMD, and Graviton instance types qualify) and then create up to four enclaves inside it, each running its own minimal Linux image with no interactive access and no SSH.
Azure Confidential VMs are deployed as a VM size family, not an add-on. You pick a confidential VM size (the DCasv5/DCesv6 general purpose series, ECasv5/ECesv6 memory-optimized series, or the NCCadsH100v5 GPU series) at instance creation time, and the confidential OS disk encryption option is set once and cannot be changed after deployment.
NVIDIA Confidential Computing is a firmware and driver mode, not a separate instance type you provision by name on most infrastructure; it is switched on for supported H100 or H200 hardware and then exposed through whatever VM or container layer the cloud or on-prem operator has built around it. On Azure specifically, that mode is what backs the NCCadsH100v5 series. Elsewhere, it depends entirely on whether the operator (a GPU cloud, a colo, or an on-prem cluster running KVM/QEMU or Kubernetes with Kata containers) has exposed CC mode at all, which is worth confirming before assuming portability.
Integrations: What Ecosystem Each One Locks You Into
Each option's integration story is really a statement of which ecosystem it locks a team into, since none of the three works meaningfully outside its own cloud or hardware family.
AWS Nitro Enclaves: AWS-native, integrates deeply with KMS
Requires an AWS account and a Nitro System-based EC2 instance type. Its most useful integration is with AWS Key Management Service: KMS key policies can require that a decrypt operation only succeed when the enclave's cryptographic attestation measurements match an expected value, which is the primary way teams actually use Nitro Enclaves to protect model weights or secrets. There is no meaningful path to using this outside AWS.
Azure Confidential VMs: Azure-native, ties into Azure Attestation and vTPM
Requires an Azure subscription and one of the confidential VM size families. Boot-time attestation is handled through Azure Attestation, and each confidential VM gets a dedicated virtual TPM for keys and measurements. Support for Azure Backup is in public preview; Azure Site Recovery, Accelerated Networking, and live migration are explicitly unsupported on confidential VMs as of Microsoft's own published limitations list.
NVIDIA Confidential Computing: hardware and driver ecosystem, not a single cloud
Requires H100 or H200 hardware, a compatible host CPU TEE (AMD SEV-SNP or Intel TDX), and a CUDA driver stack that supports CC mode. Attestation runs through the NVIDIA Remote Attestation Service (with a local verification option for air-gapped environments), checking device identity certificates against the NVIDIA Certificate Authority. Because it is a GPU and driver capability rather than a single vendor's cloud product, it can in principle appear anywhere that hardware and host TEE combination is exposed, but each operator has to have actually turned it on. Azure's NCC H100 series is the most mature, generally available example; availability elsewhere should be confirmed directly with the specific cloud or infrastructure provider rather than assumed from the H100 spec sheet alone.
Operational Effort: Attestation Setup and Code Changes
This is where the three products diverge the most in practice, and where teams most often underestimate the work involved.
Nitro Enclaves generally requires real re-architecture. There is no networking into or out of an enclave except a local vsock channel back to the parent instance; any application code that expects normal IP sockets has to be modified to use vsock directly or to route through a vsock-to-HTTP proxy. There is no persistent storage inside the enclave, no interactive shell access for debugging, and the enclave image itself is built and measured as an Enclave Image File (EIF) whose cryptographic hash becomes part of the attestation document. Setting up the AWS KMS condition-key policy that gates decryption on those measurements is an additional one-time integration step. None of this is exotic, but it is real engineering work, not a checkbox.
Azure Confidential VMs are explicitly designed to minimize this burden. Microsoft's own positioning is that these support "cloud migrations without modifying your code": since the whole VM's memory is encrypted at the processor level, an existing application generally runs unmodified once it is deployed on a confidential VM size and passes the platform's attestation check at boot (which will refuse to start the VM if required settings like SEV-SNP are missing). The operational lift is closer to choosing the right VM SKU, choosing whether to enable confidential OS disk encryption up front (a decision that cannot be changed later), and deciding who owns the encryption keys, rather than rewriting application internals.
NVIDIA Confidential Computing sits close to the Azure model for the GPU layer specifically: NVIDIA's documentation states that CUDA applications should run without any changes once the hardware, driver, and attestation are correctly in place, since the CUDA driver handles the encryption workflow transparently in CC-On mode. The real operational work is provisioning correctly (getting a host with a compatible CPU TEE, enabling CC-On mode, and running an attestation check before releasing any sensitive input to the GPU) and building the attestation verification step into your inference pipeline so a compromised or misconfigured GPU is refused rather than silently trusted. A third mode, CC-DevTools, exists specifically so teams can profile performance with security features off before committing to CC-On in production.
Pricing and Availability: Stated Honestly
AWS states plainly that there is no additional charge for using Nitro Enclaves; you pay standard EC2 instance pricing for the parent instance and standard pricing for any other AWS services (like KMS) the enclave calls. It is supported in all AWS regions including GovCloud, with the caveat that it is not supported on Outposts, Local Zones, or Wavelength Zones, and a parent instance is capped at four enclaves.
Azure Confidential VMs are priced by VM size like any other Azure VM, through the standard Azure Pricing Calculator; there is no separate confidential-computing surcharge on compute itself, though Microsoft notes the small VMGS (VM guest state) disk that stores security state may carry a modest monthly storage cost, and that encrypted OS disk pricing changes are scheduled to take effect March 30, 2026. Confidential VM sizes, including the NCCadsH100v5 GPU series, are only available in specific regions where the underlying specialized hardware has been deployed, which should be checked against your required region before committing to a design.
NVIDIA Confidential Computing itself carries no separate license fee; CC mode is a firmware capability of the H100/H200 hardware, not a paid add-on SKU. What you actually pay for is the GPU instance itself, at whatever rate the specific cloud or infrastructure provider charges for that instance type. On Azure, that means the NCCadsH100v5 series pricing. On performance, NVIDIA has published throughput overhead figures showing most LLM inference workloads see roughly 2 to 5 percent throughput overhead in CC-On mode, with an independent academic benchmark study (arXiv:2409.03992) similarly reporting overhead below 5 percent for typical query workloads and the primary bottleneck being CPU-GPU I/O over PCIe rather than the GPU's own compute. Attestation overhead is one-time at instance startup, not per-inference-request, and reported in the low single-digit seconds. Treat these as the most credible published figures available rather than guaranteed numbers for your specific model architecture and sequence lengths; validate against your own workload before relying on them for capacity planning.
AWS Nitro Enclaves: Strengths, Limitations, Best Fit
Nitro Enclaves is the right question only when the workload doing the protecting is itself CPU-bound; when it is, the AWS-native attestation-gated decrypt pattern is one of the more mature patterns in this space.
Strength: zero incremental cost and deep KMS integration
For teams already fully committed to AWS, protecting a CPU-only secret-handling or key-management workload (not the model inference itself, but things like decrypting model weights before loading them, or handling API keys and PII alongside a model) at no additional licensing cost, with a well-documented KMS attestation-gated decrypt pattern, is a genuinely strong and mature fit.
Limitation: cannot run any GPU-dependent inference
This is the disqualifying fact for a large share of AI protection use cases. If the workload that needs protecting is the model inference itself and that model requires a GPU, Nitro Enclaves is not a candidate at all, regardless of how attractive the AWS-native integration is elsewhere in the stack.
Best fit
AWS-committed teams protecting CPU-bound components around an AI pipeline: decryption of model weights before they are handed to a GPU process, secure handling of API keys or customer PII passed to a model, or a small CPU-only model (classical ML, not a large transformer) where the enclave's own compute is the boundary.
Azure Confidential VMs: Strengths, Limitations, Best Fit
Azure Confidential VMs trade some flexibility for the lowest integration effort of the three options and, through the NCCadsH100v5 series, the only generally available GPU-inclusive confidential VM on the market today.
Strength: low code-change burden and native GPU option
The lift-and-shift positioning is real: an existing VM-based workload generally does not need application rewrites to move onto a confidential VM size, and Azure is the furthest along of the three general-purpose cloud providers in offering a generally available confidential VM series with an H100 GPU attached (NCCadsH100v5).
Limitation: real feature gaps and Azure lock-in
Microsoft's own documentation lists meaningful missing features on confidential VMs: no Azure Site Recovery, limited Azure Compute Gallery support, no Accelerated Networking, no live migration, and a 128GB ceiling on confidential disk encryption before falling back to Premium SSD. Region availability is also narrower than standard VM SKUs, since the specialized hardware has to be physically present.
Best fit
Azure-committed teams that want to protect an entire application's memory space, not just an isolated sub-component, especially where the workload includes both CPU-side data handling and GPU-side inference, and where the team wants to avoid a Nitro-style application rewrite around vsock networking.
NVIDIA Confidential Computing: Strengths, Limitations, Best Fit
NVIDIA Confidential Computing is the only one of the three that reaches into GPU compute itself, which makes it the relevant option whenever the thing being protected is the model inference on the GPU rather than a CPU-side component around it.
Strength: the only option that protects GPU compute itself, with low overhead
This is the only one of the three that extends hardware-based protection into the GPU's own compute and the CPU-GPU link, which matters directly for protecting model weights loaded into GPU memory and for protecting inference inputs and outputs while the GPU is processing them. Published and independently benchmarked overhead in the low single digits for typical LLM inference is a credible, workload-relevant number, not a vendor-only claim.
Limitation: availability depends on the host, not just the GPU
Owning an H100 or H200 does not automatically mean CC mode is available to you; it depends on the host CPU TEE (currently AMD SEV-SNP is the most mature path, with Intel TDX in early access) and on whether the specific cloud or infrastructure operator has actually enabled CC mode and exposed an attestation path. Confirm this directly with the provider rather than assuming it from the hardware generation alone.
Best fit
Teams with an any-cloud or on-prem posture (not locked to a single hyperscaler) running GPU-dependent inference where the model weights or the inference data itself, not just supporting infrastructure, is the thing that needs protecting from the infrastructure operator or co-tenants. Also the natural choice for teams already on Azure's NCC H100 series, since it is the same underlying protection exposed through that VM family.
When to Choose Neither
Hardware-based confidential computing is not the default answer to "we need to protect our model." It solves a specific threat: an untrusted or partially trusted infrastructure operator, hypervisor, or co-tenant with the technical ability to inspect memory on the host. If that is not actually your threat model, a simpler and cheaper control usually gets you further.
If the real concern is external attackers reaching the model over the network, standard network segmentation, a private endpoint, and strict IAM on who can call the inference API addresses that without any enclave. If the concern is model weights sitting on disk being copied by an insider with storage access, standard encryption at rest with strict key management and access logging covers that case, since a TEE does not additionally protect data at rest any better than a properly configured KMS-backed disk encryption already does. If the driver is a compliance checkbox rather than a concrete adversary in the threat model, it is worth asking the auditor or customer exactly what control they require; some frameworks are satisfied by encryption at rest and in transit plus strong access controls, and jumping straight to confidential computing without confirming the actual requirement adds real integration cost (vsock rewrites, VM SKU migration, attestation pipeline work) for a control that was not actually asked for. Confidential computing earns its cost when the specific concern is: a cloud provider's own employees, a compromised hypervisor, or a malicious co-tenant with root-equivalent access to the physical host. If none of those are in your threat model, that cost is better spent elsewhere.
Proof-of-Concept and Evaluation Checklist
Run these checks before committing to any of the three options in production; each one is designed to surface a real integration cost or feature gap before it becomes a migration surprise.
Confirm the workload actually needs a GPU inside the trust boundary
Before evaluating anything, separate what needs protecting: is it the model inference compute itself (GPU-dependent, rules out Nitro Enclaves entirely), or a CPU-bound component like key handling or weight decryption around the inference pipeline (where Nitro Enclaves stays viable)?
Map the option against your actual cloud commitment
Confirm which cloud the workload already runs on or is contractually required to run on. Cross-cloud portability is a real cost multiplier; NVIDIA Confidential Computing is the only one of the three that is not tied to a single cloud, but only where the specific host operator has enabled it.
Build and time an attestation-gated decrypt test end to end
For Nitro Enclaves, provision an enclave, build the EIF, and time a KMS decrypt operation gated on the attestation measurement. For Azure Confidential VMs, run the platform's boot attestation check and confirm it correctly refuses to start on a non-compliant host. For NVIDIA CC, run the GPU attestation flow against the NVIDIA Remote Attestation Service (or the local verifier for air-gapped environments) and confirm your pipeline actually blocks on a failed attestation rather than logging and continuing.
Benchmark your own model and sequence lengths, not published averages
Published overhead figures (roughly 2 to 5 percent for typical LLM inference under NVIDIA CC-On mode) are a reasonable planning baseline but are not a guarantee for your specific model architecture, batch size, or sequence length. Run your actual inference workload with CC mode on and off and compare throughput and latency before committing to a production capacity plan.
Check the unsupported-feature list against your operational requirements
Azure Confidential VMs explicitly do not support Site Recovery, Accelerated Networking, live migration, or disks over 128GB with confidential encryption. Nitro Enclaves cap at four enclaves per parent instance with no persistent storage or interactive access. Confirm none of these gaps break an existing operational requirement (disaster recovery, network throughput, disk size) before committing to a design.
Price the full migration, not just the compute rate
None of the three products carries a separate license fee, but the total cost of adoption includes engineering time: vsock application rewrites for Nitro Enclaves, VM SKU migration and region availability checks for Azure Confidential VMs, and attestation pipeline integration for NVIDIA CC. Budget for that work explicitly rather than comparing only the published per-hour compute rate.
The bottom line
These three products protect different amounts of the stack and none of them is a drop-in substitute for the others. AWS Nitro Enclaves is a mature, zero-additional-cost option for CPU-only workloads inside AWS, but it categorically cannot run a GPU, which rules it out for most model inference protection. Azure Confidential VMs offer the lowest code-change burden and, through the NCCadsH100v5 series, the most mature generally available path to a GPU-inclusive confidential VM, at the cost of Azure lock-in and a real list of unsupported features. NVIDIA Confidential Computing is the only option that protects GPU compute and the CPU-GPU link directly, with credible published overhead in the low single digits for typical inference workloads, and it is the most portable of the three in principle, but its actual availability depends entirely on whether your specific cloud or infrastructure operator has enabled it. Pick based on your cloud commitment, whether the protected workload is GPU-dependent, and what your specific threat model or compliance driver actually requires protected, not based on which name is most familiar.
Frequently asked questions
Can AWS Nitro Enclaves run a GPU-based AI model?
No. Nitro Enclaves provide only isolated CPU and memory carved out of an EC2 instance, with no GPU passthrough available at all. Any AI workload that requires a GPU for inference cannot run inside a Nitro Enclave under any configuration.
What is the difference between Azure Confidential VMs and NVIDIA Confidential Computing?
Azure Confidential VMs encrypt an entire VM's memory at the processor level using AMD SEV-SNP or Intel TDX. NVIDIA Confidential Computing extends that protection specifically into the GPU's own compute and the CPU-GPU PCIe link. Azure's NCCadsH100v5 confidential VM series is actually an example of both technologies combined in one offering.
Do I need to rewrite my application to use these confidential computing options?
It depends heavily on which one. AWS Nitro Enclaves typically requires real rework, since networking must move to vsock and there is no persistent storage or interactive access. Azure Confidential VMs are designed for migration without code changes. NVIDIA Confidential Computing requires no CUDA application code changes once the host, driver, and attestation are correctly configured.
How much performance overhead does NVIDIA Confidential Computing add to AI inference?
NVIDIA has published figures showing roughly 2 to 5 percent throughput overhead for most LLM inference workloads in CC-On mode, a range an independent academic benchmark study also reported. Actual overhead depends on model size, sequence length, and how much data crosses the CPU-GPU PCIe link, so teams should benchmark their own workload rather than rely solely on published averages.
Is confidential computing always necessary to protect AI model weights?
No. Confidential computing specifically addresses threats from an untrusted infrastructure operator, hypervisor, or co-tenant with host-level access. If the actual concern is network-based attackers or insider access to data at rest, standard network controls and encryption at rest with strict key management may satisfy the requirement without the added integration cost of a hardware TEE.
Which cloud provider offers confidential computing with an NVIDIA H100 GPU today?
Azure was the first major cloud provider to reach general availability combining confidential VM technology (AMD SEV-SNP) with NVIDIA H100 GPUs, through its NCCadsH100v5 VM series. AWS Nitro Enclaves does not support GPU workloads in any form, so it is not a candidate for GPU-based confidential inference.
Sources & references
- AWS Nitro Enclaves User Guide
- AWS Nitro Enclaves FAQs
- Microsoft Learn: About Azure confidential VMs
- Microsoft Community Hub: Azure confidential VMs with NVIDIA H100 GA
- NVIDIA Developer Blog: Confidential Computing on H100 GPUs
- arXiv: Confidential Computing on NVIDIA H100 GPU, A Performance Benchmark Study
Free resources
Critical CVE Reference Card 2025–2026
25 actively exploited vulnerabilities with CVSS scores, exploit status, and patch availability. Print it, pin it, share it with your SOC team.
Ransomware Incident Response Playbook
Step-by-step 24-hour IR checklist covering detection, containment, eradication, and recovery. Built for SOC teams, IR leads, and CISOs.
Get threat intel before your inbox does.
50,000+ security professionals read Decryption Digest for early warnings on zero-days, ransomware, and nation-state campaigns. Free, daily, no spam.
Unsubscribe anytime. We never sell your data.

Founder & Cybersecurity Evangelist, Decryption Digest
Cybersecurity professional with expertise in threat intelligence, vulnerability research, and enterprise security. Covers zero-days, ransomware, and nation-state operations for 50,000+ security professionals every morning.
