DevOps Milestone Unlocked
Congratulations, Ahmad Raza Khan.
You are learning Jenkins and Terraform and turning that into a real delivery system: infrastructure on AWS, application bootstrapping, and automated multi-node deployment.
This stack shows that you are no longer only shipping code. You are provisioning networks, securing traffic paths, wiring a load balancer, and pushing repeatable releases across multiple EC2 instances through Jenkins.
Jenkins CI/CD Pipelines
Terraform IaC on AWS
ALB + Multi-EC2 Delivery
Nginx Reverse Proxy
PM2 Process Management
Health-Checked Releases
Terraform
VPC, subnets, route tables, internet gateway, security groups, EC2 instances, target groups, and an application load balancer.
Bootstrap
Automated server setup with user data: Node.js, npm, PM2, Nginx, deploy user, SSH key installation, and first release provisioning.
Delivery
Jenkins packages the app, ships one artifact to both EC2 nodes over SSH, switches the live symlink, and restarts the process cleanly.
Operations
ALB health checks route traffic only to healthy targets, while your pipeline verifies the public
/health endpoint after deployment.
SAMPLE_SECRET
he***oo