- Newest
- Most votes
- Most comments
The Public IPs assigned to an NLB are static and do not change during the life of the load balancer.
When you create an internet-facing load balancer, you can optionally specify one Elastic IP address per subnet. If you do not choose one of your own Elastic IP addresses, Elastic Load Balancing provides one Elastic IP address per subnet for you. These Elastic IP addresses provide your load balancer with static IP addresses that will not change during the life of the load balancer. You can't change these Elastic IP addresses after you create the load balancer.
Reference: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html
As for ALB, see this Knowledge center article: https://repost.aws/knowledge-center/alb-static-ip
Relevant content
- asked a year ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 months ago
This is true for NLB but not for Classic or Application Load Balancers - for ELB (as the question mentions) the public IP addresses can change.
Thanks Brett, I missed that part; editing my answer.