This post presents two example projects showing how to deploy a .NET Web API (backend) and an Angular application (frontend) to Azure Kubernetes Service (AKS) using Terraform for infrastructure provisioning and GitHub Actions for CI/CD.
Both projects provide an end-to-end setup, including:
- infrastructure provisioning with Terraform,
- containerized applications running on AKS,
- automated CI/CD pipelines using GitHub Actions.
The main difference between the projects lies in how Kubernetes resources are deployed.
- Deploying to AKS using raw Kubernetes manifests
https://github.com/kaajoj/iac-azure-dotnet-api-angular-aks
A simpler approach using raw Kubernetes YAML files.
- Deploying to AKS using Helm
https://github.com/kaajoj/iac-azure-dotnet-api-angular-aks-helm
It demonstrates a more advanced and scalable approach, additionally integrating Prometheus and Grafana for monitoring.