talira

OpenFaaS

Serverless functions on any Kubernetes cluster

source availableOpenFaaS Community Edition EULAself-hostablefree

OpenFaaS runs serverless functions on your own Kubernetes cluster, on-premises or in the cloud. Functions are written in any language from templates and packaged as portable OCI images, existing microservices can run alongside them, and they scale with demand and down to zero when idle. Functions are invoked over HTTP, a REST API, cron or events from Apache Kafka, AWS SQS and SNS, GCP Pub/Sub, RabbitMQ, PostgreSQL and MQTT. The free Community Edition is for personal use, hobbyists and experiments, with commercial use limited to one installation for 60 days under its EULA; OpenFaaS Standard and OpenFaaS for Enterprises add fine-tuned autoscaling, event connectors, dashboards, SSO, RBAC, multi-tenancy and support. Customers use it to run their own customers' code as isolated functions.

Problems it solves

  • run serverless functions on my own Kubernetes cluster instead of AWS Lambda
  • let customers run their own code safely inside my product
  • trigger functions from Kafka or RabbitMQ messages on Kubernetes
  • scale my functions to zero when idle on self-hosted infrastructure

Features

  • functions in any language from templates
  • portable OCI images
  • runs on any Kubernetes cluster
  • scale to zero
  • REST API
  • cron trigger
  • Kafka, RabbitMQ, GCP Pub/Sub, PostgreSQL, AWS SNS/SQS and MQTT triggers (paid)
  • fine-tuned autoscaling on RPS, capacity and CPU (paid)
  • Grafana dashboards (paid)
  • function CRD
View 4 more
  • air-gapped use (paid)
  • multi-tenancy with gVisor isolation (Enterprises)
  • Function Builder REST API (Enterprises)
  • SSO with OpenID Connect and RBAC (Enterprises)

Limitations

  • Community Edition allows commercial use of one installation for 60 days only, with 15 functions and public function images1

Alternatives

The same job

These do what OpenFaaS does.

  1. AWS Lambda Serverless compute for every workload
  2. Cloudflare Workers Fast, elastic, serverless functions that scale automatically from zero to millions of requests
  3. Serverless Framework Deploy serverless apps and their infrastructure to AWS Lambda from YAML
  4. Google Cloud Run Build apps or websites quickly on a fully managed platform

Compare OpenFaaS with the top 3