Cloud Solutions/Infrastructure/Infrastructure Project

Terraform AWS Three-Tier Web Architecture

100%Infrastructure as Code
7 DaysRDS Backup Retention
EnabledEncryption at Rest

The Challenge

Teams needed reproducible, scalable AWS infrastructure without manual console provisioning — with clear separation of concerns between networking, compute, database, and load balancing layers, and built-in high availability, backup retention, and encryption compliance from day one.

The Engineering Solution

Designed a fully modular Terraform architecture separating networking, security, compute, load balancing, and database layers into independent, reusable modules. Built VPC with public (web) and private (app/database) subnets, an Application Load Balancer with health-checked target groups, Auto Scaling Groups for elastic compute, and RDS MySQL with 7-day backup retention and encryption at rest.

Technologies Used

TerraformAWS VPCAWS ALBAWS EC2 Auto ScalingAWS RDS MySQLAWS IAMAWS S3AWS CloudFront

Interactive System Mockup & Analytics

INFRASTRUCTURE DIAGRAM

AWS Three-Tier Architecture — Terraform Module Map

Web Tier (Public)
AWS ALB
Health-check target groups
CloudFront CDN
Public subnets (2 AZs)
App Tier (Private)
EC2 Auto Scaling Group
Launch templates
Private app subnets
NAT Gateway egress
Data Tier (Private)
RDS MySQL Multi-AZ
7-day backup retention
Encryption at rest
Private DB subnets

System State Comparison

Before State

Manual AWS console provisioning with no reproducibility, no version control, and environment drift

After Integration

Fully automated modular Terraform infrastructure deployable and reproducible with a single command

The modular Terraform design made infrastructure changes safe and completely predictable. Spinning up a fully isolated environment for testing is now a single command — that's a fundamental shift in how we work.

Infrastructure EngineerDevOps Engineering Project