Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

docs - set litellm config as s3 object

Ishaan Jaff6f7b20429491
diff --git a/docs/my-website/docs/proxy/deploy.md b/docs/my-website/docs/proxy/deploy.md
index 7c254ed35d8..9f21068e03b 100644
--- a/docs/my-website/docs/proxy/deploy.md
+++ b/docs/my-website/docs/proxy/deploy.md
@@ -705,6 +705,29 @@ docker run ghcr.io/berriai/litellm:main-latest \
Provide an ssl certificate when starting litellm proxy server
+### 3. Providing LiteLLM config.yaml file as a s3 Object/url
+
+Use this if you cannot mount a config file on your deployment service (example - AWS Fargate, Railway etc)
+
+LiteLLM Proxy will read your config.yaml from an s3 Bucket
+
+Set the following .env vars
+```shell
+LITELLM_CONFIG_BUCKET_NAME = "litellm-proxy" # your bucket name on s3
+LITELLM_CONFIG_BUCKET_OBJECT_KEY = "litellm_proxy_config.yaml" # object key on s3
+```
+
+Start litellm proxy with these env vars - litellm will read your config from s3
+
+```shell
+docker run --name litellm-proxy \
+ -e DATABASE_URL=<database_url> \
+ -e LITELLM_CONFIG_BUCKET_NAME=<bucket_name> \
+ -e LITELLM_CONFIG_BUCKET_OBJECT_KEY="<object_key>> \
+ -p 4000:4000 \
+ ghcr.io/berriai/litellm-database:main-latest
+```
+
## Platform-specific Guide
<Tabs>