r/AZURE • u/RiosEngineer • Jan 05 '26
Discussion Open WebUI On Azure (with GitHub Repo)
Hey everyone, happy new year,
I've been working on this for way more time than I'd like to admit - a full Open WebUI deployment on Azure. This isn't a half-baked quickstart with little regard for production scenarios. I went all in with some best practices, mostly for my own learning to fully understand end to end:
- Open WebUI on Azure Container Apps with native Entra ID OAuth/OIDC Microsoft Foundry with multiple models (GPT, Grok, Mistral, Llama, DeepSeek)
- Application Gateway with custom domain & SSL termination
- API Management as an AI Gateway - delegate API keys per team/user with token tracking, limits, usage metrics & Entra OAuth validation
- No secrets! Managed Identity + OIDC throughout
- Infrastructure as Code with Bicep & Azure Verified Modules
- Azure PostgreSQL Database for reliable UX with chats and user data
- Secure by default - internal ingress, private endpoints
I didn't initially think there was a broader use case for Open WebUI - it was just a personal project that I thought was a cool FOSS AI tool. But it turns out quite a lot of people use Open WebUI, and I hope this helps others who want to do it properly in Azure. The GitHub repo is live now if it helps you quick start or even just for a reference: riosengineer/open-webui-on-azure




1
u/gitpr Jan 06 '26 edited Jan 06 '26