Amazon App Deployment: A DevSecOps Approach with Terraform and Jenkins CI/CD | Docker |
In these project we are deploying the Amazon App using the DecSecOps Plugins with Jenkins CI/CD & Docker For the Containerizing . These All Whole Infrastructure Creating with the terraform.

Git Hub Link :
Use the below Blog to install Terraform and Aws cli

Step1: create an IAM user






Step2: Aws Configure

Step3: Terraform files and Provision Jenkins,sonar
main.tf


provider.tf

install.sh

Terraform commands to provision





OUTPUT -








Step 4 — Install Plugins like JDK, Sonarqube Scanner, NodeJs, OWASP Dependency Check
4A — Install Plugin

4B — Configure Java and Nodejs in Global Tool Configuration


Step 5 — Configure Sonar Server in Manage Jenkins








Let's go to our Pipeline and add the script in our Pipeline Script.
Click on Build now, you will see the stage view like this


Step 6 — Install OWASP Dependency Check Plugins

First, we configured the Plugin and next, we had to configure the Tool

Now go configure → Pipeline and add this stage to your pipeline and build.

The stage view would look like this,

Step 7 — Docker Image Build and Push



Add this stage to Pipeline Script
Stage View -




Stage view

You will get this output


Let's destroy everything


Pipeline
PreviousDeploying a YouTube Clone App with DevSecOps and Jenkins Shared LibraryNextAutomating Tetris Deployments: DevSecOps with ArgoCD, Terraform, and Jenkins for Two Game Versions
Last updated