Reference Architectures
Reference designs for cloud infrastructure, client access, availability, and capacity.
Choose a topic
- Cloud
- Identity-Aware Proxy
- mTLS
- High Availability
- Control Plane
Choose your infrastructure
Cloud Deployments: Azure, AWS, and GCP diagrams with network boundaries, ingress, data stores, and provider egress.
Check identity before traffic reaches LiteLLM
Identity-Aware Proxy: authenticate callers with Cloudflare Access, AWS ALB, Microsoft Entra Application Proxy, or Google Cloud IAP. Forward verified identity to LiteLLM for user and team permissions.
Require a client certificate
Client Authentication with mTLS: validate client certificates at ingress and forward the workload identity to LiteLLM. Use virtual keys for model access and budgets. Includes load balancer and API gateway configurations.
Keep serving through failures and releases
Plan replicas, availability zones, and data-store availability in High Availability. Follow the Upgrade Guide for the rollout sequence. Use Blue/Green Deployments for a controlled cutover or Canary Deployments for a gradual release.
Use L7 proxy with LiteLLM to handle traffic bursts with bounded buffering, per-worker admission control, and KEDA scaling.
For more than one region, see Multi-Region Deployment, Routing, and Failover.
Manage independent deployments
The Global Control Plane provides one management API for independent deployments, fleet inventory, usage reports, and audit export. Each data plane has its own database, Redis, keys, and budgets. See the AWS, Azure, and GCP architectures or the existing UI Deployment Selector.