Zero-Downtime Blue-Green and IP-Based Canary Deployments on ECS Fargate

TL;DR AI
2 min readKey summary
A Terraform-managed ECS Fargate pattern uses ALB listener rules and source-IP matching to send internal office or VPN traffic to a green task set first.
All other users keep hitting the blue version on the same production domain, so the rollout happens without CodeDeploy or duplicate environments.
This creates a zero-downtime blue-green and canary-style test in real production conditions, with fast rollback and less deployment complexity.
