Containers on the same host share a kernel. For most workloads that is fine. For code you did not write, such as customer plugins, CI jobs from pull requests or anything an AI agent generated, a shared kernel is one bug away from a shared everything.
AWS's answer, announced on 9 November, is Nitro Sandboxes: each pod, task or container runs in its own small virtual machine, managed by the same Nitro hypervisor that isolates EC2 instances from each other. It works on most Nitro instance types in every commercial region, at no extra charge.
How it works
A normal EC2 instance acts as the "parent". It gives up some of its vCPUs and memory to the sandboxes it hosts, and each sandbox gets its own VM boundary. On EKS and ECS, AWS describes switching it on as a one-line change, and things like Pod Identity, the VPC CNI, EBS, EFS, S3 and CloudWatch keep working. On plain EC2 you bring your own orchestration, and for now Firecracker is the only supported virtual machine monitor.
There are two modes. Confidential, the default, stops the parent from reading sandbox memory and supports attestation, so AWS KMS can release secrets only to a sandbox whose image measurement matches what you expect. Direct mode behaves more like a nested VM, without attestation.
The limits worth knowing before you plan
The EC2 documentation is refreshingly direct about what you do not get:
Up to five sandboxes per parent vCPU, and at most 896 per parent instance.
At least 256 MiB of memory each.
CPU only. There is no GPU passthrough, so this is not yet a way to isolate GPU inference or training jobs.
No snapshot and restore, no pause, no live migration.
The parent must have Nitro Enclaves enabled, and flex instance types are not supported.
Two security notes that are easy to miss
First, the parent instance can read every block device it presents to a sandbox. EBS encryption protects data at rest from the outside world, not from the parent. If you are relying on Confidential mode to keep data away from the host, keep that in mind.
Second, sandboxes can reach the parent's instance metadata service if traffic is routed that way. That would hand sandboxed code the parent's IAM credentials, which defeats much of the point. AWS's guidance is to block 169.254.169.254 from sandboxes.
Who should care
Three groups get the most out of this:
Multi-tenant platforms that run customer code side by side and have been buying separate nodes per tenant for isolation. Sharing an instance across tenants with a VM boundary between them can cut a lot of waste.
CI providers and internal build platforms running untrusted pull request builds.
Teams running AI agents that execute generated code. This is clearly a big part of why it exists now, and AWS is not the only one shipping something like it. Google, NVIDIA and Microsoft all released agent isolation tools in the same month, which we will compare in a separate piece.
If you already isolate untrusted work with Firecracker, Kata or gVisor on your own, Nitro Sandboxes may let you hand that plumbing to AWS. If you have been putting it off, the "no extra charge" part removes one excuse. For background on why containers alone are not enough for agent workloads, see our earlier look at microVM isolation.







