Creator · awslabs
Last updated · Sep 5, 2026
Build, run, debug, and operate applications on AWS Lambda MicroVMs — Firecracker-isolated, snapshot-resumable serverless compute environments that run inside a container with up to 8-hour lifetimes. Triggers on: Lambda MicroVMs, Firecracker isolation, snapshot-resumable compute,
Sandbox only
Install targets
Codex install prompt
Install the "aws-lambda-microvms" agent skill from https://github.com/awslabs/agent-plugins/tree/main/plugins/aws-serverless/skills/aws-lambda-microvms. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Build, run, debug, and operate applications on AWS Lambda MicroVMs — Firecracker-isolated, snapshot-resumable serverless compute environments that run inside a container with up to 8-hour lifetimes. Triggers on: Lambda MicroVMs, Firecracker isolation, snapshot-resumable compute, suspend/resume, sandboxed or untrusted code execution, AI/agent code-execution sandboxes, interactive code playgrounds and notebooks (Jupyter, REPLs), reinforcement-learning environments, multi-tenant CI executors and build runners, sessionful game or simulation servers, isolated security scanners, long-lived sessions, or port-listening servers (gRPC, WebSocket, custom TCP). For standard event-driven Lambda functions, use the aws-lambda skill instead. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"awslabs-aws-lambda-microvms","task":"Install aws-lambda-microvms","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
Testing and QA
I need my agent to test a web app, reproduce bugs, and verify fixes.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add awslabs/agent-plugins --skill aws-lambda-microvms
Maintenance
fresh
3d since push
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
888
77/100 Quality · 74/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
888 GitHub stars
Repo activity
888 stars, 152 forks
Maintenance
3d since push
License
Apache-2.0
Install
npx skills add awslabs/agent-plugins --skill aws-lambda-microvms
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add awslabs/agent-plugins --skill aws-lambda-microvmsDo not use when
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20aws-lambda-microvms%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20aws-lambda-microvms%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/awslabs-aws-lambda-microvms/install
Agent should check
Copy prompt
Task: Use aws-lambda-microvms in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20aws-lambda-microvms%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/awslabs-aws-lambda-microvms/install
Install command: npx skills add awslabs/agent-plugins --skill aws-lambda-microvms
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/awslabs-aws-lambda-microvms/install
LLM text format
/api/skills/awslabs-aws-lambda-microvms/install?format=text
Find alternatives
/api/skills/search?q=aws-lambda-microvms&limit=3
Agent prompt
Use aws-lambda-microvms for this task. Review https://www.openagentskill.com/api/skills/awslabs-aws-lambda-microvms/install, then install with: npx skills add awslabs/agent-plugins --skill aws-lambda-microvmsRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/awslabs-aws-lambda-microvms
LLM text
/api/registry/manifest/awslabs-aws-lambda-microvms?format=text
Install alias
/api/registry/install/awslabs-aws-lambda-microvms
Recommend
/api/registry/recommend?task=Use%20aws-lambda-microvms%20in%20an%20agent%20workflow&limit=3
Agent fit
Security and compliance
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Security and compliance
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO888 GitHub stars
Stars/forks activity
INFO888 stars, 152 forks; issue activity unavailable in current metadata
Recent maintenance
PASS3d since push
License clarity
PASSApache-2.0
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Reduce risk
I need my agent to scan a project for security risks and summarize what needs attention.
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Workflow fit
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Inspect, patch, and verify code
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Alternative shortlist
Similar skills that may fit this task.
Wazuh - The Open Source Security Platform. Unified XDR and SIEM protection for endpoints and cloud workloads.
🕵️♂️ Collect a dossier on a person by username from 3000+ sites
Nuclei is a fast, customizable vulnerability scanner powered by the global security community and built on a simple YAML-based DSL, enabling collaboration to tackle trending vulnerabilities on the internet. It helps you find vulnerabilities in your applications, APIs, networks, DNS, and cloud configurations.
Infisical is the open-source platform for secrets, certificates, and privileged access management.
--- name: aws-lambda-microvms description: > Build, run, debug, and operate applications on AWS Lambda MicroVMs — Firecracker-isolated, snapshot-resumable serverless compute environments that run inside a container with up to 8-hour lifetimes. Triggers on: Lambda MicroVMs, Firecracker isolation, snapshot-resumable compute, suspend/resume, sandboxed or untrusted code execution, AI/agent code-execution sandboxes, interactive code playgrounds and notebooks (Jupyter, REPLs), reinforcement-learning environments, multi-tenant CI executors and build runners, sessionful game or simulation servers, isolated security scanners, long-lived sessions, or port-listening servers (gRPC, WebSocket, custom TCP). For standard event-driven Lambda functions, use the aws-lambda skill instead. argument-hint: "[describe your workload or what you need help with]" metadata: tags: lambda, microvms, firecracker, sandbox, isolation, snapshot, suspend-resume, sessions, agent-sandbox ---
# 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 `Build`s. - `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
- **Analytics workloads** — isolated compute for data processing, ETL jobs, or query execution with strong tenant separation. - **AI / agent code execution sandboxes** — fresh, isolated environment per session, fast resume between turns. - **Interactive code playgrounds & notebooks** — Jupyter, REPLs, dev environments executing user code. - **Reinforcement-learning environments** — clean per-episode envs with tool access. - **Multi-tenant CI executors / build runners** — strong tenant isolation. - **Game / simulation servers** — sessionful, long-lived (up to 8 hr) workloads. - **Security scanning** — running untrusted analyzers in isolation.
In general, Lambda MicroVMs are suited for long-lived sessions, real port-listening servers (gRPC, WebSocket, custom TCP protocols), state preserved across periods of inactivity (suspend/resume), container-level access (FUSE, eBPF, custom syscalls), or session-affine routing to a specific compute environment.
### Choose AWS Lambda (functions) when
- The workload fits in 15 minutes. - Per-invocation isolation is fine; no need for session state held in memory. - Fully automatic scaling is preferred (no `RunMicrovm` to manage). - Event-source integrations (S3, SQS, EventBridge, etc.) drive the function.
### Choose something else when
- Continuous compute beyond 8 hr → ECS / EKS / EC2. - Lift-and-shift workloads needing kernel modifications or a non-Linux OS → EC2.
## Typical workflow
0. **Check regional availability** — confirm Lambda MicroVMs is available in your target region (run `aws lambda-microvms list-managed-microvm-images`). Your S3 artifact bucket and any network connectors must be in the same region as the image. 1. **Package** an app: zip with a `Dockerfile` at the root, upload to S3 (same region as the image). 2. **Implement lifecycle hooks** (optional but recommended) — HTTP endpoints on a port you specify (commonly `9000`) for `/run`, `/resume`, `/suspend`, `/terminate`, `/ready`, `/validate`. 3. **CreateMicrovmImage** — pointing at the S3 artifact, a managed base image, and a build role. Lambda compiles the Dockerfile into an OCI image, starts your app, calls `/ready`, snapshots disk + memory, optionally validates with `/validate`. Lambda will periodically release new managed image versions, and customers should re-build using the latest version to ensure they have up to date images. 4. **RunMicrovm** — pick an image version, attach `executionRoleArn`, set `idlePolicy`, ingress/egress connectors, and (optionally) a `runHookPayload`. Receive an `endpoint` URL and `microvmId`. 5. **CreateMicrovmAuthToken** — get an auth token (max 60 min) with `allowedPorts` specifying which ports the token grants access to. Send traffic to the endpoint with `X-aws-proxy-auth: <token>`. 6. **Suspend / Resume / Terminate** — explicit APIs, or let the `idlePolicy` drive it (`maxIdleDurationSeconds`, `suspendedDurationSeconds`, `autoResumeEnabled`).
### Core CLI commands
```bash # Create an image (zip with Dockerfile at root in S3, plus a managed base image) aws lambda-microvms create-microvm-image \ --name my-image \ --base-image-arn arn:aws:lambda:<region>:aws:microvm-image:al2023-1 \ --build-role-arn arn:aws:iam::<acct>:role/MicroVMBuildRole \ --code-artifact '{"uri":"s3://<bucket>/<key>.zip"}'
# Run a MicroVM (returns endpoint + microvmId). --image-identifier takes the # image ARN (the bare name is rejected); --image-version is the full major.minor string. aws lambda-microvms run-microvm \ --image-identifier arn:aws:lambda:<region>:<acct>:microvm-image:my-image \ --image-version 1.0 \ --execution-role-arn arn:aws:iam::<acct>:role/MicroVMExecutionRole \ --idle-policy '{"maxIdleDurationSeconds":900,"suspendedDurationSeconds":300,"autoResumeEnabled":true}'
# Mint an auth token and call the endpoint TOKEN=$(aws lambda-microvms create-microvm-auth-token \ --microvm-identifier microvm-... --expiration-in-minutes 30 \ --allowed-ports '[{"port":8080}]' \ --query 'authToken."X-aws-proxy-auth"' --output text) curl "<endpoint>/" -H "X-aws-proxy-auth: $TOKEN"
# Lifecycle aws lambda-microvms suspend-microvm --microvm-identifier microvm-... aws lambda-microvms resume-microvm --microvm-identifier microvm-... aws lambda-microvms terminate-microvm --microvm-identifier microvm-... ```
See [`references/getting-started.md`](references/getting-started.md) for the full walkthrough including `--hooks` config and lifecycle hooks.
## Hook configuration
Hooks are organized into two groups under the `--hooks` parameter:
### `microvmImageHooks` (build-time)
> **Recommendation:** Implement the image build hooks (`/ready` and `/validate`) for best performance. They enable the platform to capture a complete snapshot and prefetch the portions accessed at run time.
| Hook | Purpose | Timeout range | | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------- | | `ready` | Called during application boot. When this hook returns a 200 status code, it signals to the platform that the application is ready to be snapshotted. Use this to ensure your application is fully booted before a snapshot is taken. If your application is not yet ready, return a 503 status code until it is ready for snapshotting. | 1–3600s (default 30s) | | `validate` | Called after running your application from the microVM snapshot. Use this hook to validate the application is ready to serve traffic. This hook additionally allows the platform to sample the portions of the snapshot that are used when your application is ran, allowing Lambda to prefetch those portions of the snapshot to reduce latency. To get the best performance, run mock payloads through the application during validate. When this hook returns a 200, it signals to the Lambda the MicroVM image is valid. If your application needs more time to run its validate workflow, return a 503 status code. | 1–3600s (default 30s) |
> **Why implement `/ready`?** It signals the platform that your application has fully booted. Without it, the snapshot may be taken mid-initialization, meaning the cached state is incomplete and every run repeats part of the boot sequence. > > **Why implement `/validate`?** It lets the platform verify the snapshot is correct, and also samples which portions of the snapshot are accessed during `RunMicrovm`. This allows the platform to **prefetch** those portions on future launches, reducing cold-start times.
### `microvmHooks` (runtime)
| Hook | Purpose | Timeout range | | ----------- | ---------------------------------- | ------------------ | | `run` | Fires once after run from snapshot | 1–60s (default 1s) | | `resume` | Fires after SUSPENDED → RUNNING | 1–60s (default 1s) | | `suspend` | Fires before RUNNING → SUSPENDED | 1–60s (default 1s) | | `terminate` | Fires before termination | 1–60s (default 1s) |
See [`references/getting-started.md`](references/getting-started.md) for a full example enabling all hooks.
## Per-MicroVM size limits
| Resource | Limit | | -------------------------- | ----- | | Maximum vCPUs per MicroVM | 16 | | Maximum memory per MicroVM | 32 GB |
> For all other quotas — concurrent MicroVMs per account, launch rate, image count, max execution duration, auth token TTL, Lambda Network Connector (LNC) limits, per-ENI bandwidth, etc. — **check the AWS docs / Service Quotas console.** Most are soft quotas, raisable through Service Quotas / Support.
## Additional capabilities
By default, the container runs with a restricted set of Linux capabilities. Set `--additional-os-capabilities '["ALL"]'` at image creation time only when required by your use case:
- **Filesystem mounts** — EFS, FUSE-based filesystems. - **Nested containers** — running additional containers with containerd inside the MicroVM. - **eBPF programs** — tracing, profiling, or custom network policies.
```bash aws lambda-microvms create-microvm-image \ --name my-image \ --base-image-arn arn:aws:lambda:<region>:aws:microvm-image:al2023-1 \ --build-role-arn arn:aws:iam::<acct>:role/MicroVMBuildRole \ --code-artifact '{"uri":"s3://<bucket>/<key>.zip"}' \ --additional-os-capabilities '["ALL"]' ```
### Shell ingress for agent use cases
For programmatic shell access (agent workflows, remote command execution), use the `SHELL_INGRESS` network connector:
Source provenance
Decision snapshot
888 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for aws-lambda-microvms, ready for a manual X post.
aws-lambda-microvms: Build, run, debug, and operate applications on AWS Lambda MicroVMs — Firecracker-isolated, sn... 888 stars https://www.openagentskill.com/skills/awslabs-aws-lambda-microvms?ref=x
Listing + install path for aws-lambda-microvms: https://www.openagentskill.com/skills/awslabs-aws-lambda-microvms?ref=x Install: npx skills add awslabs/agent-plugins --skill aws-lambda-microvms
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to awslabs but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/awslabs-aws-lambda-microvms?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/awslabs-aws-lambda-microvms?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/awslabs-aws-lambda-microvms/audit)
[](https://www.openagentskill.com/skills/awslabs-aws-lambda-microvms?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)awslabs
@awslabs
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Wazuh
Wazuh - The Open Source Security Platform. Unified XDR and SIEM protection for endpoints and cloud workloads.
16.3K StarsMaigret
🕵️♂️ Collect a dossier on a person by username from 3000+ sites
32.9K StarsNuclei
Nuclei is a fast, customizable vulnerability scanner powered by the global security community and built on a simple YAML-based DSL, enabling collaboration to tackle trending vulnerabilities on the internet. It helps you find vulnerabilities in your applications, APIs, networks, DNS, and cloud configurations.
29.2K StarsInfisical
Infisical is the open-source platform for secrets, certificates, and privileged access management.
27.4K StarsPermission surface
secrets or environment access, shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness