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?

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 ?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠