How suhaib-md/devops-poc-set-1 works
Project Type and Purpose
• This is an end‐to‐end DevOps proof‐of‐concept for Azure. It demonstrates:
• Phase 1: Building custom Docker images (Jenkins, Nexus, SonarQube)
• Phase 2: Provisioning Azure infra via Terraform modules
• Phase 3: Packaging deployments as Helm charts (ArgoCD, Jenkins, Nexus, SonarQube)
• Phase 4: Implementing a Jenkins CI/CD pipeline for a Spring Boot app
• Phase 5: Creating Windows golden images with Packer
• Phase 6: Archiving Jenkins logs to Azure Blob for observability
Key Architectural Components
a. Azure Cloud Platform
• Azure Container Registry (ACR) for storing Docker images
• Azure Blob Storage for log archival
• Azure Image Gallery for Packer images
b. Infrastructure layer (Terraform)
• Virtual Network, Subnets, NSGs, Route Tables
• NAT Gateway, Load Balancer, Application Gateway
• AKS Cluster (multi‐AZ, 3 nodes)
c. Containerized Services on AKS
• ArgoCD (GitOps controller)
• Jenkins (CI/CD)
• Nexus Repository (artifact store)
• SonarQube (code quality)
• Spring Boot microservice(s)
d. CI/CD Pipeline
• Jenkinsfiles, Maven build of Spring Boot, Sonar analysis, Docker builds
e. Image Automation
• Packer templates and PowerShell provisioning for Windows 10 image
f. Observability & Logging
• Python script to push Jenkins logs to Azure Blob
Relationships and Data Flows
• Developers commit code to Git → Jenkins is triggered →
• Runs tests, SonarQube scan → builds Spring Boot JAR → builds Docker image → pushes to ACR
• Packer builds Windows 10 image → publishes to Azure Image Gallery
• Terraform modules deploy networking + AKS cluster + ACR + Blob storage
• Helm charts (ArgoCD or direct Helm) deploy containerized services on AKS
• ArgoCD watches Git repos and syncs Helm releases
• Jenkins logs are periodically backed up to Azure Blob via script
Architectural Patterns & Principles
• Immutable infrastructure (Terraform, Packer)
• GitOps deployment (ArgoCD + Helm charts)
• Separation of concerns:
• Infra provisioning (Terraform)
• Image creation (Docker, Packer)
• App deployment (Helm)
• CI/CD orchestration (Jenkins)
• Observability (Azure Blob)
• Reusable modules (Terraform modules, Helm chart templates)
• Security: non‐root Docker users, RBAC, secrets in Kubernetes