About dynamic change of IP address when using ELB

0

When is the IP address changed when using ELB? Does it change depending on the time such as every 30 minutes? Will it change as the number of accesses increases?

已提問 2 年前檢視次數 7463 次
1 個回答
3

When you create an elastic load balancer, a default level of capacity is allocated and configured. As Elastic Load Balancing sees changes in the traffic profile, it will scale up or down. The time required for Elastic Load Balancing to scale can range from 1 to 7 minutes, depending on the changes in the traffic profile. When Elastic Load Balancing scales, it updates the DNS record with the new list of IP addresses. To ensure that clients are taking advantage of the increased capacity, Elastic Load Balancing uses a TTL setting on the DNS record of 60 seconds. It is critical that you factor this changing DNS record into your tests. If you do not ensure that DNS is re-resolved or use multiple test clients to simulate increased load, the test may continue to hit a single IP address when Elastic Load Balancing has actually allocated many more IP addresses. Because your end users will not all be resolving to that single IP address, your test will not be a realistic sampling of real-world behavior.

Refer: https://aws.amazon.com/articles/best-practices-in-evaluating-elastic-load-balancing/

profile pictureAWS
專家
已回答 2 年前
profile pictureAWS
專家
Toni_S
已審閱 2 年前
  • thank you. I understand how to update the IP address.

    Do you know how the range of IP addresses to be updated is determined?

  • Thanks for your answer, it provide information for ELB scaling up. However, when the ELB scale down, what happens for revoked IP@ still in DNS cache ? Once they are no more resolved, do they still route to the ELB for some period longer than 60 sec ?

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南