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.
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.