Ollama with OpenWebUI offers a seamless way to access powerful local AI language models through an intuitive web interface. Ollama enables you to run advanced LLMs directly on your computer, keeping your data private and reducing latency by avoiding cloud-based services. OpenWebUI complements this by providing a user-friendly browser interface to interact with these models effortlessly.
This integration allows users to generate text, brainstorm ideas, create content, and even assist with coding or research—all while maintaining full control over their AI environment. Whether you’re a developer, writer, or researcher, combining Ollama’s robust local execution with OpenWebUI’s accessible interface gives you the best of both worlds: privacy and convenience.
Getting started is simple: install Ollama, download your preferred models, set up OpenWebUI, and connect the two. From there, you can customize prompts, control generation settings, and produce high-quality AI-generated text—all from your web browser.
It will take a few minutes for your VM to be deployed. When the deployment is finished, move on to the next section.
Connect to virtual machine
Create an SSH connection with the VM.
ssh azureuser@<ip>
Getting Started with Ollama and Open WebUI
After successfully connecting via SSH, you’re ready to set up Ollama with Open WebUI. Here’s how to get everything running:
Key Components:
Step 1: Installing Ollama LLM Models
Once logged in, you’ll need to install your preferred language models. For instance, to install Meta’s powerful Llama 3 model (currently one of the most advanced open-source LLMs), execute:
$ ollama run llama3
Quick Tips:
$ ollama list
Step 2: Accessing Open WebUI
Open WebUI runs in a Docker container. To verify its status:
$ sudo docker ps
Note: The container might need a few minutes to initialize completely.
After installing your LLMs, access the WebUI interface at:
First-Time Setup:
Performance depends on your VM’s specifications – consider upgrading your VM for better response times if needed.
Port Reference:
For Azure firewall configuration, consult the Azure Network Security Groups documentation.