# Firecracker

> Secure and fast microVMs for serverless computing

Source: https://talira.ai/catalog/firecracker-phzs9s31
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Infrastructure, API
- Categories: [infrastructure / virtualization / microvms](https://talira.ai/categories/infrastructure/virtualization/microvms), [infrastructure / virtualization](https://talira.ai/categories/infrastructure/virtualization)
- Platforms: linux[^1][^3]
- Licence: Apache-2.0[^2][^3]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Self-hostable: yes[^3]
- API: yes[^3]
- Backed by: [Amazon Web Services](https://talira.ai/orgs/amazon-web-services.md)
- Funding: part of Amazon[^4]

Firecracker is a virtual machine monitor that uses Linux KVM to create lightweight virtual machines, microVMs, which combine hardware-virtualization isolation with the speed of containers: it boots a guest in under 125 ms with under 5 MiB of memory overhead and can create up to 150 microVMs per second on a host. It leaves out every device a serverless guest doesn't need (it emulates only a handful, such as virtio net, block and vsock) to shrink its attack surface, and each Firecracker process is configured through a REST API on a Unix socket, runs with per-thread seccomp filters and is started in production by a jailer that adds cgroup and namespace isolation and drops privileges. Amazon Web Services built it for [AWS Lambda](https://talira.ai/catalog/aws-lambda-13y26fra.md) and AWS Fargate, and it can also run a guest as an AWS Nitro Sandbox on EC2. [Kata Containers](https://talira.ai/catalog/kata-containers-kng7j1zw.md), [Fly.io](https://talira.ai/catalog/fly-io-1200kjr1.md), E2B and others use it; Apache-2.0, written in Rust.

## Links

- Website: https://firecracker-microvm.github.io/
- GitHub: https://github.com/firecracker-microvm/firecracker
- Docs: https://github.com/firecracker-microvm/firecracker/tree/main/docs

## Problems it solves

- run each customer's code in its own VM but with container-like startup times
- boot thousands of lightweight virtual machines per host for a serverless platform
- a minimal hypervisor with a small attack surface for multi-tenant workloads
- sandbox untrusted code from AI agents in a VM that starts in milliseconds
- build our own functions-as-a-service platform with VM isolation per function
- start a Linux VM from a kernel image and root filesystem through an HTTP API
- pack many small VMs onto a bare-metal host with CPU and memory oversubscription
- rate limit disk and network bandwidth for each guest VM
- an alternative to QEMU purpose-built for short-lived serverless workloads
- give each container in Kubernetes its own microVM through the container runtime
- isolate guest VMs with the AWS Nitro System on EC2 instead of KVM
- run guest VMs with a few MiB of memory overhead each

## Features

- boots a guest in under 125 ms with under 5 MiB memory overhead per microVM
- creates up to 150 microVMs per second per host
- REST API on a Unix socket, specified in OpenAPI, to configure and start each microVM
- vCPU count, memory size and CPU templates
- virtio network and block devices, with rate limiters for bandwidth and operations per second
- vsock, entropy and pmem devices; memory hotplugging
- guest-facing metadata service (beta)
- jailer process that applies cgroup and namespace isolation and drops privileges
- thread-specific seccomp filters
- demand fault paging and CPU oversubscription on by default
- Nitro Sandbox mode on EC2, isolated by the AWS Nitro System, with optional attestation
- tested on Intel, AMD and Graviton bare-metal EC2 instances

## Limitations

- Doesn't run Windows guests: Firecracker supports Linux host and guest operating systems, and OSv guests[^1]
- Doesn't support rebooting a guest microVM[^1]
- Can't run a guest built for a different CPU architecture: guests must match the host's architecture[^1]

## Capabilities

- Has an API: plan not known

## Trust

Overall: 0.50 out of 1.
Signals: backing 0.75, extensibility 0.20.

- backed by Amazon Web Services
- funding: part of Amazon
- used by AWS Lambda, AWS Fargate, Fly.io, E2B

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [Kata Containers](https://talira.ai/catalog/kata-containers-kng7j1zw.md)

## Alternatives

- [Kata Containers](https://talira.ai/catalog/kata-containers-kng7j1zw.md): The speed of containers, the security of VMs
- [gVisor](https://talira.ai/catalog/gvisor-5eztscjg.md): Application Kernel for Containers

## Sources

[^1]: https://github.com/firecracker-microvm/firecracker/blob/main/FAQ.md (checked 20 Nov 2026)
[^2]: https://github.com/firecracker-microvm/firecracker/blob/main/LICENSE (checked 20 Nov 2026)
[^3]: https://github.com/firecracker-microvm/firecracker/blob/main/README.md (checked 20 Nov 2026)
[^4]: https://aws.amazon.com/about-aws/ (checked 20 Nov 2026)
