BusinessMCP

AWS Nitro Sandboxes Add $0 Extra for microVM Isolation

AWS Nitro Sandboxes isolate individual EKS pods, ECS tasks and other EC2 workloads with dedicated microVMs and separate kernels, while keeping sandbox capability free of an additional charge.

BusinessMCP Newsroom3 min read
A data center corridor lined with server racks and glowing blue status lights.
Image: U.S. Department of Energy / rawpixel via Openverse (CC0)
At a glanceDetails
LaunchNovember 16, 2026
WorkloadsEKS pods, ECS tasks and other EC2 workloads
IsolationLightweight VM with its own kernel
AvailabilityAll commercial AWS Regions
Sandbox fee$0 additional charge

AWS announced Nitro Sandboxes on November 16, 2026, giving individual EKS pods, ECS tasks and other EC2 workloads a lightweight virtual machine with its own kernel, according to iMasters.

"Nitro is a complete re-imagining of how virtualization should happen on an x86 or ARM processor." — Mark Ryland, AWS director of security, as quoted by Cloud Native Now

The capability is available in all commercial AWS Regions without an additional sandbox charge. Customers still pay for EC2 capacity and applicable EKS Auto Mode or ECS Managed Instances fees.

What security problem does it solve?

Modern AI agents write scripts, parse spreadsheets and execute shell commands, according to the AWS Builder Center. Traditional Linux containers share the host kernel, so malicious or faulty generated code can put co-located tenants at risk after a kernel exploit.

A dedicated EC2 instance for every agent session provides isolation, but AWS says it undermines unit economics and can require minutes of instance startup (The New Stack). Nitro Sandboxes instead let multiple workloads share one EC2 instance while each receives a hardware-enforced microVM boundary.

AWS says its first-level guest design avoids nested virtualization and delivers near-native compute and memory performance. That performance description is a vendor claim, and one AWS Container Hero cited by iMasters recommends measuring boot latency, I/O throughput and tail latency in a specific deployment.

Which sandbox mode fits which workload?

  • Isolated mode treats the parent instance as trusted while protecting it and neighboring workloads from a compromised sandbox. It is aimed at untrusted agent-generated code, untrusted files and CI/CD runners.
  • Confidential mode treats the parent instance as untrusted. It moves policy enforcement into the sandbox, limits administrative operations and supports cryptographic attestation before AWS KMS releases secrets. Image layers can also be encrypted so the parent handles only ciphertext.
  • Network isolation is a separate option that starts the sandbox without a network device. This removes DNS, NTP, IMDS and Pod Identity, while also breaking HTTP and TCP probes that depend on network access.

Attestation still requires verification. Without a KMS policy or external verifier checking the recorded measurements, the documentation says confidential mode’s confidentiality guarantees remain incomplete.

What changes in EKS deployments?

For Kubernetes, selecting a sandbox fits into a single pod-manifest field: `runtimeClassName` is set to `isolated-sandbox` or `confidential-sandbox`. The container implementation remains unchanged. A `containerd-shim-nitro-sandbox-v2` process on the parent starts a Firecracker microVM as a first-level guest, with its own containerd inside and communication through virtio and vsock.

EKS Auto Mode includes both runtime classes in every cluster and brings up sandbox-capable nodes on demand. Standard EKS requires a sandbox-enabled AMI for node groups or Karpenter. Other stated prerequisites are Kubernetes 1.36 or later, Nitro Enclaves enabled through the managed-node-group launch template, and Pod Identity rather than IRSA for credentials.

Density is also constrained. Total sandboxed vCPUs cannot exceed five times a node’s vCPU count, while the sandbox count is halved on instance types with CPU overcommit. A four-vCPU node therefore has room for twenty one-vCPU sandboxes or five four-vCPU sandboxes under those limits. GPU and device passthrough are unsupported because Firecracker cannot pass host devices into the guest, so GPU pods run without the sandbox class.

What changes for agent operators?

The concrete separation is between model generation and execution. The AWS pipeline has Bedrock generate code, an orchestrator validate basic syntax, and the sandbox run the payload with restricted network egress before output is written to a scoped S3 prefix.

For teams working through BusinessMCP’s practical guide to building an AI agent, this adds an infrastructure boundary around code execution. It remains separate from the MCP endpoint wiring described in our guide to autonomous AI agents and a unified endpoint.

For hosted agent workloads, the sandbox capability itself adds $0 beyond standard EC2 and EKS or ECS fees, while the execution boundary moves down to each pod or task.

Sources

All news