How samsorrahman/end-to-end-devops-project works
Project Type and Purpose
• This is a full-stack DevOps pipeline project combining:
• Infrastructure as Code (Terraform)
• Continuous Integration (Jenkins)
• GitOps Continuous Deployment (ArgoCD)
• Container orchestration (Kubernetes on AWS EKS)
• Persistent storage (EFS for database)
• Load balancing & TLS (AWS ALB + ACM + Route 53)
• Monitoring & alerting (Prometheus, Grafana, AlertManager)
File Structure
• Top-level directories represent major architecture layers:
• Terraform/: provisions AWS resources (VPC, EKS, ECR, EC2, EFS, Route 53, ACM)
• Jenkins_cicd/: contains Django app, Dockerfile, Jenkinsfile for CI
• Kubernetes with ArgoCD/: GitOps manifests (Deployments, StatefulSets, Ingress, Service, ConfigMap, Secrets)
• Install and Configuration/: procedural docs for manual setup and monitoring
• Configuration files indicate use of modules/patterns: VPC module, EKS module, IAM roles, backend S3 bucket, ArgoCD manifests.
README for Additional Insights
• Key workflows and AWS services are explicitly called out, with details on namespace separation (argocd, monitoring).
a. Version Control & CI Layer
• GitHub App Repository
• Jenkins CI server (EC2 instance)
• Amazon ECR registry
b. GitOps & CD Layer
• GitOps repository (holds Kubernetes YAML under “Kubernetes with ArgoCD/”)
• ArgoCD server (in argocd namespace)
c. Kubernetes Cluster (AWS EKS)
• App Deployment (Django Pods, Service)
• DB StatefulSet (MySQL Pods)
• Persistent Volumes backed by Amazon EFS
• Ingress Controller (AWS ALB Ingress)
• ConfigMaps / Secrets / RBAC
d. Networking & Security
• Amazon VPC with public/private subnets
• Route 53 hosted zone (DNS)
• AWS Certificate Manager (ACM) SSL certificates
• Security Groups / IAM Roles
e. Monitoring & Alerting
• Prometheus server (monitoring namespace)
• Alertmanager (email alerting)
• Grafana dashboards (visualization)
• GitHub → (webhook) → Jenkins CI → build Docker image → push to ECR
• Jenkins CI → update GitOps repo → ArgoCD
• ArgoCD → sync → EKS API → create/update Deployments & StatefulSets
• EKS Pods → mount EFS for persistence
• Client traffic → Route 53 → ALB Ingress → Kubernetes Ingress Controller → App Service → App Pods
• Prometheus → scrape metrics from kube-api, pods, cAdvisor → Alertmanager → email
• Grafana → query Prometheus → render dashboards
Architectural Patterns & Principles
• IaC modularization (Terraform modules for VPC, EKS, EFS, IAM)
• GitOps (ArgoCD watches declarative manifests)
• CI/CD separation (Jenkins vs ArgoCD)
• Immutable artifacts (Docker images in ECR)
• Namespace isolation (argocd, monitoring, default)
• RBAC for cluster and application security
Critical Technologies & Tools
• Terraform (HCL modules, S3 backend + DynamoDB lock)
• AWS Services (EKS, EC2, ECR, EFS, ALB, ACM, Route 53, S3, IAM)
• Jenkins (Dockerfile, Jenkinsfile, plugin credentials)
• Docker (containerization)
• ArgoCD (GitOps CD)
• Kubernetes (Deployments, StatefulSets, ConfigMaps, Secrets, Ingress)
• Prometheus & Alertmanager, Grafana
Detail
• Don’t omit the S3 backend and DynamoDB lock for Terraform state
• ECR registry as the artifact store
• EC2 instance running Jenkins and its security group
• MySQL StatefulSet pods mounting EFS via PersistentVolumeClaims
• Prometheus targets (kube-API, node exporters, app endpoints)