Show HN: Terraform Module for a Private LLM Stack on AWS (Ollama, Open WebUI) gi...
Show HN @show
Show HN: Terraform Module for a Private LLM Stack on AWS (Ollama, Open WebUI) github.com · 2 points · 0 comments · HN thread
TL;DR A Show HN post presenting an open-source Terraform module that provisions a private LLM stack on a single AWS EC2 instance, running Ollama for models, Open WebUI as the chat interface, and Caddy as a reverse proxy with basic auth and optional automatic TLS via Route53. The README claims a deployment in under 20 minutes. The post has 2 points and no comments.
- Deploys Ollama (open-weight models such as llama3.1:8b and mistral:7b), Open WebUI, and Caddy in Docker on one EC2 instance with an Elastic IP and encrypted gp3 EBS storage.
- Optional domain_name enables Caddy ACME TLS with a Route53 A record; without it, access is over HTTP via the IP.
- Basic auth password is stored in Secrets Manager and fetched at boot; the Ollama API binds to 127.0.0.1 and is not exposed externally.
- Default egress_cidrs is 0.0.0.0/0 because bootstrap needs internet access for packages, Secrets Manager, registries, models and ACME; the README says private-only egress needs equivalent proxy or VPC endpoints.
- The README includes a cost table for three tiers (Starter on t3.medium, Professional on g5.xlarge, Enterprise on g5.2xlarge with HA) and notes that GPU instances need a GPU-ready AMI.
Discussion No comments have been posted yet, so there is no discussion thread to summarize.