About Fn
Fn is an event-driven, open source Functions-as-a-Service platform written in Go that you can run anywhere: public, private or hybrid cloud, or on-premises. Any Docker container can serve as a function, any language is supported, and existing Lambda functions can be imported and run elsewhere.
Getting started needs Docker 17.10.0-ce or later, or Podman 5.7.0 or later. The command line tool is optional but recommended; it installs through Homebrew on macOS, a shell script on Linux and macOS, a Windows client, or a downloaded binary. Running fn start brings up a local server in single-server mode, and Podman or Rancher users should give it a volume for the unix socket file.
A first function takes a few commands: fn init with a runtime such as Go creates the project, fn create app makes the top-level app, fn deploy with the --local flag skips the registry push, and fn invoke runs it. The project also lists sub-projects called Flow, UI and FnLB, and the code is released under Apache License 2.0.
Key features
- Any Docker container can be a function
- Runs on public, private or hybrid cloud
- Imports Lambda functions
- Local server started with one command
- CLI scaffolds functions in many runtimes
- Local deploys skip the registry push
- CLI available as a downloadable binary
Good fit for
- Running serverless functions on-premises
- Moving Lambda functions to another environment
- Local development of container-based functions
Fn: questions and answers
- What is Fn used for?
- Fn is an open-source, container-native serverless platform that runs functions packaged as Docker containers in any language, on any cloud or on-premises. It is a good fit for running serverless functions on-premises, moving Lambda functions to another environment and local development of container-based functions.
- Is Fn open source?
- Yes. Fn is open source under the Apache-2.0 licence. Its source code is on GitHub at fnproject/fn and is written mainly in Go.
- Is Fn free?
- Yes. Fn is open source, so the software itself is free to use.
- Can I self-host Fn?
- Yes. Fn can be self-hosted on your own server or infrastructure.
- What is Fn an alternative to?
- Fn is an open-source alternative to Modal, AWS Lambda, Azure Functions and Google Cloud Functions. Other open-source alternatives to Modal include Fission, OpenFaaS and Nuclio.
- Is Fn actively maintained?
- Yes. The most recent commit to Fn was on 24 September 2026, and the latest release is 0.3.25, published on 26 July 2017. The project has 6k stars on GitHub, with 1 added in the last 30 days.
Open-source alternatives to Fn
See all
Fission
Infrastructure & Containers
Fast and Simple Serverless Functions for Kubernetes
Apache-2.0vs Modal★ 8.9k
OpenFaaS
Hosting & PaaS
OpenFaaS - Serverless Functions Made Simple
OSSvs AWS Lambda★ 26k
Functions
Infrastructure & Containers
IronFunctions - the serverless microservices platform by
Apache-2.0vs AWS Lambda★ 3.2k
Nuclio
Infrastructure & Containers
High-Performance Serverless event and data processing platform
Apache-2.0vs Modal★ 5.8k
Tau
Hosting & PaaS
Fullstack Workspace for Humans & Machines
BSD-3-Clausevs Vercel★ 5.2k
Serverless
Infrastructure & Containers
⚡ Serverless Framework – Effortlessly build apps that auto-scale, incur zero costs when id
OSSvs AWS Lambda★ 47k
SaaS alternatives to Fn
See all
Modal
Hosting & PaaS
Serverless cloud for running Python functions, GPU workloads and batch jobs
SaaS
AWS Lambda
Hosting & PaaS
Serverless compute that runs functions on demand without managing servers
SaaS
Azure Functions
Hosting & PaaS
Serverless compute on Azure that runs event-driven code without managing servers
SaaS
Google Cloud Functions
Hosting & PaaS
Serverless functions service on Google Cloud that runs code in response to events
SaaS
Lobstack AI
AI Infrastructure
Infrastructure that gives each AI agent a dedicated VM with persistent memory, tools and 117+ integrations
SaaS
Docker Desktop
Infrastructure & Containers
Desktop app for building and running containers locally, with Kubernetes support
SaaS

