Subchapter 23.7
references/decision-refs/lambda-microvms.mdMarkdown2 KBView on GitHub
Firecracker microVM compute with full process-level suspend/resume, up to 16 vCPU / 32 GB, multi-port / gRPC, near-instant snapshot start. A compute primitive, not an agent platform.
Long interactive sessions with idle periods (suspend preserves memory + processes), heavy non-GPU compute (>2 vCPU), multi-port / gRPC / per-session URL workloads, sub-second cold starts.
Hooks: /ready, /launch, /resume, /suspend, /terminate. Hook failure/timeout terminates the VM.
Not agent-purpose-built (no /invocations contract, no built-in services). 5 TPS launch cap is the decisive weakness for high-volume platforms.
Entry: ARM64 handler packaging + lifecycle hooks (/ready, /launch, /resume, /suspend, /terminate); event-source wiring as needed. IAM: execution role with bedrock:InvokeModel (model-bearing units only — a model-less unit omits it) + service-specific permissions. Networking: per-MicroVM URL over TLS; public service endpoints OR private connectivity via AWS PrivateLink VPC Endpoints (for MicroVM control-plane API calls and per-MicroVM HTTP endpoint connections), available in all regions where Lambda MicroVMs is available.