Skip to content
aws avatar

Aws Lambda Microvms

Isolated Firecracker-based serverless compute environments that suspend, resume, and persist state for up to 8 hours.

CCM score
74 of 100
skills.sh installs
6.7K
GitHub stars
3.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers building, running, debugging, and operating applications on Lambda MicroVMs, including image build, runtime, and lifecycle management
  • Provides MicrovmImage and Microvm resources, with separate buildRoleArn and executionRoleArn roles for build-time and runtime access
  • Enforces a regional constraint: the image and its S3 artifact bucket must share a region, and ARN partitions must match the target region
  • Designed for AI agent sandboxes, notebooks, multi-tenant CI runners, and long-lived servers, rather than event-driven workloads under 30 minutes

Install

$ npx -y skills add aws/agent-toolkit-for-aws --skill aws-lambda-microvms -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

AWS Lambda MicroVMs

The AWS MCP server is recommended for sandboxed execution and audit logging.

AWS Lambda MicroVMs are serverless compute environments that combine Firecracker VM isolation with container-like efficiency. Each MicroVM:

  • Runs your application as a container inside a Firecracker microVM — you can reproduce the environment locally.
  • Runs Amazon Linux 2023 as the base OS inside the MicroVM.
  • Boots from a memory + disk snapshot captured at image build time, so application init is skipped on run.
  • Has a dedicated, TLS-terminated HTTPS endpoint reachable with an auth token.
  • Can be suspended and resumed with state preserved; lives up to 8 hours.

Two-resource model:

  • MicrovmImage — a versioned artifact built from {S3 zip with Dockerfile} + baseImageArn. Each version has per-architecture/chipset Builds.
  • Microvm — a running instance created (RunMicrovm) from an image version.

Two roles:

  • buildRoleArn — used during image build (S3 read, CloudWatch logs, optional ECR).
  • executionRoleArn — assumed at runtime by the running MicroVM.

When to use

Choose Lambda MicroVMs when

Details

Repository
github.com/aws/agent-toolkit-for-aws
Categories
DevOps & Cloud, Backend & APIs
First seen
Jul 14, 2026

Questions

What is the aws-lambda-microvms skill for?

It builds, runs, debugs, and operates applications on AWS Lambda MicroVMs, which are Firecracker-isolated, snapshot-resumable compute environments with lifetimes up to 8 hours. It suits AI agent code-execution sandboxes, notebooks, multi-tenant CI runners, and long-lived game or simulation servers.

When should I pick Lambda MicroVMs instead of Lambda event functions?

Choose Lambda MicroVMs when the workload needs long-lived sessions, a port-listening server, or state kept across suspend and resume. This skill advises Event Functions for work that fits in 30 minutes and needs no session state between interactions.

How do I install the aws-lambda-microvms skill?

Run npx -y skills add aws/agent-toolkit-for-aws --skill aws-lambda-microvms -y in your project. The skill then lets your agent create images, run MicroVMs, mint auth tokens, and suspend, resume or terminate them.

Where does aws-lambda-microvms stand in its category?

It is listed in the DevOps & Cloud category on Claude Marketplaces, alongside azure-diagnostics, azure-prepare, azure-deploy, azure-validate and azure-storage. It covers AWS MicroVM workloads that need strong tenant isolation or persistent sessions.

More from aws/agent-toolkit-for-aws

All 54

Similar to Aws Lambda Microvms

More DevOps & Cloud