A comprehensive DevSecOps pipeline template for deploying a Netflix clone application on AWS using modern CI/CD and security tools.
DevSecOps Project to Deploy a Netflix Clone on AWS using Jenkins CI/CD, Docker, Kubernetes, GitOps, and security tools like Trivy, SonarQube, OWASP and fully monitored using Prometheus and Grafana.
This tool is designed for developers and DevOps engineers looking to implement a secure CI/CD pipeline for containerized applications on AWS. It integrates various security tools to ensure the application is continuously monitored and vulnerabilities are addressed during the deployment process.
Ensure you have an AWS account and the necessary permissions to provision EC2 instances. Familiarity with Docker and Kubernetes is recommended for effective use.
Provision an EC2 instance on AWS with Ubuntu 22.04.
Connect to the instance using SSH.
Update all packages and clone the code repository.
Install Docker on the EC2 instance.
Build and run your application using Docker containers.
Get the TMDB API key from The Movie Database website.
Rebuild the Docker image with your TMDB API key.
Install SonarQube and Trivy on the EC2 instance.
git clone https://github.com/N4si/DevSecOps-Project.git
Clones the application code repository onto the EC2 instance.
sudo apt-get install docker.io -y
Installs Docker on the EC2 instance.
docker build -t netflix .
Builds the Docker image for the Netflix clone application.
docker run -d --name netflix -p 8081:80 netflix:latest
Runs the Docker container for the Netflix application.
docker run -d --name sonar -p 9000:9000 sonarqube:lts-community
Runs SonarQube in a Docker container for code quality analysis.