Three-Tier Kubernetes DevSecOps Pipeline
A three-tier web app (React, Node.js, MongoDB) deployed to AWS EKS through a Terraform-provisioned Jenkins pipeline with SonarQube, OWASP and Trivy security gates, Argo CD GitOps and Prometheus and Grafana monitoring.
Overview
An end-to-end DevSecOps implementation on AWS, based on an open-source reference project: infrastructure as code, a secured CI pipeline, GitOps delivery to Kubernetes and full monitoring.
Business context
Teams moving to Kubernetes need a delivery path that is repeatable, secure by default and observable from day one.
The problem
Manual deployments, no security scanning in the pipeline and no visibility once the app was running.
The solution
Terraform provisions the Jenkins server on AWS. Jenkins pipelines run SonarQube code-quality checks, OWASP Dependency-Check and Trivy image scans, then push images to private Amazon ECR repositories. Argo CD syncs Kubernetes manifests to an EKS cluster behind a load balancer, with persistent storage for MongoDB, and Helm installs Prometheus and Grafana for monitoring.
Architecture & deployment workflow
Provision
- Terraform
- AWS EC2 · VPC · IAM
- Jenkins server
Build & secure
- SonarQube analysis
- Quality gate
- OWASP Dependency-Check
- Trivy file scan
Package
- Docker build
- Push to private ECR
- Trivy image scan
Deploy
- Update manifests (Git)
- ArgoCD sync
- AWS EKS
- Load balancer
Observe
- Helm
- Prometheus
- Grafana
Key features
- Infrastructure as code with Terraform and AWS CLI
- Jenkins CI pipelines for frontend and backend
- SonarQube code-quality gate
- OWASP Dependency-Check and Trivy image scanning
- Private Amazon ECR repositories
- GitOps delivery with Argo CD
- AWS EKS cluster with load balancer and persistent volumes
- Prometheus and Grafana via Helm
Related projects
DevSecOps & Cloud Infrastructure
GitOps Delivery on AWS EKS
A Terraform-provisioned AWS EKS cluster with GitHub Actions pipelines, SonarCloud and Snyk security checks, Argo CD GitOps delivery and Prometheus and Grafana monitoring for a three-tier quiz app.
DevSecOps & Cloud Infrastructure
Real-Time Chat with CI/CD to Kubernetes
A real-time chat app on Node.js and Socket.IO, containerised with Docker and shipped by a GitHub Actions pipeline, with Kubernetes manifests for a two-replica deployment.











