Skip to content
sandboxrouting

AWS Lambda MicroVMs

lambda-microvm, paid only, microVM isolation.

$0.252/h

No free usage the router counts. At 2 vCPU and 4 GiB the router ranks it at $0.252/h. It is used only with allowPaid on.

Terms

Price
$0.10/vCPU-h + $0.013/GB-h
Notes
needs the execd image
Adapter's note
The Lambda free tier covers Functions only. Needs the execd image from templates/aws-lambda-microvm.
Checked
Nov 11, 2026 against aws.amazon.com/lambda/pricing/

The adapter

AWS Lambda MicroVMs: Firecracker microVMs (ARM64, up to 16 vCPU / 32 GB, 8 h max) with suspend/resume. No free tier. The API creates, suspends and terminates VMs but has no exec: the only way in is the VM's HTTPS endpoint (auth token + port headers). So sandboxes run the image in templates/aws-lambda-microvm, whose execd server runs commands and moves files; this adapter talks to it through the endpoint. Spoken over HTTP with SigV4 (signing name `lambda`), no SDK, with the calls the official SDK (npm `@aws-sdk/client-lambda-microvms` 3.1167.0, Apache-2.0) makes: REST-JSON under https://lambda.{region}.amazonaws.com/2025-09-09/microvms, as its schema (dist-es/schemas) binds each operation. Guide: https://docs.aws.amazon.com/lambda/latest/dg/lambda-microvms-guide.html. CLI: `aws lambda-microvms`.

Keys
LAMBDA_MICROVM_IMAGE + AWS credentials
Connects through
REST lambda.<region>.amazonaws.com, SigV4-signed (no SDK), plus execd (templates/aws-lambda-microvm)
Capabilities
Pause and resume, Native file listing
Isolation
microVM
Operating system
Linux
Longest sandbox
8 h
Longest command
no cap declared
Timeout
The provider stops it at the deadline
Billing
Wall clock, every second it runs
Source
src/providers/lambda-microvm.ts, and the provider’s site
Route only here
const sbx = await router.create({ providers: ["lambda-microvm"] });
Override its terms in sandboxrouting.json
{
  "providers": {
    "lambda-microvm": {
      "freeTier": {
        "kind": "none"
      },
      "priority": 10
    }
  }
}