Cloud Infrastructure
AWS Nitro Sandboxes Isolate Each EKS Pod in Its Own Lightweight VM
AWS's new Nitro Sandboxes run individual Kubernetes pods in isolated microVMs with their own kernels, activated via a single RuntimeClass configuration field.
1/2
InfoQ
AWS has rolled out Nitro Sandboxes, a capability that wraps opted-in EKS pods, ECS tasks, or EC2 workloads inside their own minimal virtual machines, each with its own guest kernel. The Nitro hypervisor carves these lightweight VMs directly from a running EC2 instance. On Amazon EKS, enabling sandboxing requires just a single pod specification: runtimeClassName: isolated-sandbox or runtimeClassName: confidential-sandbox.
The service launches across all AWS commercial regions without additional cost. AWS is positioning it primarily for scenarios where containerized code or multi-tenant payloads cannot be fully trusted—naming AI coding agents as a leading use case.
How It Works#
Under the hood, a containerd-shim-nitro-sandbox-v2 process on the parent instance launches a Firecracker microVM with hardware-assisted virtualization. An agent running inside the VM then executes the pod's containers through its own containerd instance. The parent and sandbox communicate via virtio and vsock devices, ensuring neither kernel nor memory mappings are shared—not with the parent node, and not with any neighboring sandbox.
For EKS Auto Mode clusters, both RuntimeClasses arrive pre-configured, and sandbox-capable nodes spin up automatically. Teams managing standard EKS clusters must build and maintain a custom, sandbox-enabled AMI for their node groups or Karpenter deployments.

Isolated vs. Confidential Modes#
The two RuntimeClass options reflect different threat models. Isolated mode assumes the parent node remains trustworthy, allowing operations like , log streaming, and process inspection to function normally. treats the parent as untrusted: it generates a policy from the pod specification that pins image digests, arguments, environment variables, mounts, and Linux capabilities. This mode blocks and stdin, measures image and policy into PCRs (Platform Configuration Registers) via the Nitro Secure Module, and can tie KMS key release to matching PCR values. Image layers themselves may be encrypted, meaning the parent instance handles only ciphertext it cannot decrypt.

