Hi connections.
I'm thrilled to announce the completion of a DevSecOps project β¨ . The goal was to set up a cloud-based Netflix clone.
π *The Netflix DevSecOps Project *π
Phase 1: Initial Setup and Deployment
β
Launch EC2 (Ubuntu 22.04):
Provisioned an EC2 instance on AWS with Ubuntu
22.04.
β
Connected to the instance using SSH.
β
Clone the Code:
Updated all packages and cloned the application code
from GitHub.
Install Docker and Run the App Using a Container:
Set up Docker on the EC2 instance.
Built and ran the Netflix clone application using Docker
containers.
Get the API Key:
Obtained the TMDB API key for the application.
Phase 2: Security
β
Installed SonarQube and Trivy for vulnerability
scanning.
β
Integrated SonarQube with the CI/CD pipeline.
Phase 3: CI/CD Setup
β
Installed Jenkins for automation.
β
Configured Jenkins plugins and tools for the CI/CD
pipeline.
Created a Jenkins pipeline for application deployment.
Phase 4:Monitoring
Installed Prometheus and Grafana for monitoring.
β
Set up Node Exporter to collect system-level metrics.
β
Configured Prometheus to scrape metrics from Node
Exporter.
Created Grafana dashboards for visualization.
Phase 5: Notification
Implemented email notifications in Jenkins for alerts.
Phase 6: Kubernetes
Created a Kubernetes cluster with node groups.
Monitored Kubernetes with Prometheus and Node
Exporter.
Phase 7: Cleanup
Terminated AWS EC2 instances that were no longer
needed.
Github
Tools used: π
Jenkins
Docker
SonarQube
Trivy
Email
Prometheus
Grafana
Kubernetes
ArgoCD