The Short Answer
AWS has launched Nitro Sandboxes, a way to run each Amazon EKS pod, Amazon ECS task or lightweight EC2 workload inside its own hardware-isolated virtual machine, managed by the same Nitro Hypervisor that separates EC2 instances. In its official announcement on November 9, 2026, checked today, AWS says the sandboxes deliver near-native EC2 performance, support cryptographic attestation so secrets are released only to workloads that prove their integrity, and are available on most Nitro-based EC2 instances in all commercial regions at no additional charge — you pay only for the host instance.
For server readers, the pitch is density without the usual trade-off: pack many tenants, AI agents or build jobs onto one instance, but give each one a VM boundary instead of a shared kernel. On EKS, enabling it is a one-line change (runtimeClassName: isolated-sandbox or confidential-sandbox), and Pod Identity, VPC networking, EBS/EFS/S3 storage and CloudWatch keep working. The catch is maturity: Kubernetes 1.36 or later, no GPU passthrough at launch, fixed memory overhead per pod, and — outside EKS Auto Mode — a custom node image to maintain. Below: what launched, how the two modes differ, what it costs in practice, and who should care versus staying on plain containers or a dedicated VPS.
What AWS Announced
AWS announced Nitro Sandboxes in its What’s New feed on November 9, 2026, covering three surfaces at once: Amazon EKS (Elastic Kubernetes Service), Amazon ECS (Elastic Container Service) and plain Amazon EC2. Each opted-in workload gets a lightweight VM with its own kernel, isolated by the Nitro Hypervisor rather than by container namespaces on a shared host kernel.
The problem is old but sharper now: containers on one node share the host kernel, so a flaw in one can expose its neighbors, while the traditional fix — a dedicated machine per workload — wastes most of that machine. AWS names four drivers: AI agents running unreviewed code, SaaS platforms with hundreds of customers on shared clusters, regulated industries needing cryptographic proof, and privileged CI/CD builds.
Two compatibility promises matter. First, on EKS and ECS the sandbox is opt-in per pod or task, and your workloads remain native: Pod Identity, the VPC CNI, EBS, EFS and S3 storage, and CloudWatch all work out of the box. Second, if you want full control, you can run sandboxes directly on EC2 with your own AMI, orchestration and virtual machine monitors, with Amazon Linux and Firecracker natively supported. That second path is for teams building their own platform; most readers will use the managed EKS or ECS path.
How Nitro Sandboxes Work
A sandbox runs alongside the EC2 instance, not inside it. The instance is the parent: it contributes some of its vCPUs and memory, and the Nitro Hypervisor enforces the boundary. On EKS, kubelet hands the pod to a shim (containerd-shim-nitro-sandbox-v2), which starts a Firecracker microVM; an agent inside the sandbox evaluates the pod policy, loads images, and starts containers through its own containerd. The sandbox is a first-level guest with direct hardware virtualization — no emulation, no nested virtualization — and its vCPUs are scheduled by Nitro, not by the node’s kernel. All containers in a pod share one sandbox, and to the application the environment looks like a normal Linux container, so no code changes are needed.
Enabling it is deliberately small. Add runtimeClassName: isolated-sandbox to the pod spec (or the pod template for Deployments) and the pod runs in its own microVM. On ECS, sandboxes run on ECS Managed Instances with a configured Bottlerocket image. On plain EC2, you launch a supported parent instance with Nitro Enclaves enabled, reserve a memory pool at boot, and start sandboxes with Firecracker yourself — you become the orchestrator.
The Two Modes: Isolated vs Confidential
You choose the mode at launch and cannot change it on a running sandbox. The difference is who is trusted.
| Standard containers | Nitro Sandbox — Isolated | Nitro Sandbox — Confidential | |
|---|---|---|---|
| Kernel boundary | Shared host kernel | Dedicated guest kernel per pod/task | Dedicated guest kernel + memory removed from parent |
| Who is not trusted | — | The code in the pod | The code in the pod and the node itself |
| What is protected | Namespace/cgroup isolation only | Node and neighboring pods | Workload data from the node operator |
| exec, logs, port-forward | Allowed | Allowed | Denied |
| Pod policy | Any valid spec | Any valid spec | Pins image digests, args, env vars and mounts |
| Attestation | None | Not required | Verified through AWS KMS |
| Memory overhead per pod | None | 256 MiB | 512 MiB |
| Extra AWS fee | None | $0 (host EC2 only) | $0 (host EC2 only) |
Isolated mode protects the node and neighbors from a compromised workload, while keeping everyday operations (kubectl exec, logs, port-forward) working. Confidential mode treats the host operator as untrusted: exec and process listing are denied, the policy pins exactly what may run, and secrets are released only after KMS-backed attestation proves the sandbox’s integrity. On plain EC2 the same choice appears as confidential (the default, memory removed from the parent) versus direct mode (memory accessible to the parent, for cases where one trusted party operates both).
Pick isolated for the common case — untrusted tenant code, agent-generated code, build jobs — where you still need to debug. Pick confidential when the node operator must not see the data, or when a regulator asks for proof rather than configuration. If you cannot explain which attacker each mode stops, you are not ready for confidential mode; start with isolated and measure.
Limits That Matter in Production
Launch-day limits decide whether this fits your cluster. All figures below are from AWS documentation summaries checked today; AWS publishes no official cold-start benchmarks, so treat any startup number you see elsewhere as sample data, not a guarantee.
Version and platform requirements. EKS needs Kubernetes 1.36 or later — many production clusters are not there yet. EKS Auto Mode is the shortest path (support built in, no AMI to build). Standard EKS needs a custom AMI with a sandbox-capable kernel (Amazon Linux 2023, kernel 6.18.51+), the shim, a matched guest image, Firecracker v1.18+ and containerd 2.0+, plus a reserved memory pool — rebuilt and rolled whenever AWS updates the runtime. Auto Mode will not provision sandbox nodes for FIPS AMIs, GPU/Neuron variants, multi-NUMA or unvalidated types.
No GPU passthrough at launch. GPU workloads cannot use a sandbox yet, which rules out the obvious “isolated GPU inference per tenant” pattern for now. CPU-only agents, APIs and builds are the launch sweet spot. Teams running AI inference should compare this with our coverage of AWS Lambda on GPUs for managed GPU inference without drivers.
Density is memory-bound. A sandbox’s CPU and memory are fixed at boot; changing them means recreating the pod. Each pod carries 256 MiB (isolated) or 512 MiB (confidential) of fixed overhead, memory is never overcommitted, and while a node can hold up to five sandboxes per vCPU in theory, memory runs out first in practice. On Intel/AMD instances with two threads per core, request CPU in multiples of two vCPUs; Graviton (one thread per core) is unaffected. That overhead is the real price of the boundary — budget it before bin-packing tenants.
Network throttling by default. Every sandbox is throttled so one pod cannot exhaust the node: 100 Mbps each way, 1,500 packets per second, DNS/connection caps and 2 Mbps for logs, adjustable via sandbox.amazonaws.com/ annotations read once at pod creation. Raise bandwidth and packet rate together before a load test. A network-isolated annotation boots with no interface, DNS, IMDS or Pod Identity credentials, at the cost of port-forward and HTTP/TCP probes.
Isolation is not authorization. A pod with a broad Pod Identity role keeps that role inside the sandbox. Give each sandbox a role scoped to its task, or none. IAM credentials are not available through IMDS (region and zone paths only), so use EKS Pod Identity. EBS volumes attach to one pod only; use EFS for shared storage, and you cannot expand an EBS volume while the pod runs.
What It Costs: $0 Extra, but Not Free
AWS charges nothing beyond the EC2 instances that host the sandboxes, in all commercial regions. There is no per-sandbox fee to model. The cost shows up indirectly: the 256–512 MiB overhead per pod, the memory pool reserved for sandboxes, and the host capacity you must provision so neighbors do not starve. Denser packing saves money only if your pods were previously spread across mostly-idle dedicated nodes for isolation reasons; if you already pack tightly with standard containers, sandboxes reduce density slightly in exchange for the boundary.
Hosted sandbox services (E2B, Daytona, Modal) sell a finished product — SDK, warm pools, pause/resume, GPUs — while Nitro Sandboxes gives you only the boundary; you build the API, warm pools and cleanup. With no platform team, hosted is still faster; when code and data must stay in your AWS account, Nitro Sandboxes is the native answer.
The same Nitro foundation underpins the burstable AWS EC2 T9g Graviton5 instances and the Graviton5 M9g and C9g rollout — cheaper hosts make per-pod VMs affordable. The risk is real: our report on the KVM flaw CVE-2026-99312 that let a VPS read host memory shows the neighbor-escape class Nitro Sandboxes contains.
Who Should Use It — and Who Should Wait
Use it now if you run untrusted or tenant-supplied code on shared EKS/ECS nodes, you execute LLM-generated code or AI-agent actions, your CI builds need stronger isolation than namespaces, or a compliance review requires hardware boundaries with attestation. Start on EKS Auto Mode with isolated mode, one namespace, and measure overhead and throttling before rolling wider.
Wait if your cluster is below Kubernetes 1.36, you need GPU passthrough, your pods are tiny and numerous enough that 256 MiB overhead each breaks the math, or you run a single-tenant workload where a dedicated instance or a simple VPS already gives you the boundary. A $5–$10 VPS remains the cheapest isolated Linux box for one workload; Nitro Sandboxes earns its keep when many workloads must share one host safely.
Do not confuse it with neighbors. Lambda MicroVMs are the serverless option; Nitro Enclaves fit small sensitive jobs with no disk or network; nested virtualization (Intel only) fits your own hypervisor; Kata Containers and gVisor are the portable options off AWS. Nitro Sandboxes wins when the workload must stay in your AWS account with a hardware boundary per pod.
FAQ
What are AWS Nitro Sandboxes?
Lightweight virtual machines managed by the Nitro Hypervisor, launched November 9, 2026, that give each opted-in EKS pod, ECS task or EC2 workload its own hardware-isolated VM with its own kernel, on most Nitro-based EC2 instances in all commercial regions.
Do Nitro Sandboxes cost extra?
No. AWS charges nothing beyond the EC2 instances hosting the sandboxes. The practical cost is capacity: 256 MiB overhead per isolated pod (512 MiB confidential) plus the reserved memory pool.
How do I enable a sandbox on EKS?
Set runtimeClassName: isolated-sandbox (or confidential-sandbox) on the pod spec or pod template. EKS Auto Mode has support built in; standard EKS needs a custom sandbox AMI and Kubernetes 1.36 or later. Pod Identity, VPC CNI, EBS/EFS/S3 and CloudWatch work without changes.
Isolated or confidential — which mode should I choose?
Isolated protects the node and neighbors from the pod’s code and keeps exec/logs working. Confidential also protects workload data from the node operator, denies exec, pins the pod policy and requires KMS attestation. Choose confidential only when the operator must not see the data.
Can sandboxes use GPUs?
No. GPU passthrough into a Nitro Sandbox is unavailable at launch. Sandboxes fit CPU workloads today: agents, APIs, builds and multi-tenant services.
Does this replace a dedicated VPS per tenant?
For many tenants on shared AWS nodes, yes — that is the point: VM isolation without a mostly-idle machine per tenant. For a single workload, a dedicated instance or VPS is still simpler and often cheaper.
The Bottom Line
Nitro Sandboxes is a building block, not a finished sandbox product — and that is its strength. AWS has made the hardware boundary a one-line opt-in on infrastructure you already run, at no extra charge, with attestation for the cases that need proof. The price is operational: Kubernetes 1.36+, per-pod memory overhead, network throttling to tune, and a custom AMI to maintain outside Auto Mode. For platforms running AI agents, tenant code or privileged builds on shared nodes, this should become the default way to pack safely on AWS. For everyone else, keep standard containers, keep your dedicated boxes where they earn their keep, and revisit when GPU passthrough and broader instance support land.
Sources: AWS What’s New, “Introducing AWS Nitro Sandboxes on Amazon EKS, ECS and EC2 for hardware isolated pods, tasks and VMs” (aws.amazon.com, November 9, 2026); AWS Builder Center, “AWS Nitro Sandboxes: what it is, how to work with it, and how to set it up” (November 12, 2026), summarizing the EKS, ECS and EC2 User Guides — all checked November 27, 2026. AWS publishes no official cold-start benchmarks; startup figures in third-party samples are not AWS guarantees.



[…] cheapest answer. If many tenants share your Kubernetes nodes, the hardware boundary we covered in AWS Nitro Sandboxes is the production-ready way to isolate each pod today. The durable-plus-MicroVM pattern earns its […]