Dev.to
6/30/2026

Introducing Lambda MicroVMs - Isolated, Stateful Sandboxes for Running Untrusted Code on AWS
Short summary
AWS Lambda MicroVMs is a new managed service for running arbitrary code in isolated Firecracker VMs with full kernel isolation and persistent state lasting up to 8 hours. Designed for AI agent sandboxes, coding assistants, and multi-tenant notebook platforms, it combines the isolation of EC2, the startup speed of Lambda, and persistent state—each MicroVM gets its own HTTPS endpoint and runs from pre-initialized snapshots. Teams now get a managed answer to sandboxing untrusted code without building custom infrastructure.
- •AWS Lambda MicroVMs provide VM-level isolation for running untrusted code with persistent state for up to 8 hours
- •Each MicroVM gets its own HTTPS endpoint, auto-suspend on idle, and scales from pre-initialized snapshots for fast startup
- •Ideal for AI agent sandboxes, coding assistants, multi-tenant notebooks—solving the isolation+speed+persistence problem
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



