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
posta un anno fa1326 visualizzazioni
3 Risposte
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
ESPERTO
con risposta un anno fa
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
ESPERTO
con risposta un anno fa
0

Could AWS Global Accelerator could be another approach.

profile pictureAWS
ESPERTO
kentrad
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande