[← Providers](https://www.sandboxrouter.ai/providers)

# AWS Lambda MicroVMs

provider: "lambda"

Us-east-1 ARM; billed on the image's baseline size (2 GB per vCPU) while running, per-second burst up to 4x; suspended VMs pay snapshot storage; needs a MicroVM image you build once.

## List price per hour

| 1 vCPU · 2 GB | $0.126 |
|---|---|
| 2 vCPU · 4 GB | $0.252 |
| 4 vCPU · 8 GB | $0.504 |
| 8 vCPU · 16 GB | max 4 vCPU |
| 16 vCPU · 32 GB | max 4 vCPU |
| 32 vCPU · 128 GB | max 4 vCPU |

Source

[aws.amazon.com](https://aws.amazon.com/lambda/pricing/), 2026-11-05 (an estimate, not a bill)

Billing

the size you ask for, while it runs

Plan

none needed

## Adapter

Supports

Exec + streaming · Files · Pause · Custom image

Max size

4 vCPU · 8 GB

Routing

Chosen when it's the cheapest fit, or as a fallback

Docs

[docs.aws.amazon.com](https://docs.aws.amazon.com/lambda/latest/dg/lambda-microvms-guide.html)

## Measured on real accounts

Real-account check

14 / 14 steps

2026-11-13

Median create

3.2 s

2 vCPU / 4 GB · 90 requests · 2026-11-17

Ready

100%

Excluding recorded limit refusals

Awaiting results for delivered resources, provider usage charges.

### Help verify AWS Lambda MicroVMs

Have a AWS Lambda MicroVMs account? These commands start real sandboxes and write result files. Provider charges may apply. Results never include your keys. Run them in a clone of the repo and open a pull request with the files: CI checks every file for keys and impossible numbers, and a maintainer reviews each one before it shows here.

terminal

```
npx @sandboxrouter/sdk cost run --provider lambda --minutes 10 --by YOUR_GITHUB_USERNAME
```

## Real-account check, step by step

14 of 14 steps passed on a real account, 2026-11-13 (v0.7.0).

- createpassed
- exec: stdout, stderr, exit codepassed
- exec: env and cwdpassed
- exec: UTF-8 outputpassed
- exec: streamingpassed
- files: binary round-trippassed
- files: 1 MB round-trippassed
- files: missing file is an errorpassed
- files: visible to commandspassed
- exec: command timeoutpassed
- exec: timed-out command was stoppedpassed
- pause and resumepassed
- killpassed
- killed sandbox is gonepassed

setup

```
npm i @sandboxrouter/sdk @smithy/signature-v4 @aws-crypto/sha256-js @aws-sdk/credential-provider-node
export AWS_REGION=...
export LAMBDA_MICROVM_IMAGE=...
export AWS_ACCESS_KEY_ID=...
export AWS_SECRET_ACCESS_KEY=...
# or
export AWS_REGION=...
export LAMBDA_MICROVM_IMAGE=...
export AWS_PROFILE=...
```

use AWS Lambda MicroVMs

```
import { Router } from "@sandboxrouter/sdk";

const router = new Router();
const sbx = await router.create({}, { provider: "lambda" });
await sbx.exec("uname -a", { onStdout: (c) => process.stdout.write(c) });
await sbx.kill();
```

sandboxRouter isn't affiliated with AWS Lambda MicroVMs. Prices come from its public pricing page and results from our own runs. Something wrong or out of date? [Report a correction](https://github.com/gigialc/sandboxrouter/issues/new?title=Correction%3A%20AWS%20Lambda%20MicroVMs&labels=correction&body=What%27s%20wrong%20on%20https%3A%2F%2Fwww.sandboxrouter.ai%2Fproviders%2Flambda%2C%20and%20a%20link%20to%20the%20source%3A%0A%0A).
