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
已提问 1 年前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
专家
已回答 1 年前
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
专家
已回答 1 年前
0

Could AWS Global Accelerator could be another approach.

profile pictureAWS
专家
kentrad
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则