aws avatar

Aws Lambda Microvms

This gives Claude the ability to build and operate Firecracker-based microVMs on AWS Lambda with up to 8-hour lifetimes and suspend/resume capabilities. You package an app as a Dockerfile, Lambda snapshots it at boot, then you can run isolated instances with their own HTTPS endpoints. It's built for workloads that need stronger isolation than Lambda functions (multi-tenant code execution, AI agent sandboxes, interactive notebooks) or need features functions can't provide (long sessions, stateful suspend/resume, listening on arbitrary ports, container-level access to FUSE or eBPF). The two-phase model with image builds and runtime instances takes some setup, but you get proper VM isolation with container-like packaging. If your workload fits in 15 minutes and doesn't need session state, regular Lambda functions are simpler.

skills.sh installs
6.1K
GitHub stars
3.4K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/aws/agent-toolkit-for-aws
Categories
Backend & APIs, Testing & QA, Security, DevOps & CI/CD, AI & Agent Building, Data Science & ML, Cloud & Infrastructure, Game Development
First seen
Jul 14, 2026

More from aws/agent-toolkit-for-aws

All 56
1qianwen-ai avatarqianwen-ops-authqianwen-ai/qianwen-ai[QianWen] Configure authentication (API keys, endpoints). TRIGGER when: setting up QIANWEN_API_KEY, troubleshooting 401/auth errors, when another skill reports 5.8Kskills.sh installs
2trailofbits avatarfirebase-apk-scannertrailofbits/skillsScans Android APKs for Firebase security misconfigurations including open databases, storage buckets, authentication issues, and exposed cloud functions. Use wh5.8Kskills.sh installs
3manaflow-ai avatarcmux-backendmanaflow-ai/cmuxBackend TypeScript and Cloud VM development rules for cmux. Use when editing web/app/api, web/services, backend scripts, Cloud VM lifecycle, provider integratio4.9Kskills.sh installs
4grafana avatardatabase-observabilitygrafana/skillsSet up Grafana Cloud Database Observability for MySQL and PostgreSQL — enables `pg_stat_statements` / Performance Schema, creates a least-privilege monitoring u4.6Kskills.sh installs
5giuseppe-trisciuoglio avatarnextjs-authenticationgiuseppe-trisciuoglio/developer-kitProvides authentication implementation patterns for Next.js 15+ App Router using Auth.js 5 (NextAuth.js). Use when setting up authentication flows, implementing3.9Kskills.sh installs
6giuseppe-trisciuoglio avatarnestjs-drizzle-crud-generatorgiuseppe-trisciuoglio/developer-kitGenerates complete CRUD modules for NestJS applications with Drizzle ORM. Use when building server-side features in NestJS that require database operations, inc3.8Kskills.sh installs