Hey everyone! I'm in a bit of a bind with this quiz question, and I'm hoping someone can shed some light on it. The question is: "Can an application load balancer (ALB) be assigned a fixed, static IP address per availability zone?" I've tried researching but keep running into different answers, and unfortunately, my previous attempts have been marked wrong. They're looking for detailed explanations, not just a plain yes or no. If anyone has insights, that would be amazing! Also, I've noticed some peers have struggled with this too, even when using AI for help!
1 Answer
Actually, an Application Load Balancer (ALB) can't be assigned a static IP address per availability zone. ALBs generally use dynamically assigned IPs. If you want a static IP for your service, you can set up a Network Load Balancer (NLB) in front of the ALB. The NLB can have static IPs, and it'll route traffic to your ALB behind it.
Gotcha, that makes sense! I figured they were all about those dynamic IPs. Thanks for clarifying that NLB can help!