Weighted Routing
Splits DNS responses across endpoints by configured weights, useful for staged rollout or traffic distribution.
How it works
Amazon Route 53 weighted routing lets you create multiple records with the same DNS name and type, each with its own weight. Route 53 selects an answer based on the relative weights among eligible records. This is useful for canary deployments or gradually distributing traffic between environments, subject to the configured health checks.
When to use it
Choose it when the requirement is send a percentage of DNS traffic to a canary or split endpoints.
Real-world example
An e-commerce company creates two records for its new and old checkout systems, with weights of 10 and 90 respectively. The team monitors errors in the new version and gradually adjusts the weights when there is enough evidence to expand the rollout.
Common pitfall
Weights do not guarantee an exact percentage of individual user requests because DNS answers are cached. A zero weight does not always exclude a record either: health checks and an all-zero weight configuration affect selection.
Often confused with
Compare its service boundary with Latency and Geolocation Routing; choose from the workload requirement.
References
Prepared by Cloud Quest. Check current behavior and limits in the AWS documentation:
Understand it for real with 3D models and simulated labs
Connect the concept to a working architecture.