InsightsSecurity
EKS Auto Mode now runs pods in Nitro Sandboxes
On 9 November 2026 AWS added Nitro Sandboxes to Amazon EKS Auto Mode, so a pod can run in its own hardware-isolated microVM by setting a runtime class. What isolated and confidential pods protect, and the limits to check before moving workloads.
Published November 13, 20266 min read
According to the EKS Auto Mode release notes, on 9 November 2026 Amazon EKS Auto Mode gained support for Nitro Sandboxes. A pod can now run inside its own hardware-isolated virtual machine on the AWS Nitro System, chosen with one field in the pod spec. Auto Mode provisions the nodes, and you do not build or manage an AMI. The feature needs Kubernetes 1.36 or later and is available in all commercial AWS Regions.
Pods on a normal node share the node's Linux kernel, so a container escape or a kernel bug can expose neighbouring workloads. This feature gives the pods that matter most a separate kernel instead. The details below come from the Sandboxing on Amazon EKS documentation.
What changed
Setting runtimeClassName to isolated-sandbox or confidential-sandbox makes kubelet start the pod in a Nitro Sandbox. That is a Firecracker microVM with its own kernel, a first-level guest using hardware-assisted virtualization, not nested virtualization. The Nitro hypervisor enforces memory and CPU isolation between sandboxes. Pods without the field keep the default runtime, so adoption is per pod.
| Isolated | Confidential | |
|---|---|---|
| Runtime class | isolated-sandbox | confidential-sandbox |
| Trusted party | The parent instance (the node) | Only the guest |
| Protects against | A compromised container reaching the node or other pods | The node operator or a compromised node reading workload data |
exec, logs, process listing | Permitted | exec, stdin and process listing denied |
| Container admission | Any valid container spec | Policy pins image digests, args, environment, mounts and capabilities |
The runtime class is authoritative. The system derives the mode from it and ignores any mode annotation in the pod spec.
Running a pod
The minimal case is one extra field. This is the AWS example, with the cluster at Kubernetes 1.36 or later:
apiVersion: v1
kind: Pod
metadata:
name: my-app
spec:
runtimeClassName: isolated-sandbox
containers:
- name: main
image: public.ecr.aws/amazonlinux/amazonlinux:2023
command: ["sleep", "3600"]
resources:
limits:
cpu: "1"
memory: 512MiIf you create the cluster with eksctl, pass --version, because the tool's default version may be older than 1.36.
For Deployments, Jobs and the other controllers, put runtimeClassName and every sandbox.amazonaws.com/ annotation in the pod template. The documentation warns that an annotation on the controller's own metadata is accepted and then ignored, so a policy or throttle you thought was in force is not.
When Auto Mode cannot provision a sandbox node, the pod stays Pending. That happens if the NodeClass uses FIPS AMIs, if the instance type's AMI is a GPU or Neuron variant, or if the instance type is multi-NUMA or not yet validated. At launch, r5a, r5ad and m5ad are also excluded, which AWS describes as temporary.
What the sandbox enforces
Each pod gets a Cedar policy, generated from the pod spec with eks-nitro-sandbox-genpolicy and attached as an annotation. The sandbox enforces it from inside the guest, so it holds even when the parent instance is untrusted. It controls which images load, which containers run, whether exec and logs are allowed, and which mounts are allowed.
Three further controls are worth knowing:
- Image signature verification. Images signed with AWS Signer, in Notation format, are verified inside the sandbox, including revocation status, before a container starts. The Cedar policy says which signing profiles are trusted. This sits beside admission-time checks such as those in signing container images; it does not replace them.
- Encrypted images. Layers encrypted to the OCI image encryption specification are decrypted inside the sandbox using AWS KMS. The node moves encrypted blobs but never sees the plaintext. Images that mix encrypted and plaintext layers are not supported.
- Attestation. The sandbox has a Nitro Secure Module whose registers measure the system image and the workload policy. You gate KMS decryption with
kms:RecipientAttestation:PCR<PCR_ID>conditions in the key policy.
To run code that must not use the network, set sandbox.amazonaws.com/network-isolated: "true". The sandbox then boots with no network device at all, so there is no DNS, NTP, IMDS or Pod Identity either. AWS notes this is not absolute isolation, since the vsock channel can still reach guest-bound ports. Kubelet HTTP and TCP probes cannot succeed, so use exec probes, and kubectl port-forward does not work.
What to check before moving workloads
A sandbox is a different environment from a container on a shared kernel. The considerations page lists the differences. The ones most likely to matter:
- No GPU or device passthrough. Firecracker cannot pass host devices into the guest. Inference and training pods stay on the normal runtime.
hostNetwork: truefails to start, andhostUsers: falseis not supported.hostPIDandhostIPCstart but only see the sandbox.- No in-place resize. CPU and memory are fixed at boot. Changing requests means recreating the pod, which affects any setup that relies on in-place vertical scaling, as described in Kubernetes autoscaling.
- Density is capped. Total sandbox vCPUs on a node cannot exceed five times the node's vCPU count, and the number of sandboxes is capped at the same multiple, halved on CPU-overcommit instance types. Memory is usually the limit first.
- CPU on SMT instances. Core scheduling keeps two sandboxes off sibling threads of one core, so usable compute is roughly half the advertised vCPUs. Request CPU in multiples of two, or use Graviton, which has one thread per core.
- Memory overhead. Each unique image in a pod reserves 16 MiB of fixed runtime overhead, and pods requesting more than 1 GiB see usable memory about 1 to 2 percent below the request.
- Storage. A block device attaches to one sandbox, so share data through Amazon EFS and use
ReadWriteOncePodfor EBS. Ephemeral storage used byemptyDirand the writable layer reports as zero to kubelet, so setephemeral-storagelimits yourself. - IMDS is reduced to placement and partition paths. Use EKS Pod Identity for credentials.
- Network limits per pod. The defaults are 4096 simultaneous outbound connections per IP family and 100 DNS queries per second. Both can be raised with annotations, up to 65536 connections and 512 queries per second. Check them before benchmarking a request-heavy service.
Where it fits
The strongest cases are workloads that run code you did not write: CI runners, build jobs, customer-supplied functions, and tools driven by AI agents. The risk in those cases is a hostile or manipulated process, which is what a kernel boundary is for. It pairs with the permission limits discussed in letting AI agents act on production safely, since a sandbox contains a compromised process but does not decide what credentials it holds.
It is not a replacement for Pod Security Admission or for least-privilege IAM. Those control what a pod is allowed to ask for. The sandbox limits what a pod can reach if it is compromised. AWS also splits responsibility: it owns the hypervisor, the sandbox boundary and the guest system image, while you own your images, Cedar policies, KMS key policies and application code.
A cautious way to start
- Create a test cluster on Kubernetes 1.36 or later with Auto Mode, and run the example pod. Confirm the node appears and the pod reaches
Running. - Pick one workload that runs untrusted code. Put
runtimeClassName: isolated-sandboxin its pod template, not on the controller. - Run it under its real load. Watch startup time, memory headroom, connection counts and DNS rates against the limits above.
- Check that
exec-based debugging, probes, volumes and any sidecars still behave. Move probes to exec if you use network isolation. - Only then consider confidential mode, and write the KMS attestation conditions before any secret is released to it.
Sandboxed pods sit on specific instance types and carry overhead, so expect them to cost more per unit of work than ordinary pods. Measure that on your own workload instead of assuming it, and keep sandboxes for the pods whose compromise would cost the most.