whereismyai
Terraform Aws Private LLM
Terraform Aws Private LLM: Terraform module for deploying a private LLM infrastructure stack on AWS with auto-TLS.
This Terraform module deploys a complete private LLM infrastructure on AWS. It sets up Ollama to serve open-weight models, Open WebUI for a ChatGPT-style interface, and Caddy as a reverse proxy with auto-TLS and basic authentication. The stack runs on AWS EC2 instances utilizing Docker for container management and encrypted EBS storage for persistent data and model weights. It supports various models like Llama 3.1, Mistral, and Codellama. The module is designed for engineers and organizations needing a secure, self-hosted AI environment on cloud infrastructure.
Terraform Aws Private LLM at a glance
Key features
- Deploys Ollama for open-weight model serving
- Configures Open WebUI for browser access
- Sets up Caddy reverse proxy with automatic HTTPS
- Manages AWS EC2 compute instances
- Uses encrypted EBS gp3 storage for model data
- Integrates Route53 for DNS and TLS provisioning
- Secures endpoints with HTTP basic authentication
Use it for
- Hosting private language models on AWS
- Running internal chat interfaces for teams
- Deploying self-hosted code generation tools
- Building RAG pipelines with embeddings
Alternatives to Terraform Aws Private LLM
- LLM Usage Desktop Widget — Tracks LLM usage limits directly in the system status bar without manual checks.
- S3mail — Runs serverless email on AWS for low cost with a Go JMAP backend.
- SwarmVault — Compiles raw sources into a local-first knowledge graph without requiring cloud access.
- LLM-Aided OCR — It combines Tesseract OCR with local or cloud LLMs to correct errors and format documents.
- Rool — Keeps your files and AI interactions secure and private on EU-hosted infrastructure.
- LLM Wiki Compiler — Compiles raw sources into a citation-traced, interlinked markdown wiki.
- Bloque — Unifies multiple Model Context Protocol servers into a single managed control plane.
- Llmspeed — Simulates tokens per second and time-to-first-token using verified benchmarks.
- SOMA AI — Compares costs and carbon emissions for custom token volumes across major AI providers.
- Survival LLM — Runs entirely offline with local AI models and a comprehensive survival article library.
All Terraform Aws Private LLM alternatives