Event-driven functions platform using Docker containers, deployable locally or on Kubernetes and other environments with an Fn CLI.
Overview
Fn is an open-source Functions-as-a-Service platform that runs anywhere and executes functions packaged as Docker containers. It advertises support for many languages and the ability to import Lambda functions and run them outside AWS.
Local setup expects Docker or Podman, then installation of the Fn CLI via Homebrew, shell script, or release binaries. Developers start an Fn server locally, create an app container for functions, deploy code, and invoke it from the CLI.
The embedded single-server mode uses an on-disk database and message queue, with documented configuration for production deployments on Kubernetes and other orchestrators.
Functions are organized into apps, deployed with the CLI, and invoked over HTTP or CLI commands, with a --local deploy flag for faster iteration without registry pushes.
Key features
- Docker-packaged functions
- Local Fn server mode
- Multi-language function templates
- Lambda function import path
- CLI deploy and invoke flow
- Embedded DB single-node setup
- Open-source FaaS runtime
Use cases
- Self-hosted function execution
- Portable serverless prototypes
- Migrating Lambda containers elsewhere
- Event-driven microservice glue