Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I use multiple LoadBalancers in Route53 Alias records?

I see an option for weighted routing in Route53 for Alias records i.e. Alias + Alias Option.

I am confused if I am supposed to create two identical A + Alias Option records or If I am supposed to enter two load balancer DNS records into the Alias Record in the AWS Console.

Basically I am trying to do weighted routing between two load balancers.

like image 838
Subtubes Avatar asked Dec 31 '25 09:12

Subtubes


1 Answers

You can do either. The better choice is to use weighted resource records.

An Amazon Load Balancer has more than one IP address. DNS queries will usually return two IP addresses. If you create a single record with more than one entry, it is very likely that only the first IP address of the first load balancer will be used by clients. By using a weighted record, you will be able to balance traffic to the load balancers.

like image 71
John Hanley Avatar answered Jan 05 '26 05:01

John Hanley



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!