← Back to Projects

Terraform + AWS EC2 Deployment — Nginx + Autoscaling

2025

Provisioned complete AWS infrastructure (EC2, VPC, subnets, security groups) using Terraform IaC with reusable modules and automated Nginx deployment.

Overview

Infrastructure-as-Code project provisioning AWS resources from scratch using Terraform modules. Built reusable module architecture with remote backend (S3 + DynamoDB) for state management and locking. Automated complete infrastructure setup including VPC networking, security groups, and Nginx reverse proxy.

Pipeline Flow

  1. 1Design Terraform modules for VPC, EC2, Security Groups, Nginx
  2. 2Configure remote state backend using S3 + DynamoDB
  3. 3Write terraform apply to provision infrastructure
  4. 4VPC created with public subnets and route tables
  5. 5EC2 instance provisioned in public subnet
  6. 6Nginx deployed as reverse proxy via remote-exec provisioner

Technologies Used

TerraformAWSEC2VPCNginxDockerLinuxShell Script

Key Skills Demonstrated

  • Infrastructure as Code
  • Terraform modules
  • AWS provisioning
  • Remote state management
  • Resource lifecycle
  • Networking

About This Project

This project showcases practical DevOps skills including infrastructure provisioning, CI/CD automation, containerization, and orchestration. Each step is designed to demonstrate real-world scenarios that DevOps engineers face daily.