# AWS Nitro Sandboxes Put Each EKS Pod in Its Own VM

> Source: https://www.layer3labs.io/guides/aws-nitro-sandboxes
> Summary: AWS Nitro Sandboxes run each Amazon EKS pod in its own hardware-isolated VM, opt-in per pod. AWS states no additional charge across commercial regions.

By [Jonathan West](https://www.layer3labs.io/about) · Updated Nov 10, 2026

# AWS Nitro Sandboxes Put Each EKS Pod in Its Own Virtual Machine

Learn what AWS Nitro Sandboxes provide across isolated and confidential modes, what AWS says they cost, where they run, and the limits AWS states.

By [Jonathan West](https://www.layer3labs.io/about) · Updated Nov 10, 2026

[AWS Nitro Sandboxes](https://aws.amazon.com/about-aws/whats-new/2026/11/nitro-sandboxes-eks-ecs-ec2/) run each [Amazon EKS](https://aws.amazon.com/eks/) pod, [Amazon ECS](https://aws.amazon.com/ecs/) task or [Amazon EC2](https://aws.amazon.com/ec2/) workload in its own hardware-isolated virtual machine (VM). On Amazon EKS you switch the feature on per pod.

[Amazon Web Services](https://aws.amazon.com/) (AWS) announced the feature on 9 November 2026. It uses the AWS Nitro System, and sandboxed workloads run as first-level guests directly under the Nitro hypervisor rather than through nested virtualization or software emulation. EKS is Elastic Kubernetes Service, ECS is Elastic Container Service, and EC2 is Elastic Compute Cloud.

As of 10 November 2026, AWS documents two modes, isolated and confidential. It supports untrusted code, including artificial intelligence (AI) agents, and relies on [AWS Key Management Service](https://aws.amazon.com/kms/) (AWS KMS) policies for attestation checks.

## What AWS Nitro Sandboxes Are

AWS Nitro Sandboxes provide a dedicated hardware-isolated virtual machine boundary for individual containers running on shared Amazon EC2 instances.

On standard container hosts, pods share the host Linux kernel, which means a single kernel vulnerability or container breakout can compromise neighboring containers on the same physical host. The [EKS User Guide](https://docs.aws.amazon.com/eks/latest/userguide/sandboxing.html) says a compromised container in a sandboxed pod cannot access memory or storage belonging to another pod.

On Amazon EKS, this isolation is entirely opt-in per pod. You configure a single line in your pod specification by setting `runtimeClassName` to `isolated-sandbox` or `confidential-sandbox`, leaving pods without this setting to run on the standard container runtime.

The primary audience is teams already running AWS container services. They need to run untrusted code, run code written by a large language model (LLM), isolate competing tenants, or protect regulated data. If you are evaluating broader agent systems, see [what autonomous AI agents are and how to govern them](https://www.layer3labs.io/guides/autonomous-ai-agents-for-business).

The feature runs only on AWS Nitro-based Amazon EC2 instances, so workloads outside those services cannot use it. The system provides two operating models: isolated mode, which shields the host and neighboring workloads from a compromised workload, and confidential mode, which treats the host operator as untrusted.

## Running Many Tenants on One Node

AWS states that Nitro Sandboxes allow software-as-a-service providers and internal platforms to safely bin-pack multiple tenant workloads onto a single EC2 instance while maintaining provable virtual machine isolation.

AWS says that until now strong isolation meant one workload per machine.

AWS reports that agent frameworks and coding harnesses such as [Claude Code](https://www.anthropic.com/claude-code), [Codex](https://openai.com/codex), [Strands](https://strandsagents.com/), and [OpenCode](https://opencode.ai) run without code changes inside these sandboxes. You package the agent container, assign the runtime class, and let the Nitro hypervisor isolate execution.

Isolation is a security boundary and gives no dedicated CPU cores. A sandbox does not receive dedicated physical processor cores, and vCPUs remain time-shared across all sandboxes on the host instance. Total sandbox vCPU allocations can oversubscribe the instance capacity.

To protect shared resources from noisy neighbors, AWS states that nodes apply default, configurable throttles. They cover network bandwidth, disk input and output, domain name system queries, log output, and connection tracking entries.

## Isolated Mode and Confidential Mode

The two operating modes in AWS Nitro Sandboxes differ primarily in who is treated as trusted by the guest environment.

| Mode | Who is trusted | What exec and logs allow | What the policy pins | What you must add |
| --- | --- | --- | --- | --- |
| Isolated | Parent instance trusted, guest untrusted | Exec, stdin, logs, stats, and process listing permitted | Policy does not pin admission fields, so any valid container spec is accepted | A [Cedar](https://www.cedarpolicy.com/) policy generated with eks-nitro-sandbox-genpolicy |
| Confidential | Parent instance untrusted, guest is trust boundary | Exec, stdin, and process listing denied | Policy pins image digests, args, environment variables, mounts, capabilities, and security settings | A Cedar policy and an AWS KMS key policy checking attestation PCR values |

In confidential mode, cryptographic attestation lets the sandbox prove its code integrity before secrets are decrypted. Platform configuration registers in the Nitro Secure Module measure the system image and workload policy.

The [EKS User Guide](https://docs.aws.amazon.com/eks/latest/userguide/sandboxing.html) warns that a KMS key policy must check PCR values. Without one, "the attestation measurement is recorded but never verified, and the confidentiality guarantees of confidential mode are incomplete."

Container image layers can also be encrypted under the [Open Container Initiative](https://opencontainers.org/) specification and decrypted inside the sandbox with AWS KMS. The sandbox can verify signatures made with [AWS Signer](https://docs.aws.amazon.com/signer/latest/developerguide/Welcome.html) and check revocation status before it starts a container. Both modes enforce policies written in [Cedar](https://www.cedarpolicy.com/), an open-source policy language.

## What It Costs and Where It Runs

AWS states that Nitro Sandboxes are available at no additional charge and run on your Amazon EC2 instances.

On Amazon EKS Auto Mode, the runtime classes ship pre-installed on every cluster, and Auto Mode provisions sandbox-capable nodes on demand. On standard EKS clusters that use [Karpenter](https://karpenter.sh/) or self-managed node groups, nodes must run a sandbox-enabled Amazon Machine Image, which the EKS User Guide covers.

AWS states that Nitro Sandboxes require [Kubernetes](https://kubernetes.io/) version 1.36 or later. For teams running custom orchestration directly on EC2, Amazon Linux and the lightweight hypervisor technology [Firecracker](https://firecracker-microvm.github.io/) receive native support.

Because sandboxes run on your existing compute capacity, our inference is that standard [Amazon EC2 pricing](https://aws.amazon.com/ec2/pricing/) applies to the underlying instances you provision. AWS publishes no specific dollar fee, benchmarked density ratio, or fixed percentage savings for sandbox adoption.

Availability phrasing varies across AWS pages published on 9 November 2026. The release notice says most Nitro-based EC2 instances in all commercial regions. The AWS Containers blog names [Intel](https://www.intel.com), [AMD](https://www.amd.com), and [AWS Graviton](https://aws.amazon.com/ec2/graviton/) families, and the EKS documentation cites supported instance types. To verify specific sizes, check the supported list in the [Amazon EC2 User Guide](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-ec2-nitro-sandboxes.html).

## Limits AWS States

AWS documents several architectural limits and design constraints that affect how you plan and deploy Nitro Sandboxes.

These boundaries determine where sandboxes provide protection and where external controls remain required.

Review these specific limits documented by AWS before rollout:

- Virtual CPU time-sharing: isolation provides a security barrier rather than dedicated hardware reservations. Workloads time-share cores and can oversubscribe host instances, meaning a sandbox cannot guarantee latency or throughput isolation.
- Attestation requirement: confidential mode guarantees remain incomplete without an AWS KMS key policy or verifier that inspects attestation register values before decrypting data.
- Network isolation boundaries: disabling networking via the pod annotation boots the guest without a network device, yet communication over the internal vsock channel remains active. Standard port forwarding, HTTP probes, and TCP probes fail under this configuration.
- Shared responsibility split: AWS maintains the Nitro hypervisor, guest system image, and sandbox boundary. Customers remain responsible for application code, container images, Cedar policies, and KMS key policies.
- Varying instance eligibility: AWS pages word availability differently, and the Amazon EC2 User Guide carries the list of supported instance types.

## Who Should Skip AWS Nitro Sandboxes

Teams operating outside AWS container infrastructure or running workloads composed entirely of first-party, trusted code have little reason to adopt Nitro Sandboxes.

Workloads executing small, tightly scoped jobs may be better served by [AWS Nitro Enclaves](https://aws.amazon.com/ec2/nitro/nitro-enclaves/), which the EC2 User Guide recommends for small, tightly scoped jobs.

A sandbox also does not make an autonomous agent safe on its own. For implementing execution governance alongside infrastructure controls, consult our [AI agent audit log checklist](https://www.layer3labs.io/governance/ai-agent-audit-log-checklist).

Our assessment flips if the workload starts running untrusted user submissions or LLM-generated scripts. It also flips if you host several tenants on shared compute or handle regulated data under [HIPAA](https://www.hhs.gov/hipaa/index.html), [PCI DSS](https://www.pcisecuritystandards.org/), [SOX](https://www.sec.gov/spotlight/sarbanes-oxley.htm), or [FedRAMP](https://www.fedramp.gov/). For implementation steps, read [how to run an AI agent in an AWS Nitro Sandbox](https://www.layer3labs.io/guides/aws-nitro-sandboxes-for-ai-agents).

## Our Takeaway on AWS Nitro Sandboxes

AWS Nitro Sandboxes give each pod its own lightweight virtual machine on shared EC2 nodes. They suit teams already running Amazon EKS or ECS that need hardware-level boundaries for untrusted execution, AI agent workflows, or multi-tenant co-location.

On our reading of AWS&#x27;s pages as of 10 November 2026, AWS describes isolated mode as built to protect the node and other pods from a compromised container. Confidential mode needs KMS key policies that check PCR values to deliver the protection AWS describes. Sandboxes isolate security boundaries and reserve no CPU performance.

This architecture offers little if your applications run only trusted code or run outside AWS. Before planning an AWS Nitro Sandboxes pilot, check the supported instance types listed in the [Amazon EC2 User Guide](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-ec2-nitro-sandboxes.html) to confirm your target node families qualify.

## Frequently Asked Questions

- What are AWS Nitro Sandboxes? AWS Nitro Sandboxes are lightweight virtual machines managed by the AWS Nitro hypervisor that provide hardware-level isolation for individual Amazon EKS pods, ECS tasks, or EC2 workloads. They allow untrusted or multi-tenant code to run on a shared EC2 instance without sharing a Linux kernel.
- Do AWS Nitro Sandboxes cost extra? AWS states that AWS Nitro Sandboxes are available at no additional charge. Because sandboxes run on your EC2 instances, standard EC2 instance pricing applies.
- Do I have to change my container images to use AWS Nitro Sandboxes? No, AWS documents that container images, deployment pipelines, and Helm charts run unchanged. You opt in on Amazon EKS by adding a runtimeClassName entry to your pod specification.
- What is the difference between isolated and confidential mode? Isolated mode trusts the parent EC2 instance and prevents an untrusted guest container from compromising the host or neighboring pods. Confidential mode treats the parent instance and machine operator as untrusted, using cryptographic attestation to shield guest data and prevent administrators from reading pod memory.
- Which instance types support AWS Nitro Sandboxes? AWS documentation states that sandboxes run on most Nitro-based EC2 instance families across Intel, AMD, and Graviton architectures. Specific supported sizes and hardware generations are detailed in the Amazon EC2 User Guide.

### Weighing Hardware Isolation for Your AI Workloads?

Layer3 Labs offers an AI workflow audit for small and mid-sized businesses. Book a consultation to talk through where an AI agent should run and what it may reach.

[Book a Consultation](https://www.layer3labs.io/ai-workflow-audit)

### Related Resources

[Guide #### How to Set Up an AI Agent Sandbox with AWS Nitro on EKS A numbered build sequence from AWS&#x27;s own coding-agent example, with the controls and who owns each.](https://www.layer3labs.io/guides/aws-nitro-sandboxes-for-ai-agents)[Guide #### Autonomous AI Agents for Business: What They Are and How to Use Them What autonomous AI agents are, how they differ from workflow automation, and the governance risks.](https://www.layer3labs.io/guides/autonomous-ai-agents-for-business)[Governance #### AI Agent Audit Log Checklist: What Your AI Agent Should Log A free checklist of what every AI agent should log, retention periods and access controls.](https://www.layer3labs.io/governance/ai-agent-audit-log-checklist)
