Skip to main content

Cloud Deployments

Corporate users and applications reach private frontends through VPN, a private cloud connection, or an approved private access service. Public model calls use a separate outbound path.

Apply each cloud guide's private-ingress changes before deploying the AWS or GCP Terraform module. Helm uses your existing cloud infrastructure.

Choose a cloud​

Run LiteLLM on AKS with a private Application Gateway frontend, managed PostgreSQL and Redis, and private endpoints. The Azure architecture shows separate gateway, backend, and UI services.

Azure AKS: separate services
RequestsPrivate trafficEgressOptionalDots join paths. Bridges cross them.
Azure AKS: separate servicesCorporate clients use private network access to reach a private Application Gateway frontend. AKS and data stores stay private. NAT Gateway handles outbound provider requests. One Helm chart: The litellm chart uses one image for all components. This layout uses the default monolith.enabled=false. Infrastructure you provide: This example uses a customer-managed AKS cluster and virtual network. Provision Application Gateway, subnet policies, NAT Gateway, databases, private endpoints, and DNS separately. The LiteLLM Helm chart deploys the application workloads. Private Application Gateway: Use a private-only frontend in a dedicated subnet delegated to Microsoft.Network/applicationGateways. Use AGIC v1.7 or later and appgw.ingress.kubernetes.io/use-private-ip: true. Allow corporate traffic through VPN, ExpressRoute, or an approved private access service. Configure private DNS. AGIC routes requests to pod private IPs. Set backend routes and health probes for your service layout. Public outbound traffic: For your own virtual network, use AKS outboundType userAssignedNATGateway and associate NAT Gateway with the AKS subnet. NAT handles outbound public API calls. Private endpoint traffic stays private and bypasses NAT. NAT translates addresses. It does not inspect traffic. Private data connections: This diagram uses PostgreSQL Private Link. Configure endpoint DNS and disable public access. Creating a private endpoint does not disable public access. Use the private PostgreSQL and Redis connections with TLS. Optional private model provider: The dashed Azure OpenAI path needs its own private endpoint and private DNS records linked to the workload VNet. Create this endpoint separately. Public providers continue to use the separate NAT egress path.Microsoft AzureAzure regionWorkload virtual networkDedicated Application Gateway subnetPrivate AKS node subnetPrivate endpointsOptionalManaged servicesOptionalHTTPS :443AGIC pod routingHTTPS :443TLS :5432TLS :6380HTTPS :443Corporate usersand applicationsPrivate accessVPN / ExpressRoutePublic LLM APIsApplication GatewayPrivate frontendLiteLLM on AKSGateway / backend / UIAKS subnet NSGNAT GatewayOutbound onlyPrivate endpointPostgreSQLPrivate endpointRedisPrivate endpointAzure OpenAIPostgreSQLFlexible ServerAzure Cache for RedisAzure OpenAIPrivate DNS zones link to the VNet.Service names resolve to endpoint IPs.

Corporate clients use private network access to reach a private Application Gateway frontend. AKS and data stores stay private. NAT Gateway handles outbound provider requests.

Architecture details and references
One Helm chart
The litellm chart uses one image for all components. This layout uses the default monolith.enabled=false.
Infrastructure you provide
This example uses a customer-managed AKS cluster and virtual network. Provision Application Gateway, subnet policies, NAT Gateway, databases, private endpoints, and DNS separately. The LiteLLM Helm chart deploys the application workloads.
Private Application Gateway
Use a private-only frontend in a dedicated subnet delegated to Microsoft.Network/applicationGateways. Use AGIC v1.7 or later and appgw.ingress.kubernetes.io/use-private-ip: true. Allow corporate traffic through VPN, ExpressRoute, or an approved private access service. Configure private DNS. AGIC routes requests to pod private IPs. Set backend routes and health probes for your service layout.
Public outbound traffic
For your own virtual network, use AKS outboundType userAssignedNATGateway and associate NAT Gateway with the AKS subnet. NAT handles outbound public API calls. Private endpoint traffic stays private and bypasses NAT. NAT translates addresses. It does not inspect traffic.
Private data connections
This diagram uses PostgreSQL Private Link. Configure endpoint DNS and disable public access. Creating a private endpoint does not disable public access. Use the private PostgreSQL and Redis connections with TLS.
Optional private model provider
The dashed Azure OpenAI path needs its own private endpoint and private DNS records linked to the workload VNet. Create this endpoint separately. Public providers continue to use the separate NAT egress path.

Design references: LiteLLM chart and layouts (pinned) · Private Application Gateway deployment · AGIC private frontend · Application Gateway subnet requirements · Application Gateway Ingress Controller · AKS NAT Gateway options · PostgreSQL Private Link · Redis Private Link · Azure AI private network access

Azure AKS: separate services
RequestsPrivate trafficEgressOptionalDots join paths. Bridges cross them.
Azure AKS: separate servicesCorporate clients use private network access to reach a private Application Gateway frontend. AKS and data stores stay private. NAT Gateway handles outbound provider requests. One Helm chart: The litellm chart uses one image for all components. This layout uses the default monolith.enabled=false. Infrastructure you provide: This example uses a customer-managed AKS cluster and virtual network. Provision Application Gateway, subnet policies, NAT Gateway, databases, private endpoints, and DNS separately. The LiteLLM Helm chart deploys the application workloads. Private Application Gateway: Use a private-only frontend in a dedicated subnet delegated to Microsoft.Network/applicationGateways. Use AGIC v1.7 or later and appgw.ingress.kubernetes.io/use-private-ip: true. Allow corporate traffic through VPN, ExpressRoute, or an approved private access service. Configure private DNS. AGIC routes requests to pod private IPs. Set backend routes and health probes for your service layout. Public outbound traffic: For your own virtual network, use AKS outboundType userAssignedNATGateway and associate NAT Gateway with the AKS subnet. NAT handles outbound public API calls. Private endpoint traffic stays private and bypasses NAT. NAT translates addresses. It does not inspect traffic. Private data connections: This diagram uses PostgreSQL Private Link. Configure endpoint DNS and disable public access. Creating a private endpoint does not disable public access. Use the private PostgreSQL and Redis connections with TLS. Optional private model provider: The dashed Azure OpenAI path needs its own private endpoint and private DNS records linked to the workload VNet. Create this endpoint separately. Public providers continue to use the separate NAT egress path.Microsoft AzureAzure regionWorkload virtual networkDedicated Application Gateway subnetPrivate AKS node subnetPrivate endpointsOptionalManaged servicesOptionalHTTPS :443AGIC pod routingHTTPS :443TLS :5432TLS :6380HTTPS :443Corporate usersand applicationsPrivate accessVPN / ExpressRoutePublic LLM APIsApplication GatewayPrivate frontendLiteLLM on AKSGateway / backend / UIAKS subnet NSGNAT GatewayOutbound onlyPrivate endpointPostgreSQLPrivate endpointRedisPrivate endpointAzure OpenAIPostgreSQLFlexible ServerAzure Cache for RedisAzure OpenAIPrivate DNS zones link to the VNet.Service names resolve to endpoint IPs.

Deployment layout​

One Docker image serves every component. One Helm chart supports both layouts. Terraform deploys separate services.

LayoutWhat runsHelm value
Single serviceInference, management APIs, and Admin UI together on port 4000.monolith.enabled: true
Separate services (default)Gateway on 4000, backend on 4001, and UI on 3000 scale independently.monolith.enabled: false
LiteLLM Enterprise
SSO/SAML, audit logs, spend tracking, multi-team management, and guardrails, built for production.
Learn more →