When processing a DNS query, Amazon Route 53 searches for a resource record set that matches the specified name and type. If a group of resource record sets have the same name and type, Amazon Route 53 selects one from that group. The probability of any one resource record set being selected depends on its weight as a proportion of the total weight for all resource record sets in the group:
For example, suppose you create three resource record sets for www.example.com. The three A records have weights of 1, 1, and 3 (sum = 5). On average, Amazon Route 53 selects each of the first two resource record sets one-fifth of the time, and returns the third resource record set three-fifths of the time.
Here's a good question someone raised that I can't find an answer to- if you use the weighted routing, what happens when a user, for example at home on a desktop computer, gets record set A today and wants to go back to the site tomorrow, which record set will they get? A, B or C? If they get A, great. If it's an ecomm site and they get B they may get a site totally different and not be able to complete a transaction.
ReplyDeleteHow can this situation be managed or said another way, how can someone who gets record set A always get it or get it for a specific period of time?
Simple information with nice example thank you AWS Online Training Bangalore
ReplyDelete