Ollama with Open WebUI on AWS
Ollama with Open WebUI on AWS is a pre-configured Amazon Machine Image (AMI) that provides a ready-to-run local LLM environment on AWS EC2. It combines Ollama for local model serving and Open WebUI for a browser-based chat interface, with the lightweight smollm2:135m model preloaded for immediate validation.
Disclaimer: All trademarks referenced in this listing belong to their respective owners. Their use does not imply any affiliation with or endorsement by the trademark holders.
What’s included
Section titled “What’s included”- Ollama local model server (listening privately on
127.0.0.1:11434) - Open WebUI browser interface (listening on port
8080) - Preloaded
smollm2:135mmodel for quick validation (CPU inference by default; pull larger models after launch on larger instances)
Launch on AWS
Section titled “Launch on AWS”- Find and subscribe to Ollama with Open WebUI with support by Elm Computing on the AWS Marketplace.
- Launch an EC2 instance (
t3.mediumor larger for basic validation; larger models require more CPU, memory, and disk capacity). - In your security group, allow TCP port
8080only from trusted IP addresses (or keep8080closed and use an SSH tunnel). Do not expose port11434publicly.
Open WebUI in your browser
Section titled “Open WebUI in your browser”Once the instance is running, open:
http://<INSTANCE_PUBLIC_IP>:8080On first access, create the initial Open WebUI administrator account and start chatting with the preloaded smollm2:135m model.
Private access via SSH tunnel (recommended)
Section titled “Private access via SSH tunnel (recommended)”If you do not want to expose port 8080 in your security group, forward it over SSH:
ssh -i KEY_PAIR.pem -L 8080:127.0.0.1:8080 ubuntu@<INSTANCE_PUBLIC_IP>Then open http://127.0.0.1:8080 in your local browser.
Ollama CLI and API
Section titled “Ollama CLI and API”To access the private Ollama API (127.0.0.1:11434) from your workstation, forward port 11434 over SSH:
ssh -i KEY_PAIR.pem -L 11434:127.0.0.1:11434 ubuntu@<INSTANCE_PUBLIC_IP>curl http://127.0.0.1:11434/api/tagsFrom an SSH session on the instance, you can verify and pull additional models:
ollama listollama run smollm2:135m "Reply with OK only."ollama pull llama3.2:1bSupport
Section titled “Support”Questions or need help getting started? Contact support@elmcomputing.io.