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.

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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ