(Optional) Expose LiteLLM
Pre-requisites
- A domain that can be used for hosting LiteLLM and exposing it externally through public endpoint.
- A digital certificate in AWS Certificate Manager (ACM) for enabling TLS on LiteLLM
Expose LiteLLM
-
Configure environment variables; replace
<litellm-hostname>
,<litellm-cert-arn>
with the corresponding hostnames and ACM certificates ARN. -
Apply LiteLLM ingress
Note
ELB needs a minute or so to complete the target registration; if the URL above did not work for you, wait for a few seconds for the registration to get completed.
-
Extract LiteLLM URL:
-
Add a CNAME record for
<litellm-hostname>
(check prerequisities section) that points to the ALB host name, then access LiteLLM using<litellm-hostname>
. -
Verify LiteLLM through external endpoint