Quick Takeaways
What you'll learn in this article
- 1
Hardware root of trust: A key fused into the CPU during manufacturing (Intel's Provisioning Certification Key, AMD's Chip Endorsement Key, or ARM's Implementation Key).
- 2
Vendor certificate authority: Intel, AMD, or ARM operates a CA that certifies the hardware keys and publishes the certificate chain.
- 3
Platform endorsement: The cloud provider may add a platform certificate attesting to the physical security of the server (rack location, firmware versions, boot integrity).
- 4
TEE report: The attestation report signed by the hardware key, containing measurements of the TEE contents.
- 5
Application identity: The workload inside the TEE can extend the attestation with application-level claims (code hash, configuration hash, public keys).
Keep reading for detailed implementation, code examples, and real-world results
Cloud security has operated on a fundamental asymmetry for over a decade: organizations encrypt data at rest and data in transit, but the moment data enters memory for processing, it sits exposed in plaintext. Every privileged user, every hypervisor vulnerability, every compromised kernel module has a direct line to the crown jewels. Confidential computing eliminates that gap by extending cryptographic protection to data in use, leveraging hardware-enforced Trusted Execution Environments that keep data encrypted even while the CPU operates on it.
This is not a theoretical capability anymore. By early 2026, confidential computing has moved from research labs and niche workloads into mainstream cloud infrastructure. Every major cloud provider offers confidential virtual machines and containers. The silicon vendors have shipped second and third-generation TEE architectures that address the performance and scalability limitations of earlier designs. GPU-accelerated confidential computing now enables secure AI training and inference at scale. The Confidential Computing Consortium counts over 40 member organizations driving open standards and interoperability.
The shift is driven by regulatory pressure, technical maturity, and a fundamental change in threat modeling. Organizations no longer ask whether they can trust their cloud provider -- they architect systems where trust in the provider is not required. This guide covers every dimension of confidential computing as it stands in 2026: the hardware foundations, cloud provider implementations, development frameworks, attestation infrastructure, AI and multi-party computation use cases, performance characteristics, and the regulatory landscape that is accelerating adoption.
Confidential Computing Market
$8.4B
projected 2026 market size, up from $4.2B in 2024
The Hardware Foundation: TEE Technologies in 2026
Confidential computing is fundamentally a hardware capability. Software alone cannot protect data from a compromised operating system or hypervisor because software-based isolation depends on the very components that may be compromised. TEEs solve this by creating hardware-enforced boundaries that the CPU itself maintains, independent of system software.
Intel Trust Domain Extensions (TDX)
Intel TDX represents Intel's strategic direction for confidential computing, designed from the ground up for virtual machine isolation rather than the application-level enclave model of SGX. TDX introduces Trust Domains (TDs) -- hardware-isolated VMs that are cryptographically separated from the hypervisor, other VMs, and platform firmware.
The architecture centers on the TDX Module, a digitally signed piece of Intel-provided software that runs in a new CPU mode called SEAM (Secure Arbitration Mode). The TDX Module mediates all interactions between the VMM (Virtual Machine Manager) and the Trust Domains, ensuring that the hypervisor cannot inspect or modify TD memory. Each TD gets its own set of encrypted memory pages, encrypted with a unique key held in hardware that is inaccessible to any software outside the TD.
TDX's memory encryption uses AES-XTS with 128-bit keys, applied transparently by the memory controller. This means existing software running inside a TD requires zero modifications to benefit from memory encryption. The total memory encryption engine (TME) handles key management, and TDX extends this with multi-key support so each TD operates with its own cryptographic domain.
What makes TDX particularly significant in 2026 is its maturity. The fourth-generation Xeon Scalable processors (Sapphire Rapids) shipped initial TDX support, but the fifth-generation Emerald Rapids and the sixth-generation Granite Rapids processors have refined the implementation substantially. Granite Rapids expanded the number of concurrent TDs, reduced context switch overhead, and added integrity protection for TD memory using a Merkle tree-based scheme that detects tampering and replay attacks.
Intel has also extended TDX Connect to support device-level isolation, allowing TEE boundaries to extend to accelerators and I/O devices through a hardware-enforced security protocol. This is critical for workloads that need trusted paths to GPUs, FPGAs, or network interface cards.
AMD Secure Encrypted Virtualization with Secure Nested Paging (SEV-SNP)
AMD's SEV technology has evolved through several generations: SEV, SEV-ES (Encrypted State), and SEV-SNP (Secure Nested Paging). By 2026, SEV-SNP on EPYC processors is the production-ready standard, and its adoption has been substantial across all major cloud providers.
SEV-SNP adds integrity protection to the memory encryption that SEV and SEV-ES provide. Without SNP, a malicious hypervisor could remap memory pages between VMs or replay old memory contents without detection. SNP introduces a Reverse Map Table (RMP) that tracks ownership of every physical memory page. The CPU consults the RMP on every memory access, ensuring that a page assigned to one VM cannot be remapped, aliased, or replayed by the hypervisor.
The EPYC 9004 series (Genoa) and its successor, the EPYC 9005 series (Turin), support up509 concurrent encrypted VMs, each with a unique 256-bit AES key managed by the AMD Secure Processor -- a dedicated ARM Cortex-A5 core embedded in the CPU die. The Secure Processor handles key generation, attestation, and guest lifecycle management, completely isolated from the x86 cores.
AMD's approach differs from Intel's in a meaningful architectural way: SEV-SNP does not require a separate software module like TDX's SEAM module. The security enforcement is entirely in hardware and firmware, which reduces the Trusted Computing Base (TCB). This has made SEV-SNP attractive to security-conscious organizations that want to minimize the amount of code they need to trust.
ARM Confidential Compute Architecture (CCA)
ARM's CCA, introduced as part of the ARMv9 architecture, brings confidential computing to the broader ARM ecosystem including mobile devices, edge computing, and data center ARM servers. CCA introduces a new concept called Realms -- execution environments that are isolated from both the normal world (operating system) and the secure world (TrustZone).
CCA is built on the Realm Management Extension (RME), which adds a fourth security state to ARM's existing three (Non-secure, Secure, and Root). The Realm Management Monitor (RMM) runs in a new privilege level and manages Realm creation, memory assignment, and attestation, analogous to the role that Intel's TDX Module plays.
In the data center, CCA is gaining traction through ARM Neoverse V2 and V3 processors used in cloud instances. AWS Graviton processors based on Neoverse designs are expected to incorporate CCA capabilities, which would bring confidential computing to the significant and growing fleet of ARM-based cloud instances. The edge computing use case is equally compelling: CCA enables confidential processing on IoT gateways and edge servers without the power envelope required by x86 TEE implementations.
NVIDIA Confidential Computing for GPUs
Perhaps the most transformative development in confidential computing since 2024 has been NVIDIA's extension of TEE guarantees to GPU computing. The H100 Tensor Core GPU was the first to ship with confidential computing support, and the Blackwell architecture (B100, B200, GB200) has expanded these capabilities significantly.
NVIDIA's approach creates a hardware-enforced boundary around the GPU that encrypts all data on the PCIe or NVLink bus between CPU and GPU, encrypts GPU memory (HBM3/HBM3e), and provides attestation of the GPU firmware and driver stack. The CPU TEE (Intel TDX or AMD SEV-SNP) extends its trust boundary to include the GPU through a device attestation protocol.
This matters enormously for AI workloads. Before GPU confidential computing, organizations faced an impossible choice: run AI training and inference on GPUs for performance, or run in CPU-based TEEs for security. GPU confidential computing eliminates that trade-off. Financial institutions can now run fraud detection models on encrypted transaction data using GPU acceleration. Healthcare organizations can train diagnostic models on encrypted patient imaging data. Intelligence agencies can run classification models on sensitive data without exposing it to the cloud infrastructure.
TEE Architecture Comparison: Intel TDX vs AMD SEV-SNP
Intel TDX
AMD SEV-SNP
Cloud Provider Implementations
The hardware capabilities described above are delivered to end users through cloud provider services. Each major cloud has taken a different approach to packaging and exposing confidential computing, reflecting both their hardware partnerships and their architectural philosophies.
Microsoft Azure: The Market Leader
Azure has been the most aggressive in adopting confidential computing, and it shows in the breadth of their offerings. Azure Confidential VMs are available with both Intel TDX (DCesv5/ECesv5 series) and AMD SEV-SNP (DCasv5/ECasv5 series), providing lift-and-shift confidential computing where existing VM workloads run with full memory encryption and no code changes.
Azure Confidential Containers on Azure Kubernetes Service (AKS) take this further by providing pod-level confidential computing. Each confidential container group runs inside a utility VM backed by a TEE, so the container workload is isolated from the Kubernetes node, the container runtime, and Azure's own infrastructure. The confidential containers support uses the Kata Containers runtime with hardware TEE backing, providing defense in depth that combines container isolation with hardware-enforced memory encryption.
Azure also offers Azure Confidential Ledger, a tamper-proof data store built on the Confidential Consortium Framework (CCF), and Azure Always Encrypted with secure enclaves for SQL Server, enabling encrypted query processing without exposing plaintext data to the database engine.
The Azure Attestation service provides a unified attestation endpoint that validates TEE evidence from Intel SGX, Intel TDX, AMD SEV-SNP, and NVIDIA GPUs, issuing JWT tokens that relying parties can verify to establish trust in a remote enclave before releasing secrets or data.
AWS Nitro Enclaves and Beyond
AWS took a different architectural path with Nitro Enclaves, which are not based on Intel or AMD TEE technologies but rather on the Nitro Hypervisor's isolation capabilities. A Nitro Enclave is a strongly isolated VM carved from the resources of a parent EC2 instance. It has its own kernel and memory, no persistent storage, no network access, and no interactive access -- the only communication channel is a local vsock connection to the parent instance.
This design philosophy -- extreme isolation through minimalism -- has appeal for specific use cases. Nitro Enclaves are particularly effective for processing secrets, performing cryptographic operations, and running sensitive computations where the minimal attack surface outweighs the need for full VM capabilities.
In 2025 and 2026, AWS expanded their confidential computing portfolio significantly. EC2 instances backed by AMD SEV-SNP are available (C6a, M6a, R6a families with SNP enabled), providing VM-level memory encryption for general workloads. AWS also introduced attestation integration with AWS KMS, where KMS policies can require valid enclave attestation before releasing encryption keys, creating a cryptographic binding between data access and verified TEE execution.
AWS has been notably cautious about GPU confidential computing compared to Azure, but Nitro's architecture provides certain GPU isolation guarantees through the Nitro Security Controller that mediates all device access.
Google Cloud Platform: Confidential VMs and GKE
GCP's Confidential VMs launched on AMD SEV and have evolved through SEV-ES to SEV-SNP on the N2D and C2D machine series. Intel TDX-based Confidential VMs are available on C3 machine series using Sapphire Rapids and Granite Rapids processors. GCP also supports confidential nodes in Google Kubernetes Engine (GKE), where node pools can be configured to use Confidential VMs, ensuring that all pods scheduled on those nodes benefit from memory encryption.
GCP's differentiation lies in their integration of confidential computing with BigQuery and Vertex AI. Confidential BigQuery allows encrypted analytics on sensitive datasets, while Vertex AI Confidential Training enables model training on encrypted data using confidential VMs with GPU acceleration.
Google's Asylo framework, though less prominent in 2026 than it was at launch, contributed important concepts around portable enclave applications. Its spiritual successor is the broader confidential containers ecosystem that Google actively contributes to.
Confidential Containers and Kubernetes
The intersection of confidential computing and Kubernetes represents one of the most active areas of development in 2026. The challenge is clear: Kubernetes was designed around a shared-kernel model where containers on the same node share a kernel and rely on namespace isolation, cgroups, and seccomp profiles for separation. This model is fundamentally incompatible with the threat model that confidential computing addresses, where the kernel itself is untrusted.
The Confidential Containers Project
The Confidential Containers (CoCo) project, a Cloud Native Computing Foundation (CNCF) sandbox project, provides the reference architecture for running containers inside TEEs on Kubernetes. CoCo uses Kata Containers as its runtime, replacing the standard runc/containerd stack with lightweight VMs that serve as the container sandbox.
In the CoCo architecture, each pod runs inside a dedicated virtual machine backed by a TEE (Intel TDX or AMD SEV-SNP). The pod VM boots a minimal guest kernel, initializes the TEE, performs remote attestation, and only then pulls and decrypts the container images. The container images can be encrypted at rest and are decrypted inside the TEE using keys released by an attestation service, ensuring that the container contents are never exposed to the host.
The attestation flow is particularly elegant. Before any workload data enters the pod, the Kata agent inside the TEE contacts a Key Broker Service (KBS) and presents its attestation evidence. The KBS verifies the evidence against a reference policy (checking the TEE type, firmware version, kernel measurements, and guest configuration), and if the attestation succeeds, releases the encryption keys for the container images and any secrets the workload needs. If attestation fails, the pod never starts and no sensitive data is exposed.
Pod-Level vs Node-Level Isolation
Organizations deploying confidential computing on Kubernetes face an architectural choice: node-level confidential computing (all pods on a node run on a confidential VM) or pod-level confidential computing (each pod gets its own TEE).
Node-level isolation, as offered by GKE Confidential Nodes and Azure's standard confidential node pools, encrypts all memory on the node. This is simpler to deploy and has lower overhead since there is only one TEE boundary per node. However, it does not isolate pods from each other -- a compromised container on the same node could access another container's memory within the shared TEE.
Pod-level isolation, as provided by CoCo and Azure Confidential Containers, gives each pod its own TEE. This is the stronger security model because even a compromised neighboring pod cannot access the target pod's memory. The trade-off is higher overhead from running multiple micro-VMs and the complexity of managing per-pod attestation.
For most regulated workloads, pod-level isolation is the correct choice. The additional overhead is modest (typically 2-5% per pod for CPU-bound workloads), and the security improvement is substantial. Node-level isolation remains appropriate for environments where all workloads on a node have the same trust level and the primary threat is the cloud infrastructure rather than neighboring tenants.
Service Mesh Integration
Running confidential containers in production requires integration with the broader Kubernetes ecosystem, particularly service meshes. When pods communicate over mTLS through a service mesh like Istio or Linkerd, the mesh sidecar terminates TLS inside the pod's TEE boundary, ensuring that inter-service communication is encrypted end-to-end with the TEE providing the trust anchor rather than the node's certificate infrastructure.
This creates a genuinely zero-trust architecture: every hop is encrypted, every endpoint is attested, and no intermediate infrastructure (load balancers, service mesh control planes, ingress controllers) can inspect the plaintext traffic.
Attestation: The Foundation of Trust
Remote attestation is what transforms confidential computing from a hardware feature into a deployable security architecture. Without attestation, you have encrypted memory that you cannot verify -- you are trusting the platform without proof. Attestation provides that proof: a cryptographic chain from the hardware root of trust through firmware, through the TEE initialization, to the specific workload running inside, producing evidence that a remote party can verify.
How Remote Attestation Works
The attestation flow begins with the TEE generating an attestation report -- a signed data structure containing measurements of everything loaded into the TEE. For Intel TDX, this includes the TDX Module version, the TD's initial memory contents (MRTD), the runtime measurements (RTMR registers), and any additional data the TD wants to include (such as a public key or nonce).
This report is signed by the hardware using a key that chains back to the silicon vendor. For Intel, the signing key is an ECDSA key embedded in the CPU during manufacturing, and Intel's attestation infrastructure (the Intel Trust Authority or the Intel Provisioning Certification Service) provides the certificate chain that allows anyone to verify the signature traces back to a genuine Intel processor.
The verification process works as follows:
- The verifier (a key management service, a data owner, or another TEE) sends a challenge (nonce) to the TEE.
- The TEE generates an attestation report incorporating the nonce (proving freshness) and the TEE's measurements.
- The TEE sends the report to the verifier, possibly through an attestation proxy.
- The verifier validates the report signature against the vendor's certificate chain, checks that the nonce matches, and evaluates the measurements against a reference policy.
- If all checks pass, the verifier trusts the TEE and releases secrets, data, or access tokens.
Attestation Services in 2026
The attestation ecosystem has matured substantially. Intel Trust Authority provides cloud-hosted attestation verification for Intel SGX and TDX, removing the burden of operating attestation infrastructure. Azure Attestation supports multi-vendor TEE attestation (Intel, AMD, NVIDIA) with policy-based evaluation. AMD's SEV-SNP attestation uses the Versioned Chip Endorsement Key (VCEK) signed by AMD's root key, and the AMD Key Distribution Service (KDS) provides the certificate chain.
The Confidential Computing Consortium has been working on standardizing attestation token formats and flows. The IETF RATS (Remote ATtestation procedureS) working group has published RFCs defining an architecture for attestation evidence, endorsements, reference values, and appraisal policies. These standards are critical for interoperability -- a workload attested on Intel TDX should be verifiable using the same policy framework as a workload on AMD SEV-SNP, even though the underlying evidence formats differ.
Certificate Verification and Trust Chains
The trust chain in confidential computing attestation is analogous to TLS certificate verification but rooted in hardware rather than certificate authorities. The chain typically looks like:
- Hardware root of trust: A key fused into the CPU during manufacturing (Intel's Provisioning Certification Key, AMD's Chip Endorsement Key, or ARM's Implementation Key).
- Vendor certificate authority: Intel, AMD, or ARM operates a CA that certifies the hardware keys and publishes the certificate chain.
- Platform endorsement: The cloud provider may add a platform certificate attesting to the physical security of the server (rack location, firmware versions, boot integrity).
- TEE report: The attestation report signed by the hardware key, containing measurements of the TEE contents.
- Application identity: The workload inside the TEE can extend the attestation with application-level claims (code hash, configuration hash, public keys).
Verifiers must validate each link in this chain. A common mistake in early confidential computing deployments was verifying only the TEE report signature without checking that the measurements matched expected values. This is equivalent to verifying that a TLS certificate is valid without checking that it belongs to the expected domain.
Intel SGX Launches
First mainstream TEE technology ships with 6th-gen Core processors, introducing hardware enclaves for application-level isolation
AMD SEV Announced
AMD introduces Secure Encrypted Virtualization for EPYC processors, taking a VM-level approach to memory encryption
Confidential Computing Consortium Founded
Linux Foundation project launches with founding members including Intel, AMD, ARM, Google, Microsoft, and Red Hat
AMD SEV-SNP Ships
Third-gen EPYC (Milan) adds Secure Nested Paging with integrity protection, closing memory remapping attacks
Intel TDX and NVIDIA CC Ship
Intel launches TDX with 4th-gen Xeon, NVIDIA ships H100 with GPU confidential computing support
Confidential Containers Reach Production
CoCo project achieves CNCF sandbox status, Azure and GCP offer confidential container services
Confidential AI Goes Mainstream
GPU confidential computing on NVIDIA Blackwell enables secure training and inference at scale across all major clouds
Confidential AI and Machine Learning
The convergence of confidential computing and AI is the highest-impact development in this space. Machine learning workloads are uniquely sensitive: the training data often contains personal, financial, or medical information; the models themselves represent significant intellectual property; and the inference inputs and outputs can reveal sensitive information about users or business operations.
Secure Training on Encrypted Data
Confidential VM-based training protects the entire training pipeline. The training data is encrypted at rest and decrypted only inside the TEE. The model weights, gradients, optimizer state, and intermediate activations are all encrypted in memory. The training scripts and framework code are measured as part of the TEE attestation, ensuring that only authorized training code can access the data.
With NVIDIA's Blackwell architecture supporting confidential computing, GPU-accelerated training is now feasible inside TEEs. The performance overhead is meaningful but manageable. Memory encryption on the GPU adds approximately 5-8% overhead for large model training, and the CPU-GPU data transfer encryption adds another 2-3% depending on the communication pattern. For most organizations, this 7-11% total overhead is an acceptable cost for the ability to train on data that could never be used in plaintext environments.
The practical impact is significant. A pharmaceutical company can train drug discovery models on patient data from multiple hospital systems without any party exposing their raw data. A financial consortium can build credit scoring models using transaction data from competing banks, with each bank confident that its data is never visible to the others or to the compute infrastructure.
Secure Inference
Inference confidentiality protects both the model and the input data. Model owners deploy their models inside TEEs, ensuring that the model weights are never exposed to the infrastructure operator or to clients. Input data from users is encrypted in transit and decrypted only inside the TEE for inference. The inference results are encrypted before leaving the TEE.
This enables several deployment models that were previously impractical:
Model-as-a-Service with IP protection: A company with a proprietary model can deploy it on a third-party cloud without exposing the model weights. The model runs inside a TEE, and the cloud provider cannot extract or copy it.
Privacy-preserving inference: Healthcare diagnostic models can process patient images without the cloud provider or model operator seeing the images. The patient's data enters the TEE encrypted and the diagnosis leaves encrypted, with the model operator receiving only aggregated analytics.
Regulatory-compliant AI: Financial models processing transaction data for anti-money laundering (AML) compliance can run on cloud infrastructure while meeting data residency and access control requirements that previously mandated on-premises deployment.
Federated Learning with TEE Guarantees
Federated learning trains models across distributed datasets without centralizing the data. Each participant trains locally on their data and shares only model updates (gradients). However, standard federated learning has known privacy leakage -- model gradients can reveal information about the training data through gradient inversion attacks.
TEEs address this by securing the aggregation server. In a TEE-enhanced federated learning architecture, participants send encrypted gradient updates to a central aggregation service running inside a TEE. The TEE decrypts the gradients, performs aggregation (weighted averaging, with optional differential privacy noise), encrypts the aggregated model update, and sends it back to participants. No single party -- not even the aggregation server operator -- can see individual gradient updates.
This architecture is in production at several large financial institutions for cross-border fraud detection and at healthcare consortia for multi-site clinical model development.
Multi-Party Computation with TEEs
Secure multi-party computation (MPC) allows multiple parties to jointly compute a function over their private inputs without revealing those inputs to each other. Traditional MPC uses cryptographic protocols (secret sharing, garbled circuits, oblivious transfer) that are mathematically elegant but computationally expensive, often adding orders of magnitude overhead to computation.
TEEs offer a pragmatic alternative. Instead of cryptographic protocols, the parties agree on a computation, deploy it inside a TEE, attest the TEE to verify it runs the agreed-upon code, and then each party sends their encrypted data to the TEE. The TEE decrypts, computes, and returns only the agreed-upon output. The trust assumption shifts from "no collusion among computing parties" (as in cryptographic MPC) to "the hardware TEE correctly isolates the computation" (hardware trust).
Data Clean Rooms
Data clean rooms are the most commercially significant application of TEE-based multi-party computation. A data clean room allows two or more organizations to combine their datasets for joint analysis without either party seeing the other's raw data.
The canonical example is advertising measurement. An advertiser has data about which users saw their ads; a retailer has data about which users made purchases. Neither party wants to share their user-level data with the other, but both want to measure advertising effectiveness. A data clean room running in a TEE accepts encrypted data from both parties, performs the join and analysis inside the enclave, and releases only the aggregated results (conversion rates by campaign, demographic breakdowns) with differential privacy guarantees.
In 2026, major data clean room platforms including Snowflake Data Clean Rooms, AWS Clean Rooms, and Google Ads Data Hub have integrated TEE backing for their computation. InfoSum, Habu, and LiveRamp all offer TEE-based clean room implementations. The regulatory advantage is substantial: GDPR's data minimization principle is satisfied because raw personal data never leaves the encrypted boundary, and the aggregated outputs can be designed to provably satisfy differential privacy bounds.
Privacy-Preserving Analytics
Beyond data clean rooms, TEE-based multi-party computation enables broader privacy-preserving analytics scenarios:
Supply chain optimization: Competing suppliers can share demand signals and inventory levels with a TEE-based optimizer that computes optimal allocation without revealing any party's proprietary data.
Benchmarking: Companies in the same industry can compare operational metrics (costs, efficiency, customer satisfaction) through a TEE that computes statistical benchmarks without revealing individual company data.
Anti-money laundering: Banks can jointly analyze transaction patterns across institutions to detect money laundering networks that span multiple banks, without sharing customer account data.
Genomic research: Research institutions can perform genome-wide association studies across populations held by different biobanks, with the TEE performing the statistical analysis on the combined dataset without any institution seeing another's raw genomic data.
Confidential Computing Adoption by Industry (2026)
| Name | Value |
|---|---|
| Financial Services | 34 |
| Healthcare and Life Sciences | 22 |
| Government and Defense | 18 |
| Technology and Cloud | 14 |
| Telecommunications | 7 |
| Other Industries | 5 |
Confidential Databases
Database systems present unique challenges for confidential computing. Databases are long-lived, stateful processes that must handle complex query processing, indexing, concurrency control, and durability -- all while keeping data encrypted. Several approaches have emerged.
Encrypted Query Processing
The most straightforward approach runs the entire database engine inside a TEE. Azure SQL Always Encrypted with secure enclaves takes this approach: sensitive columns are encrypted at the client, and the SQL Server engine uses an enclave to decrypt and process data only for authorized queries. The enclave supports equality comparisons, range queries, sorting, and pattern matching on encrypted data, with results re-encrypted before leaving the enclave.
This approach preserves the full SQL query surface but limits performance to what fits in the enclave's memory. For Intel SGX-based implementations, the Enclave Page Cache (EPC) limits were a significant bottleneck (128MB initially, expanded to 512GB in newer processors). TDX-based implementations remove this limitation because the entire VM memory is encrypted.
Secure Enclaves for Database Operations
CockroachDB and EnclaveDB have pioneered approaches where specific database operations (join processing, aggregation, sorting) are offloaded to TEEs while the bulk storage remains encrypted on disk. This hybrid approach balances security with performance: only the data actively being processed is decrypted, and the TEE boundary is scoped to the specific operation rather than the entire database engine.
For distributed databases, TEEs solve a fundamental trust problem in multi-region deployments. A database with replicas in multiple jurisdictions can use per-region TEEs to ensure that data processing in each region meets local data sovereignty requirements. The attestation chain proves that the code running in each region is identical and authorized, while the TEE guarantees that data is not exposed to the infrastructure operator in any region.
Confidential Ledgers and Immutable Stores
Azure's Confidential Ledger and similar systems use TEEs to provide tamper-evident, append-only data stores. The TEE ensures that the ledger logic (append-only semantics, consensus among nodes, transaction ordering) executes correctly even if the hosting infrastructure is compromised. The Confidential Consortium Framework (CCF) that underpins Azure Confidential Ledger is open source and has been adopted by several financial infrastructure projects for settlement systems, trade reporting, and regulatory audit logs.
Performance Overhead Analysis
Confidential computing has real costs. Understanding these costs is essential for architectural decisions about which workloads to place inside TEEs and how to optimize their performance.
Memory Encryption Overhead
Hardware memory encryption (AES-XTS for Intel, AES for AMD) is implemented in the memory controller and adds negligible latency for sequential access patterns. Benchmarks on Granite Rapids TDX show 1-3% overhead for memory bandwidth-intensive workloads and less than 1% for compute-bound workloads. This is a dramatic improvement over SGX, where the EPC management overhead could add 10-40% depending on the working set size.
Context Switch and VM Exit Costs
TEE boundaries add cost to transitions between the TEE and the host. Every VM exit from a TDX Trust Domain goes through the TDX Module, adding approximately 2-4 microseconds per exit compared to a standard VM exit. For workloads with high VM exit rates (network-intensive workloads, workloads with frequent I/O), this can add measurable overhead.
Paravirtual I/O (virtio) helps by batching operations and reducing the number of VM exits. TDX Connect and SEV-TIO further reduce I/O overhead by allowing direct device assignment with hardware-enforced encryption on the device bus.
Memory Overhead
Each TEE instance requires dedicated memory that cannot be shared or overcommitted. Unlike standard VMs where the hypervisor can use transparent page sharing, balloon drivers, or memory overcommitment, TEE memory is encrypted with a unique key and cannot be inspected or deduplicated by the host. This means confidential VMs require 1:1 memory allocation, which increases the physical memory requirements for a given workload density.
Additionally, integrity protection (metadata trees, RMP entries) consumes memory. Intel TDX's integrity trees consume approximately 3% of protected memory for their metadata. AMD SEV-SNP's RMP is a fixed-size table (proportional to physical memory) that is relatively small.
Relative Performance: Standard VM (100) vs Confidential VM
| workload | standardVM | confidentialVM |
|---|---|---|
| Compute-bound | 100 | 102 |
| Memory-intensive | 100 | 105 |
| Network I/O | 100 | 112 |
| Database (OLTP) | 100 | 108 |
| AI Training (GPU) | 100 | 110 |
| AI Inference (GPU) | 100 | 107 |
GPU Encryption Overhead
NVIDIA's confidential computing adds encryption on the PCIe/NVLink bus and in HBM memory. For large model training (where computation dominates over data transfer), the overhead is 5-8%. For inference workloads with smaller batch sizes and higher data transfer ratios, overhead can reach 12-15%. The Blackwell architecture improved on Hopper by implementing encryption in the memory controller rather than the GPU shader pipeline, reducing the computational overhead.
Optimization Strategies
Organizations can minimize confidential computing overhead through several techniques:
Batch I/O operations: Reduce VM exit frequency by batching system calls and I/O operations. Use io_uring for asynchronous I/O to minimize kernel transitions.
Right-size TEE memory: TEE memory cannot be overcommitted, so accurately sizing memory avoids paying for unused encrypted memory. Monitor actual usage and resize rather than provisioning for peak.
Use paravirtual drivers: virtio-net, virtio-blk, and virtio-fs provide efficient I/O paths that minimize the overhead of crossing TEE boundaries.
Leverage hardware offloads: TDX Connect and SEV-TIO enable direct device access with hardware encryption, eliminating the software overhead of encrypting and decrypting I/O data.
Place I/O-heavy components outside TEEs: Not every component needs TEE protection. Load balancers, caches, and reverse proxies that handle only encrypted data may not need TEE isolation, reducing the overall overhead.
Regulatory Drivers
Confidential computing adoption is being driven as much by regulatory requirements as by security architecture improvements. Several regulatory frameworks either explicitly require or strongly incentivize the protection of data during processing.
GDPR and Data Minimization
The General Data Protection Regulation requires that personal data processing uses appropriate technical and organizational measures. Article 25 (Data Protection by Design and by Default) and Article 32 (Security of Processing) establish obligations that confidential computing directly addresses. By ensuring that personal data is encrypted during processing, organizations can demonstrate a higher standard of technical protection than traditional approaches.
The European Data Protection Board has issued guidance recognizing TEEs as a supplementary measure for international data transfers, directly relevant to Schrems II compliance (discussed below).
Schrems II and International Data Transfers
The Schrems II ruling invalidated the EU-US Privacy Shield and required organizations to implement supplementary measures when transferring personal data to countries without adequate data protection. Confidential computing is recognized as one such supplementary measure because it can prevent the data processor (including cloud providers subject to foreign government access requests) from accessing plaintext data.
In practice, a European organization can store and process EU citizen data on US-based cloud infrastructure inside a TEE, and argue that the supplementary technical measure (hardware-enforced encryption during processing, with keys controlled by the EU data controller) adequately protects against the risk that the US cloud provider could be compelled to disclose the data. The cloud provider cannot comply with such a disclosure request because they never have access to the plaintext.
This is not merely theoretical. Several European banks and insurers have adopted this architecture to use hyperscaler cloud services while maintaining GDPR compliance. The architecture typically involves customer-managed keys in an EU-based HSM, attestation verification by an EU-based service, and TEE-based processing on US cloud infrastructure.
HIPAA and Healthcare
HIPAA requires covered entities and business associates to implement technical safeguards that protect electronic Protected Health Information (ePHI). While HIPAA does not explicitly mention confidential computing, the Security Rule's requirements for access controls, encryption, and audit controls align well with TEE capabilities. The attestation audit trail provides evidence of technical safeguard implementation that satisfies HIPAA audit requirements.
Healthcare organizations are particularly motivated by the combination of HIPAA compliance and the AI opportunity. Training medical AI models requires access to large datasets of patient records, imaging data, and genomic information. Confidential computing enables this training without creating new exposure vectors that would require additional Business Associate Agreements or risk assessments.
Data Sovereignty and Localization
An increasing number of jurisdictions require that certain categories of data be processed within their borders. India's Digital Personal Data Protection Act, China's Personal Information Protection Law, Brazil's LGPD, and various Middle Eastern data protection laws all include data localization provisions.
Confidential computing does not eliminate the need for data localization, but it provides a technical architecture that satisfies the spirit of these requirements when combined with appropriate key management. Data encrypted with keys controlled by an in-country entity, processed inside a TEE where the cloud provider cannot access plaintext, meets the requirement that the processing entity cannot exercise control over the data outside the jurisdiction's regulatory framework.
Development Frameworks and Tooling
Building applications for confidential computing requires specialized frameworks that handle the complexities of TEE initialization, attestation, memory management, and secure I/O. The tooling ecosystem has matured significantly.
Gramine (formerly Graphene)
Gramine is a library OS that enables running unmodified Linux applications inside Intel SGX enclaves. It interposes a POSIX-compatible layer between the application and the enclave, translating system calls into enclave-safe operations. Gramine supports complex applications including Python runtimes, Java VMs, and database engines running inside SGX enclaves without source code modifications.
Gramine's manifest file defines the application's security policy: which files are trusted (measured at enclave creation), which files are allowed (accessible but not measured), and which system calls are permitted. This declarative security model makes it straightforward to deploy existing applications in enclaves.
Occlum
Occlum is a memory-safe library OS for Intel SGX, written in Rust. It provides multi-process support inside a single enclave, allowing complex applications with multiple processes to run with shared encrypted memory. Occlum's memory safety guarantees (from Rust's ownership model) reduce the risk of enclave vulnerabilities from memory corruption bugs.
Occlum supports a wide range of programming languages and runtimes (Python, Java, Go, Rust, C/C++) and has been used in production for financial risk calculations, privacy-preserving machine learning, and confidential blockchain nodes.
EGo
EGo focuses on the Go ecosystem, providing a toolchain that compiles Go applications to run inside Intel SGX enclaves. The ego-go compiler wraps the standard Go toolchain, and the ego tool handles signing, enclave configuration, and remote attestation. EGo is notable for its developer experience: building a confidential Go application requires minimal changes to the standard Go development workflow.
Open Enclave SDK
Microsoft's Open Enclave SDK provides a hardware-agnostic API for building enclave applications. It abstracts the differences between Intel SGX, ARM TrustZone, and (with extensions) other TEE technologies, allowing developers to write enclave code once and deploy across platforms. Open Enclave handles attestation, sealing (encrypting data for persistent storage), and enclave lifecycle management through a consistent C API.
Confidential Containers Tooling
For containerized workloads, the development experience is increasingly standard Kubernetes workflows with additional confidential computing configuration. CoCo provides custom resource definitions for specifying TEE requirements, attestation policies, and encrypted image references. Developers build standard container images, encrypt them using skopeo with the CoCo encryption plugin, push them to a registry, and deploy them as confidential pods with a runtime class annotation.
This workflow is a significant improvement over the early days of confidential computing, when developers needed deep expertise in enclave programming. With confidential containers, the TEE boundary is at the pod level, and the application code runs unmodified inside a standard Linux environment.
Supply Chain Integrity
Confidential computing's trust model depends on the integrity of the hardware and firmware supply chain. If an attacker can compromise the TEE firmware or inject malicious code into the CPU's measurement process, the attestation guarantees collapse.
Firmware Attestation
TEE attestation begins with firmware measurement. The CPU's boot process measures each firmware component (BIOS/UEFI, microcode updates, TEE-specific modules) and records these measurements in hardware registers. The attestation report includes these measurements, allowing verifiers to check that the firmware is a known-good version.
Both Intel and AMD publish reference measurements for their firmware releases, and cloud providers publish the firmware versions running on their confidential computing fleet. Verifiers can compare the measurements in an attestation report against these published references to detect firmware tampering or outdated versions with known vulnerabilities.
Hardware Root of Trust
The ultimate trust anchor is a key embedded in the CPU during manufacturing. For Intel, this is the Provisioning Certification Key (PCK), certified by Intel's attestation infrastructure. For AMD, it is the Chip Endorsement Key (CEK) and Versioned Chip Endorsement Key (VCEK), certified by AMD's Key Distribution Service.
These keys are generated inside the CPU and the private components never leave the silicon. The manufacturing process that embeds these keys is a critical supply chain control point. Both Intel and AMD have invested in secure manufacturing facilities and processes to protect the key generation and embedding process, and both publish transparency reports about their manufacturing security practices.
Side-Channel Mitigations
Side-channel attacks have been a persistent concern for TEE technologies. Spectre, Meltdown, Foreshadow (L1TF), and numerous subsequent vulnerabilities demonstrated that hardware isolation is not as absolute as the architecture suggests. Attackers with control of the host OS or hypervisor can observe cache access patterns, branch prediction state, power consumption, and timing variations to infer information about TEE computations.
The silicon vendors have responded with increasingly comprehensive mitigations:
Microarchitectural defenses: Newer processors include hardware fixes for speculative execution attacks, including separate branch prediction state for different security domains and cache partitioning to prevent cross-domain cache probing.
Memory integrity: TDX's integrity trees and SEV-SNP's RMP prevent memory replay and remapping attacks that earlier side-channel research demonstrated.
Controlled-channel defenses: OS-mediated side channels (page fault patterns, interrupt timing) are mitigated in TDX and SEV-SNP by limiting the host's ability to observe and manipulate guest page tables and interrupt delivery.
Software mitigations: Constant-time cryptographic implementations, ORAM (Oblivious RAM) for memory access pattern hiding, and careful avoidance of data-dependent branching in sensitive code paths.
The side-channel threat has not been eliminated, but the attack surface has been substantially reduced with each hardware generation. The practical risk assessment for most organizations is that the cost and sophistication required for a successful side-channel attack against current-generation TEEs exceeds the threat model for their workloads.
Real-World Deployments
Financial Services
The financial sector has been the earliest and most aggressive adopter of confidential computing. Use cases include:
Cross-institutional fraud detection: A consortium of European banks operates a shared fraud detection system where each bank's transaction data is processed inside TEEs. The system identifies patterns (structuring, layering, round-tripping) that span multiple institutions without any bank seeing another's data. The TEE runs a graph analysis algorithm on the combined transaction graph, and only the identified suspicious patterns are revealed to the participating banks.
Secure trading analytics: Hedge funds and asset managers use confidential VMs to run proprietary trading algorithms on cloud infrastructure. The TEE ensures that the cloud provider cannot observe the algorithms or the trading signals they generate. This allows firms to leverage cloud scalability for backtesting and signal generation while protecting their core intellectual property.
Regulatory reporting: Banks use confidential computing to generate regulatory reports (Basel III/IV capital calculations, stress testing, liquidity coverage ratios) on cloud infrastructure while ensuring that the underlying position data never leaves the encrypted boundary. Regulators receive the computed reports, and attestation evidence proves that the correct calculation was performed on the actual data.
Healthcare
Multi-site clinical trials: Pharmaceutical companies use TEE-based data clean rooms to analyze clinical trial data across multiple hospital sites. Each site's patient data stays encrypted, the TEE runs the statistical analysis (survival analysis, endpoint evaluation, subgroup analysis), and only the aggregated results are released. This accelerates trial analysis from months of data sharing agreements to days.
Medical imaging AI: Radiology AI models trained inside confidential VMs process patient imaging data without exposure to the cloud provider. Hospitals upload encrypted DICOM images, the TEE decrypts and processes them through the diagnostic model, and the results are encrypted before being sent back. The hospital maintains control of the encryption keys through an HSM integrated with the attestation flow.
Genomic analysis: Research consortia process genomic datasets from multiple biobanks inside TEEs. The genome-wide association studies (GWAS) run on the combined dataset within the TEE, with results satisfying differential privacy bounds before release. Individual-level genomic data is never visible outside the TEE.
Government and Defense
Government agencies face the most stringent security requirements, and confidential computing enables cloud adoption for workloads that previously required air-gapped on-premises systems.
Classified workload processing: Defense and intelligence agencies use confidential VMs to process classified data on commercial cloud infrastructure. The TEE ensures that the cloud provider -- even if compelled by a legal process in another jurisdiction -- cannot access the classified data. Combined with hardware-based key management (HSMs controlled by the government agency), this architecture meets the technical requirements for processing data at various classification levels.
Citizen data processing: Tax authorities, social security administrations, and census bureaus use confidential computing to process citizen data on cloud infrastructure while maintaining sovereign control. The attestation infrastructure is operated by the government, ensuring that no commercial entity is in the trust chain for citizen data processing.
Cross-agency data sharing: Different government agencies can share data for joint analysis (for example, tax records with law enforcement for financial crime investigation) using TEE-based data clean rooms, with each agency maintaining control over their data and clear audit trails of what analysis was performed.
The Confidential Computing Consortium
The Confidential Computing Consortium (CCC), a Linux Foundation project, is the industry body driving standardization and ecosystem development for confidential computing. Founded in 2019 with initial members including Intel, AMD, ARM, Google, Microsoft, and Red Hat, the CCC has grown to over 40 member organizations by 2026.
The CCC's key contributions include:
Common terminology and definitions: The CCC published the definitive definition of confidential computing ("the protection of data in use by performing computation in a hardware-based, attested Trusted Execution Environment") that is now used across the industry and in regulatory guidance.
Open source projects: The CCC incubates and promotes open source projects including Open Enclave SDK, Gramine, Veraison (an attestation verification framework), and Keystone (an open-source TEE for RISC-V).
Attestation standardization: Working with the IETF RATS working group, the CCC is driving standardization of attestation evidence formats, verification procedures, and trust policies. The goal is full interoperability: a verifier should be able to evaluate attestation evidence from any TEE vendor using a common policy framework.
Industry outreach: The CCC conducts education, publishes reference architectures, and works with regulatory bodies to ensure that confidential computing is recognized in compliance frameworks.
Architectural Patterns and Best Practices
Deciding What Goes Inside the TEE
Not every component needs TEE protection. The principle of minimal TCB (Trusted Computing Base) suggests placing only the security-critical processing inside the TEE and keeping non-sensitive components outside. A typical architecture might include:
- Inside the TEE: Data decryption, sensitive computation (model inference, financial calculations, PII processing), re-encryption of results, attestation logic, and key management.
- Outside the TEE: Load balancing, request routing, logging (of non-sensitive metadata), health checks, and auto-scaling infrastructure.
This separation minimizes the attack surface inside the TEE and reduces the performance overhead by limiting the amount of code and data that crosses the TEE boundary.
Key Management Architecture
Key management for confidential computing follows a pattern where the data owner retains control of encryption keys and releases them only to verified TEEs. The typical flow:
- Data owner encrypts data with a Data Encryption Key (DEK).
- DEK is wrapped (encrypted) with a Key Encryption Key (KEK) held in an HSM or key management service controlled by the data owner.
- The wrapped DEK is stored alongside the encrypted data.
- When the TEE needs to process the data, it attests to the key management service.
- The KMS verifies the attestation, checks the policy (correct code, correct configuration, current firmware), and releases the DEK to the TEE.
- The TEE unwraps the DEK, decrypts the data, processes it, re-encrypts results, and discards the DEK.
This pattern ensures that even if the TEE's encrypted memory is captured (for example, from a memory dump of the host), the data cannot be decrypted without the DEK, which is only transiently present inside the TEE.
Defense in Depth
Confidential computing should be one layer in a defense-in-depth strategy, not a replacement for other security measures. A robust architecture combines:
- Network security: Encrypted communication (mTLS), network segmentation, private endpoints.
- Identity and access management: Strong authentication, least-privilege access, just-in-time access provisioning.
- TEE protection: Hardware-enforced encryption of data in use, attestation verification.
- Data encryption: Encryption at rest (storage encryption) and in transit (TLS/mTLS).
- Monitoring and audit: Logging of attestation events, access patterns, and anomalies. Note that monitoring cannot inspect TEE-internal state, so logging must be designed into the TEE application.
- Incident response: Procedures for TEE compromise scenarios, key rotation, and attestation policy updates.
Looking Forward
Confidential computing in 2026 has reached production maturity for VM and container workloads, with GPU confidential computing enabling the critical AI use case. The technology is no longer an exotic capability for niche security use cases -- it is becoming a default architectural choice for regulated workloads in cloud environments.
The remaining challenges are primarily in areas of ecosystem maturity rather than fundamental technology gaps. Cross-vendor attestation interoperability is improving but not yet seamless. Developer tooling, while dramatically better than five years ago, still requires more expertise than deploying a standard VM. Performance overhead, though modest for most workloads, requires careful architectural consideration for I/O-intensive applications.
The trajectory is clear. Hardware vendors are investing in larger, more capable TEEs with lower overhead. Cloud providers are integrating confidential computing deeper into their managed services. The open source ecosystem is reducing the barrier to entry. Regulatory bodies are recognizing confidential computing as a technical measure that satisfies data protection requirements.
For engineering leaders evaluating confidential computing, the question has shifted from "is this technology ready?" to "which workloads should we prioritize for confidential computing deployment?" Start with the workloads that face the most regulatory pressure or handle the most sensitive data, build expertise with the cloud provider's managed confidential VM offerings, and expand to confidential containers and confidential AI as your team's capabilities grow.
The organizations that build confidential computing expertise now will have a structural advantage as regulations tighten and as customers, partners, and regulators increasingly expect hardware-enforced data protection as a baseline. Confidential computing is not just a security upgrade -- it is the foundation for a new generation of trust architectures that enable collaboration, compliance, and computation on data that was previously too sensitive to move to the cloud.

