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
asked a year ago1205 views
3 Answers
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
EXPERT
answered a year ago
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
EXPERT
answered a year ago
0

Could AWS Global Accelerator could be another approach.

profile pictureAWS
EXPERT
kentrad
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions