Embed the Cerbos PDP directly inside your Lambda function for serverless authorization with no external network calls.
Cerbos runs in-process inside your Lambda function with no sidecar or external service required
Authorization checks happen in-process, eliminating network latency entirely
Load pre-compiled policy bundles from Cerbos Hub for fast cold starts and centralized policy management
Cerbos is an open-source authorization layer that decouples access control from your application code. It runs as a stateless Policy Decision Point (PDP) that evaluates fine-grained policies at request time.
Authorization policies are written in human-readable YAML supporting RBAC, ABAC, and conditional rules. They can be updated, tested, and deployed independently of your application.
Deploying Cerbos via AWS Lambda gives you a production-ready authorization service that scales horizontally and fits naturally into your existing infrastructure and observability stack.
Cerbos runs as an embedded binary within your Lambda function. The PDP starts during cold start and evaluates policies in-process, eliminating external network calls for authorization checks.
Cerbos adds a small amount of cold start time to initialize the PDP. Once warm, policy evaluations are sub-millisecond since they happen in-process with no network overhead.
Bundle policies with your Lambda deployment package, or configure Cerbos to load policies from Cerbos Hub at startup. Cerbos Hub provides pre-compiled policy bundles optimized for fast loading.



What is Cerbos?
Cerbos is an end-to-end enterprise authorization software for Zero Trust environments and AI-powered systems. It enforces fine-grained, contextual, and continuous authorization across apps, APIs, AI agents, MCP servers, services, and workloads.
Cerbos consists of an open-source Policy Decision Point, Enforcement Point integrations, and a centrally managed Policy Administration Plane (Cerbos Hub) that coordinates unified policy-based authorization across your architecture. Enforce least privilege & maintain full visibility into access decisions with Cerbos authorization.