# Just deployed a self-hosted sentiment analysis service on AKS using Ollama!

Built a complete solution with:

- Terraform and Powershell scripts to automate the deployment in the Whizlabs sandbox
- Multi-container architecture (Ollama + LLM adapter + Flask API)
- ConfigMap-driven prompt + proper health probes.

Everything running smoothly in the Whizlabs sandbox.
This was part of my hands-on AZ-400 practice project, combining my daily Azure DevOps work with AI-102 knowledge.

Planning to record a short video walkthrough in the next session.

Next up is deploying it via Azure pipeline in cross-subscriptions (different subscriptions for AKS and the CI/CD pipeline).

![Sentiment API test request and Ollama response](https://images.koorevaar.com/linkedin-import/sentiment-analysis-aks-ollama.jpg)

---

*Co-authored with Claude.*

If this was useful, [you can buy me a coffee](https://ko-fi.com/p47k0).

New articles: [follow via RSS](https://blog.koorevaar.com/feed.xml).
