AWS Route 53 latency routing for Australian workloads
Amazon Route 53 latency-based routing sends DNS queries to an endpoint associated with the AWS Region that normally has the lowest measured latency from the client’s resolver. It provides a straightforward way to distribute a service across geographically separated infrastructure without requiring users to select a location.
Route 53 makes a DNS decision rather than proxying application traffic. Recursive resolver caches, internet exchange paths and changes in client connectivity can therefore affect how quickly a new endpoint becomes active. These characteristics are particularly relevant across Australia, where customers and cloud resources are spread across several cities and internet service providers.
How latency-based routing works
A latency resource record set includes a DNS record name, record type, AWS Region and endpoint. Route 53 maintains latency measurements between DNS resolvers and AWS Regions, then returns the endpoint configured for the region with the lowest applicable latency.
For a given record name and type, Route 53 evaluates its routing policies in a defined order: failover, geolocation, latency and weighted routing. Latency routing is therefore most appropriate when the objective is to direct requests towards the fastest healthy regional endpoint, rather than enforce a fixed primary location or distribute traffic by a fixed percentage.
Selecting regions for Australian users
AWS’s Sydney Region, identified as ap-southeast-2, and Melbourne Region, ap-southeast-4, are the primary starting points for domestic workloads. Their relative performance will vary between internet service providers, enterprise connections and metropolitan networks. A customer in Perth, Adelaide or Brisbane may receive a different answer from one in Sydney or Melbourne.
Singapore, ap-southeast-1, can also be evaluated for organisations with international traffic or when tests show that it performs better for particular Australian network paths. It should not be added merely because it appears geographically convenient. Measure resolver-to-region latency and application response times from representative connections before committing to a regional policy.
Data residency and security requirements must take precedence over performance. Australian Government workloads may require an appropriate Australian Signals Directorate IRAP assessment and controls over where information is stored. A latency record must never direct regulated traffic to an endpoint that fails those obligations, regardless of its network performance.
Building the routing configuration
In the hosted zone for example.com.au, create a latency record such as api.example.com.au and add one latency resource record set for each candidate region. Choose the same record type throughout, normally A or AAAA. Each set must identify its AWS Region and point to the corresponding regional endpoint.
Alias records are preferable when the target is a supported AWS resource, including an Application Load Balancer or Network Load Balancer. Select the appropriate regional load balancer in the alias target and enable target health evaluation where appropriate. Where an alias cannot be used, configure a supported endpoint value and verify that it is reachable from the public internet if it is associated with a public hosted zone.
Manage the records through the Route 53 console, AWS CLI or infrastructure-as-code tooling so changes remain consistent across environments. Non-alias records have a configurable TTL; alias records inherit a TTL from the resolver’s defaults. Use the same policy for records with matching names and types, and avoid adding weighted or geolocation records that conflict with the latency design.
Health checks and failover behaviour
Create a Route 53 health check for every regional endpoint. The check should validate the path that users actually request, including the expected protocol, port, host header and application path. A basic TCP check may report success while an API, authentication service or required backend remains unavailable.
Associate each health check with its latency record, or use alias target evaluation where supported. Route 53 excludes an unhealthy endpoint when selecting a regional answer. This check is separate from the latency measurement: an endpoint can be close and healthy, or close but unavailable.
DNS failover is not instantaneous because clients and recursive resolvers can retain cached answers. A recovery-time objective that demands immediate switching needs additional application, network or traffic-management controls. Use external probes from Australian locations as well, since Route 53 checks may originate from AWS infrastructure and cannot reveal every local peering or corporate DNS issue.
Testing and troubleshooting the policy
Test with dig, dig +trace and the AWS CLI test-dns-answer operation from several Australian connections. Compare results across Sydney, Melbourne, Brisbane, Perth and Adelaide, using both consumer and corporate resolvers. A single public resolver may use an anycast address and fail to represent the path experienced by local users.
Common problems include selecting the wrong AWS Region, publishing conflicting record policies, overlooking private hosted zones, or allowing cached answers to conceal a configuration change. IPv6 records may also point to a different backend from their A-record counterparts. Route 53 query logs, CloudWatch health-check metrics and application tracing help separate DNS selection problems from slow application processing.
Practical deployment guidance for Australian operations
Australian operations frequently span Sydney, Melbourne, Brisbane and Perth, with follow-the-sun support and strict change-control practices. Local retail events such as Click Frenzy, Cyber Monday, Christmas and Boxing Day can also produce sharp traffic changes. A latency policy should be tested under those conditions rather than only during quiet periods.
Useful deployment practices include:
- Start with Sydney and Melbourne latency records, then add Singapore only when measurements from Australian clients justify it.
- Attach an independent health check to every endpoint and test complete application requests rather than relying on port checks alone.
- Use a relatively low TTL when rapid endpoint removal matters, and accept the additional DNS query volume that this creates.
- Validate results from multiple Australian internet service providers, including corporate DNS, VPN and split-horizon configurations.
- Keep IRAP, data residency and contractual restrictions ahead of latency optimisation when defining eligible regions.
A well-tested Route 53 latency policy gives Australian users a DNS answer aligned with their network conditions while preserving a clear operational boundary around health, caching and recovery.