dev-resources.site
for different kinds of informations.
🚀The Netflix DevSecOps Project 🚀
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
Featured ones: