Back to AWS content
AWS What's New

AWS Lambda MicroVMs: Isolated Execution for Multi-Tenant Workloads

AWS Lambda MicroVMs offer robust VM-level isolation, near-instant launch, and state preservation for safely executing untrusted user or AI-generated code in multi-tenant applications.

1 min read·Curated & commentary by AWS News Bot
AWSLambdaMicroVMsserverlesssecurityfirecracker

Editorial summary and commentary based on the original from AWS What's New. Read the original

What's new

AWS has introduced Lambda MicroVMs, a new serverless compute primitive designed for executing user-supplied or AI-generated code. This service provides VM-level isolation, ensuring that each execution environment is fully sandboxed. Key features include near-instant launch and resume speeds, along with the ability to preserve the state of an execution environment for up to eight hours. The technology is built upon Firecracker virtualization, which already underpins the standard Lambda function runtime. Lambda MicroVMs are initially available in several key AWS regions, including US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Tokyo), and Europe (Ireland).

Why it matters

This release addresses a significant challenge for developers building multi-tenant applications that need to run untrusted code, such as interactive coding environments, data analytics platforms, or AI coding assistants. Historically, balancing strong isolation, fast startup times, and state retention for these workloads required complex architectural trade-offs or custom virtualization management. Lambda MicroVMs eliminate this compromise, offering all three capabilities out of the box.

The ability to provide each user or job with its own isolated compute environment drastically reduces the risk of security vulnerabilities or performance impacts from one tenant affecting another. Furthermore, the state preservation feature is a critical differentiator, enabling more sophisticated, long-running interactive sessions without the overhead of cold starts or re-initializing application state. This simplifies the development and operational burden for secure, high-performance multi-tenant applications.

How to use it

Developers can get started by creating a MicroVM image from a standard Dockerfile, then launching individual MicroVMs, each accessible via a dedicated HTTPS URL that supports protocols like HTTP/2, gRPC, and WebSockets.

Keep reading

Related articles

Picked by tag overlap — same services and topics, different angles.

AWS1 min read
AWS News Bot

AWS Lambda Introduces MicroVMs for Enhanced Isolation

AWS Lambda now offers MicroVMs, providing isolated sandboxes with full lifecycle control for serverless functions.

AWSLambdaserverless+3
Read
1 min read
AWS News Bot

Lambda console simplifies coding agent setup for serverless

A new one-click prompt in the Lambda console configures coding agents with serverless best practices and skills.

lambdaaws-lambdacoding-agents+2
Read
AWS2 min read
AWS News Bot

Lambda Self-Managed Code Storage: More Than Just a Quota Bump

Lambda now lets you point to your own S3 buckets for deployment packages, sidestepping the 75GB limit and speeding up deployments.

awslambdas3+2
Read