- Newest
- Most votes
- Most comments
CloudFront relies on the location of your DNS resolver to route requests. It may be that you're on a corporate network or a VPN, that has a DNS resolver located in the US. To improve routing, please use the DNS provided by your (local) Internet Service Provider, located in the UK. Alternatively, use one of the public DNS services that support the EDNS-Client-Subnet extension to the DNS.
For more information, please refer to this blog post: https://aws.amazon.com/blogs/aws/improved-cloudfront-performance-with-edns-client-subnet-support/, and don't hesitate to ask further questions!
Hi,
As said in official documentation https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/HowCloudFrontWorks.html#:~:text=DNS%20routes%20the%20request%20to,returns%20it%20to%20the%20user.
DNS routes the request to the CloudFront POP (edge location) that can best serve the
request, typically the nearest CloudFront POP in terms of latency.
So, I have very often seen (I live in Europ) lots of situation where US web sites respond faster than other sites in Europe. AFAIK, it's due to the massive amount of transatlantic fiber cables and to the very minimal number of hops to reach them from Europe (often less hops than to reach site in other EU countries. In that case, geo distance is irrelevant.
This can be leveraged in CloudFront multi-region architectures: see https://aws.amazon.com/blogs/networking-and-content-delivery/latency-based-routing-leveraging-amazon-cloudfront-for-a-multi-region-active-active-architecture/
Best,
Didier
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 10 months ago
