EQTY LabDocs

Azure (AKS)

Deploy Verifiable Containers on AKS with SEV-SNP PodVMs.

View as Markdown

Verifiable Containers runs on AKS with AMD SEV-SNP and Intel TDX PodVMs through the Cloud API Adaptor (CAA / Peer Pods) deployment model. On Azure, this walkthrough uses an Azure Marketplace deployment (a Bicep template plus a Terraform wrapper) that provisions the cluster, the CAA identity, and CoCo plus Peer Pods in one shot.

What gets deployed

The reference deployment provisions:

  • An AKS cluster with confidential-VM-capable Peer Pod nodes.
  • Networking sized for AKS plus Peer Pod confidential VMs (VNet plus subnets).
  • The CAA user-assigned managed identity, its RBAC, and a federated credential for workload identity.
  • A PodVM gallery image, referenced by resource ID or imported from a VHD SAS URL.
  • CoCo plus Peer Pods installed with the Kata-remote profile via Helm.

The same Bicep template handles initial creates and in-place updates.

Prerequisites

  • Subscription access to create AKS clusters, managed identities, and role assignments.
  • A region with AMD SEV-SNP Standard_DC*as_v5 or v6 capacity.
  • An Azure PodVM image URL from the deployment artifacts page.
  • The az CLI, logged in.
  • A user with the following
    • Contributor
    • Role Based Access Control Administrator

Deploy the cluster

  1. Log in to the Azure Portal at https://portal.azure.com.

  2. Visit the deploy UI at https://azure-vcoco.prod.eqtylab.io.

  3. Trust the author’s code.

    Trust author's code dialog

  4. Select a subscription, a resource group, and a region, then click Next.

  5. Enter the cluster name for this cluster and click Next.

  6. Enter the number of worker nodes. For most installations, 1 is enough. Selected SKU should NOT be a CC sku, have more then 2 cores and 4 GB of memory.
    NOTE: In the Peer Pods setup, pods do not consume the node’s local resources. Instead, each pod creates a new VM in your subscription with dedicated resources for that pod.

  7. Select the size of the worker Node VM and the PeerPod VM.
    NOTE: The PeerPod VM must be a Confidential Computing SKU, such as DC4as.

  8. Enter the Confidential pod disk size (GB). This is the size of the encrypted ephemeral disk attached to each PeerPod VM. Container images and workload writes go here. 128 GB is a safe default. Raise it for larger images or workloads that write a lot of temporary data. Set to 0 to run the workload entirely in RAM, which is only viable for very small pods.

  9. Select the Kubernetes version, enter a Key pair name, and click Next.

  10. Enter the Azure PodVM image URL from the deployment artifacts under PodVM download link.

  11. Deploy, and wait for the deployment to finish.

  12. Open the cluster in Azure AKS and click Connect to access your new Kubernetes cluster with kubectl.

NOTE: On Azure, it can take 30 minutes to configure and prepare the resources. Watch for “Your deployment is complete”.

Confirm the runtime class

Once the deployment is finished and you are connected to the cluster, validate that the runtime class is installed.

bash
az aks get-credentials -g <rg> -n <cluster>
kubectl get runtimeclass

You should see a kata-remote (or equivalent) runtime class installed by the CoCo Helm chart. Peer Pods routes pods with that runtime class through CAA, which provisions one confidential VM per pod from the PodVM image.

Azure supported SKU

TechnologySKUAttestation TypeOpenHCLNotes
AMD SEV-SNPStandard_DC2ads_v5Hardware + vTPMNo
Intel TDXStandard_DC2eds_v5Hardware + vTPMNoSapphire Rapids
Intel TDXStandard_DC2eds_v6Hardware + vTPMYes
AMD SEV-SNPStandard_NCC40ads_H100_V5Hardware + vTPMNoContains H100 GPU
Intel TDXStandard_NDC96is_H200_V5Hardware + vTPMYes?8 H200 in PPCIe. Not Tested

To change SKUs, node count, Kubernetes version, or the PodVM image on a running cluster, see Updating Azure Cluster.