Reputation: 1788
Is there a way to assign ipv4 address to Load Balancer in EC2 , just like we assign Elastic IP address to EC2 instances. If not, how can I get the IP address of ELB. I need to give the ip address of Load Balancer to an external application so that ELB can receive requests.So I don't want the IP address of ELB to be changed often.
Upvotes: 0
Views: 684
Reputation: 269101
An Application Load Balancer does not have a static IP address. It should always be referenced via DNS Name.
However, a Network Load Balancer is given a static IP address for each AZ to which it is connected. If a Network Load Balancer is not suitable, then a Network Load Balancer can be placed in front of an Application Load Balancer.
See: How to assign Elastic IP to Application Load Balancer in AWS? - Stack Overflow
Upvotes: 1