Application Load Balancer IP Change Event

0

My customer is experience an issue of their Application Load Balancer IP change. They're using external DNS to point to the ALB CNAME. But when the IP address changed, somehow the external DNS cannot return the correct IP in the right time. While we're investigating this issue on the external DNS server, I am wondering whether there is a way to get notified from EventBridge, in regarding the IP address change of ALB. In that way, such an event could trigger an action that (might) manually refresh the external DNS record.

AWS
Lei
질문됨 일 년 전1326회 조회
3개 답변
1

When the IP address of the ALB changes, a NetworkInterface creation event is issued to CloudTrail.
I would need to create a Lambda or something that triggers that event and checks the IP address of the ALB.
However, as mentioned in other answers, it is not recommended to set the IP address of the ALB directly, so we recommend using NLB or Global Accelerator to fix the IP address.

profile picture
전문가
답변함 일 년 전
0

The recommendation would be to use AWS Network Loadbalancer on top of your application loadbalancer. Network Loadbalancer will have a static IP address and It works on Layer 4 hence your request will be forwared to the ALB and all the ALB configured rules would still work. It is not a recommended practice to map the ALB IP to your DNS Records.

profile picture
전문가
답변함 일 년 전
0

Could AWS Global Accelerator could be another approach.

profile pictureAWS
전문가
kentrad
답변함 일 년 전

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

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

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

관련 콘텐츠