使用AWS,有什么方法可以找到所有负载均衡器的IP地址列表或在所有负载均衡器之间搜索特定的IP地址吗?
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.
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.