← Back

Terraform HA Blue/Green Web Tier (SSM-Only)

Enterprise-style HA web tier using ALB weighted routing + blue/green ASGs in private subnets with SSM-only access (no SSH) and IMDSv2.

AWSTerraformALBAuto ScalingEC2SSMAmazon Linux 2023IMDSv2
View code on GitHub

Architecture

Terraform HA Blue/Green Web Tier (SSM-Only) architecture

Problem

I wanted a practical, enterprise-style Terraform project that goes beyond “spin up an EC2 instance” and focuses on real deployment and resiliency patterns: high availability across subnets, secure access without SSH, and a blue/green workflow that supports fast, low-risk cutovers.

Approach

Key Decisions

Results