0
votes

Using AWS, is there any way to find a list of IP addresses of all the Load Balancers or searching for a specific IP address between all the Load Balancers?

1

1 Answers

2
votes

You can use DescribeLoadBalancers API call to get DNSName of each load balancer. Then you can translate a DNS name to one or more IP addresses of that load balancer with dig or a software library.

After you retrieved a list of all IP addresses for all load balancers, you can do a reverse search by IP. Keep in mind that IP address(es) of an ELB can in theory change over time.

https://docs.aws.amazon.com/elasticloadbalancing/2012-06-01/APIReference/API_DescribeLoadBalancers.html