AWS Nitro Sandboxes Isolate AI Agent Workloads Within Single EC2 Instances
Amazon Web Services unveiled Nitro Sandboxes at KubeCon + CloudNativeCon, offering developers isolated execution environments for AI agents and other container workloads without requiring changes to existing container images.

When an AI coding agent completes a script, the question of where and how to execute it falls to human operators. Developers must grapple with fundamental infrastructure decisions: the execution location, network access permissions, and identity controls. The agent itself has no say in the matter.
At KubeCon + CloudNativeCon in Salt Lake City, AWS Senior Product Manager Mike Stefaniak discussed with The New Stack's Frederic Lardinois why production deployment of agents remains limited. While some large customers have embraced agent workloads, many organizations remain uncertain about security and identity management. Nitro Sandboxes, unveiled at the conference, tackle one dimension of this challenge by providing developers with a contained environment for running container workloads.
Isolation without image modification
Stefaniak characterizes Nitro Sandboxes as extending the isolation capabilities of the Nitro hypervisor to handle multiple workloads on a single EC2 instance. Each sandbox consumes CPU and memory resources from its parent instance.
You don't have to change your container image.
Mike Stefaniak, AWS Senior Product Manager
On EKS Auto Mode or ECS Managed Instances, runtime configuration directs AWS to deploy the workload into a sandbox. This capability matters for development teams with established build pipelines who want to alter workload execution patterns without restructuring applications around different packaging approaches. Standard EC2 instance operators can also leverage sandboxes, though Stefaniak notes this requires additional configuration work to integrate the runtime.
The application scope extends beyond AI agents. A SaaS vendor might otherwise isolate customer workloads by provisioning separate nodes or clusters. Stefaniak identifies potential for running multiple tenants on a single node while preserving workload isolation. This approach could reduce the operational burden of managing numerous clusters, a practical advantage for teams managing infrastructure upgrades.
Controlling sandbox egress
Stefaniak distinguishes between isolated and confidential operational modes. In confidential mode, the parent instance cannot examine sandbox contents. Attestation capabilities create distribution opportunities for software vendors and model providers, enabling them to ship encrypted code or model artifacts to customers while using policy mechanisms to govern decryption and execution locations.
Isolation is one piece of the puzzle when it comes to running agents.
Mike Stefaniak, AWS Senior Product Manager
A workload requiring no network connectivity can operate in a confidential sandbox configured without network interfaces. An agent needing to invoke a model or access external services introduces additional complexity.
Stefaniak identifies workload identity and egress controls as two additional critical components. Organizations must establish which identity an agent assumes and which destinations it can contact. Stefaniak describes customers implementing model calls through approved gateways, where governance policies apply and spending tracking occurs. AWS is investigating enforcement mechanisms for this routing requirement, potentially leveraging Envoy.
I think the tipping point is close.
Mike Stefaniak, AWS Senior Product Manager
The discussion also covered AWS contributions to Linux and containerd, along with the company's strategy for integrating Nitro Sandboxes with emerging open source orchestration initiatives. Stefaniak reports that integration with Agent Sandbox is operational and describes Agent Substrate work as an early-stage demonstration.