Overview
LiteLLM OpenAI-compatible API
The LiteLLM proxy API served through the nginx reverse proxy on port 80 - one OpenAI-compatible API in front of 100+ LLM providers, gated by a per-instance master key.
This is a repackaged open source software product wherein additional charges apply for cloudimg support services.
Why This AMI Instead of Self-Deployment
Installing LiteLLM from scratch means configuring a reverse proxy, hardening key management, setting up process supervision, and maintaining updates across releases. This AMI eliminates that work. You get a production-hardened LLM gateway running as a systemd service behind nginx within minutes of launch - no manual setup, no shared default keys, no unprotected endpoints. Combined with 24/7 expert support from cloudimg, you move from zero to a secure, scalable AI gateway faster than any DIY path.
What LiteLLM Does
LiteLLM is the open source gateway that puts a single OpenAI-compatible API in front of more than 100 large language model providers, including OpenAI, Anthropic, Amazon Bedrock, Azure OpenAI, Google, and self-hosted models. It adds load balancing, automatic fallbacks, rate limiting, virtual API keys, and spend tracking so your applications integrate once and switch or combine providers freely. The current release available is LiteLLM 1.88.
Application Stack
LiteLLM is installed into a dedicated Python 3.12 virtual environment under /opt/litellm and run by an unprivileged service account. It listens on the loopback address while an nginx reverse proxy fronts it on port 80, exposing unauthenticated liveness and readiness probes alongside the OpenAI-compatible API. A systemd service starts the proxy on boot and restarts it on failure, giving you infrastructure-grade reliability without container orchestration.
Secure by Default
Unlike generic installations that ship with shared or default credentials, this image generates a fresh master key unique to your instance on first boot and writes it to a root-only file. Callers authenticate with the standard Authorization Bearer header. The master key also mints scoped virtual keys for your teams and applications, enabling granular access control and budget enforcement without external tooling.
Getting Started
- Launch the AMI on your preferred EC2 instance type.
- SSH in and retrieve your unique master key from the root-only file.
- Add your provider credentials to /etc/litellm/config.yaml.
- Point your application's OpenAI base URL at the instance on port 80.
- Call any configured model through one unified API.
Because LiteLLM calls out to external model endpoints, the image is CPU-only and ships no model weights. Set a database URL to enable virtual keys, the admin UI, and spend persistence.
AWS Integration
Route requests to Amazon Bedrock models natively. Attach an IAM role to your EC2 instance for credential-free Bedrock access. Deploy inside your VPC for data residency compliance. Use Auto Scaling groups and an Application Load Balancer for high-availability deployments.
Use Cases
Regulated Industries (Healthcare, Finance, Government): Route sensitive prompts exclusively to Amazon Bedrock endpoints within a specific AWS region, satisfying data residency and compliance requirements such as HIPAA or GDPR while still offering teams access to multiple model providers for non-sensitive workloads.
Platform Engineering Teams: Provide a centralized AI gateway for dozens of internal applications. Issue scoped virtual keys per team, enforce per-team budgets, and track spend across providers from one dashboard - eliminating credential sprawl and surprise bills.
Cost Optimization at Scale: Configure automatic fallbacks so that if a primary provider is slow or unavailable, requests route to a secondary model instantly. Combine this with spend tracking to identify the most cost-effective provider for each use case.
cloudimg Support
24/7 technical support by email and live chat. Our engineers help with LiteLLM deployment, configuring providers and model routing, load balancing and fallbacks, virtual keys and budgets, TLS termination, and scaling. Critical issues receive a one-hour average response time.
All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.
Highlights
- LiteLLM, the open source OpenAI-compatible gateway for 100+ LLM providers, preinstalled as a systemd service in a Python virtual environment behind an nginx reverse proxy on port 80, ready to route requests with no manual setup
- Secure by default: the proxy is gated by a master key generated fresh for every instance on first boot and stored in a root only file, which also mints scoped virtual keys for teams and applications
- 24/7 technical support from cloudimg, with expert help configuring providers and model routing, load balancing and fallbacks, virtual keys and budgets, TLS and scaling
Details
Introducing multi-product solutions
You can now purchase comprehensive solutions tailored to use cases and industries.
Features and programs
Financing for AWS Marketplace purchases
Pricing
Free trial
- ...
Dimension | Description | Cost/hour |
|---|---|---|
m5.large Recommended | m5.large | $0.08 |
t3.micro | t3.micro instance type | $0.04 |
t2.micro | t2.micro instance type | $0.04 |
g4ad.4xlarge | g4ad.4xlarge instance type | $0.24 |
m7a.32xlarge | m7a.32xlarge instance type | $0.24 |
x1e.8xlarge | x1e.8xlarge instance type | $0.24 |
c5d.2xlarge | c5d.2xlarge instance type | $0.24 |
r6a.16xlarge | r6a.16xlarge instance type | $0.24 |
m6a.xlarge | m6a.xlarge instance type | $0.12 |
c8a.large | c8a.large instance type | $0.08 |
Vendor refund policy
Refunds available on request.
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
Initial release of the LiteLLM 1.88 OpenAI-compatible LLM gateway.
Additional details
Usage instructions
Connect via SSH on port 22 as the default login user for your operating system variant (the user guide lists it per variant; on Ubuntu it is 'ubuntu'). The LiteLLM proxy is served by nginx on port 80. Retrieve the generated master key with: sudo cat /root/litellm-credentials.txt. Health checks are open at http://<instance-public-ip>/health/liveliness; the OpenAI-compatible API requires the master key as 'Authorization: Bearer <master-key>'. Add your provider credentials and models to /etc/litellm/config.yaml, then restart with 'sudo systemctl restart litellm.service'. Point your application's OpenAI base URL at http://<instance-public-ip>/ and call any configured model. The proxy runs on loopback port 4000 and is managed with systemctl (litellm.service, nginx.service). Set DATABASE_URL in /etc/litellm/litellm.env to enable virtual keys, the admin UI and spend persistence. The user guide covers configuring providers, minting virtual keys, and enabling HTTPS.
Resources
Vendor resources
Support
Vendor support
Support Channels
cloudimg provides 24/7 technical support for this product through two channels:
- Email: support@cloudimg.co.uk
- Live Chat: Available around the clock
Response Times
Critical issues receive a one-hour average response time. Our engineers work with you until resolution, covering deployment, configuration, updates, performance tuning, and troubleshooting.
What We Help With
- Initial deployment and instance configuration
- Provider credential setup and model routing
- Load balancing, automatic fallbacks, and scaling
- Virtual key management and budget enforcement
- TLS termination and security hardening
- Upgrades to new LiteLLM releases
- Troubleshooting connectivity and performance issues
Refunds and Billing
For billing questions or refund requests, contact support@cloudimg.co.uk with your AWS Marketplace subscription details. Our team will respond within one business day for non-critical inquiries.
Getting Started
After launching your instance, email or chat with our team if you need help retrieving your master key, configuring your first provider, or connecting your applications to the gateway.
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.