Is it possible to assign an Elastic IP to a Load Balancer?
3 Answers
No it is not. Elastic Load Balancers do not have a fixed IP address - it is possible that a single ELB is actually multiple appliances, so as to overcome the bottleneck that would otherwise occur with very high load (i.e. if all connections were passing through a single ELB). ELBs will scale up by increasing their number. As such, it is recommended that you use the DNS address instead, as this can internally be mapped to the IP of any ELB appliance serving your requests (much like round robin DNS). Typically, you will use a CNAME to map the provided DNS value to a subdomain (e.g. www) of your domain.
For a more detailed overview of the functioning of ELBs see this article.
![](../../users/profiles/86472.webp)
- 20,620
- 1
- 60
- 80
No, it is not possible to assign an Elastic IP Address to an Elastic Load Balancer (ELB).
However, it may be possible to do what you are trying to accomplish using different AWS features if you explain what you thought this would be a solution for.
![](../../users/profiles/30542.webp)
- 10,901
- 34
- 56
As of 2019 it is possible to have static IP for Load Balancer:
Using a Network Load Balancer instead of a Classic Load Balancer has the following benefits:
- Support for static IP addresses for the load balancer. You can also assign one Elastic IP address per subnet enabled for the load balancer.
![](../../users/profiles/532256.webp)
- 101
- 1