AWS Lambda MicroVMs

Run isolated sandboxes with full lifecycle control using AWS Lambda MicroVMs.

AWS Lambda MicroVMs is a serverless compute primitive that combines VM-level isolation, near-instant launch and resume, and state persistence across interactions. Built on the same Firecracker virtualization powering 15 trillion+ monthly Lambda invocations, MicroVMs are purpose-built for workloads that execute user- or AI-generated code.

Start a MicroVM, connect over HTTP, and begin executing code for your AI or human users. No infrastructure to manage, no capacity to plan, no isolation expertise required. Each MicroVM preserves full memory and disk state for up to 8 hours, suspends automatically when idle, and resumes on demand. MicroVMs can vertically scale up to 4x your configured baseline resources during peak periods.

MicroVMs support multi-tenant workloads with dedicated URLs and JWE-based authentication per tenant, with Lambda managing network routing and isolation. Each tenant runs on an isolated kernel, memory space, and disk state.

Introducing AWS Lambda MicroVMs

Run isolated sandboxes with full lifecycle control: AWS Lambda introduces MicroVMs

AWS News Blog

The launch announcement walks through the MicroVM programming model, lifecycle management, and building isolated execution environments for AI-generated and user-supplied code.

Running Claude agents on Lambda MicroVMs

AWS Documentation

Learn how to integrate Claude managed agents with Lambda MicroVMs, giving AI agents isolated execution environments with full lifecycle control for running generated code safely.

Lambda MicroVMs product page

AWS Lambda

Overview of Lambda MicroVMs capabilities including isolated stateful code execution, multi-tenant workloads, AI agent sandboxing, and vertical scaling during peak periods.

Common use cases

What to build

Lambda MicroVMs are well suited for workloads that need VM-level isolation with serverless simplicity.

Serverless Patterns

Deploy ready-to-use patterns

Browse serverless patterns that use Lambda MicroVMs for isolated code execution, AI agent sandboxing, and multi-tenant workloads.

Lambda MicroVMs Agent Skill

Developer resources

Use the Lambda MicroVMs skill with AI coding agents to deploy and manage MicroVM-based workloads using guided workflows and best practices.

Presented by:

Julian Wood

Julian Wood

Julian is a developer advocate at AWS who loves helping developers learn how serverless and AI technologies can transform the way they build and run applications in the cloud.

Follow on LinkedIn