AWS Route 53: Weighted Routing Policy

Overview

The Weighted Routing Policy in Amazon Route 53 allows traffic distribution across multiple resources based on assigned weights. This provides flexible traffic control, enabling use cases such as load balancing, application testing, and gradual traffic shifting.

How Weighted Routing Works

Example Setup

Consider a setup with three EC2 instances, each in a different AWS region:

EC2 Instance Region Weight Traffic Share
Instance 1 us-east-1 70 70%
Instance 2 eu-central-1 20 20%
Instance 3 ap-southeast-1 10 10%

Configuring Weighted Routing in Route 53

Step 1: Create a New DNS Record

Step 2: Add Records with Different Weights

  1. First Record (ap-southeast-1)