How do you migrate from a hardware load balancer or Classic LB to ALB safely?
IntermediateProductionLoad Balancing, Proxies & nginx in Production
Answer
Build the ALB in parallel with identical routing and certificates, test via its DNS name and curl --resolve, lower DNS TTL, then shift using weighted records 5%, 25%, 100% while comparing error rates and latency. Review header behavior differences (ALB normalizes headers, idle timeout, X-Forwarded-*).
Keep the old LB for at least a full TTL and traffic cycle for rollback.
More on Load Balancing, Proxies & nginx in Production
How do you choose between ALB, NLB and an nginx or Envoy fleet?IntermediateHow do you tune ALB idle timeout and backend keep-alive to avoid 502s?IntermediateWhich nginx directives matter most for a production reverse proxy?IntermediateHow do you do rate limiting and abuse protection in nginx?IntermediateHow do you achieve zero-downtime configuration reloads in nginx and HAProxy?IntermediateHow would you design a highly available load-balancing tier on-prem or in a colo?Advanced