How to: Static IP for ALB

This is a Quick & Simple post on how to set up static IP addresses for an Application Load Balancer (ALB)in AWS.

Before 27 September 2021, the only way for you to have a static ALP for your Application Load Balancer was for you to do something hacky using Lambda and Network Load Balancer (NLB). You would have your Lambda periodically check the IP addresses of your ALB that would keep changing, and update your NLB to point to those dynamically changing IP addresses.

AWS responded to this common problem by making it possible to be done in a cleaner way through…