내용으로 건너뛰기

NLB lost one of assigned IP adresses.

0

Hello community.

I have a Network Load Balancer in my infrastructure. It was deployed to the two private subnets in two availability zones. It was working well until I noted that one of the assigned internal IP addresses for inbound connections was lost. I verified that by host and dig commands.
I found a lost IP on my Network interfaces. I can see that it is still assigned to the correct subnet and has the right interface type network_load_balancer.

My question: How can I return my IP address, or maybe network interface, to my NLB? Do you have any ideas?

질문됨 2년 전313회 조회
1개 답변
2
수락된 답변

Is the DNS name that you are looking at with dig configured as an "alias" record in a Route 53 hosted zone? They allow an "evaluate target health" option to be enabled, which automatically removes the IPs from DNS that aren't reporting as healthy.

Particularly if your NLB or the target group is configured not to allow cross-AZ load balancing, the NLB might not have any functioning targets in a given AZ, causing its IP to be removed from DNS. The cross-AZ load balancing option is described in these documentation articles:

전문가
답변함 2년 전
전문가
검토됨 2년 전
  • Hello Leo

    Thank you for your answer. This is exactly what happened to us. Two ECS (faragate) services started in one AZ, and we didn't have cross-zone balancing enabled at our NLB. This is caused by NLB disabling or making inactive one of the IPs.

    This is what the AWS support told us.

    Thank you, Stanislav

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

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

관련 콘텐츠