Services Used
Architecture Highlights
Traffic & Architecture Flow
Internet traffic enters through Route 53 DNS resolution and is forwarded to the Application Load Balancer (ALB) in the public subnet. The ALB distributes incoming HTTP/HTTPS requests across EC2 instances hosted in private application subnets within a custom Virtual Private Cloud (VPC). The EC2 web tier connects to a Multi-AZ RDS MySQL instance in a separate, isolated database subnet — ensuring the database is never directly internet-facing. Auto Scaling Groups automatically provision or terminate EC2 instances based on CPU thresholds, maintaining performance under varying load.
Reliability Metrics
99.9% theoretical uptime with Multi-AZ and Auto Scaling
Zero downtime achieved during simulated EC2 instance failure
Automatic RDS failover completed in under 60 seconds
Traffic evenly distributed by ALB with no manual intervention
Challenges & Solutions
Ensuring automatic database failover without manual intervention during simulated server crashes.
Configured RDS Multi-AZ deployment which automatically promotes the standby replica to primary during a simulated primary instance failure — all within a 60-second window.
Explore the Architecture
View the full diagram or browse the CloudFormation infrastructure-as-code template.