Deploy Cerbos to Serverless/FaaS environments

This documentation is for a previous version of Cerbos. Choose 0.37.0 from the version picker at the top right or navigate to for the latest version.

AWS Lambda

You can deploy Cerbos to AWS Lambda by building a special container image that includes the Lambda runtime and the Cerbos binary. See for an example. The repository also contains an example of an AWS Lambda function that creates an AWS API Gateway endpoint to communicate with Cerbos over the HTTP protocol.