Load balance for Cloudfront distribution with 2 origins in different regions


A customer is deploying an EC2 App on 2 regions that will be connected to a on premise back-end. The application was initially deployed for a single region this way:

Cloudfront -> ELB -> EC2 -> DB

End users will be located on a single country.

They want to mitigate potential connectivity problems to any region and they're deploying the same app on 2 regions. They're wondering if it is possible to have a single cloudfront distribution load balance among ELB origins in separate regions (not just as fail over). Is this possible?

Would it be a better approach to have just Route53 load balance on the ELBs of each region, given the single country access requirement?

gefragt vor 3 Jahren1141 Aufrufe
1 Antwort
Akzeptierte Antwort

Yes, if the Intent is to have multiple Origins (or multiple data centers etc.) located in different geos and have CloudFront pick the most-performant datacenter for that specific request, using Latency-based Routing in Route53 is a very common and recommended approach used by many of our customers. I have seen this set up with many other customers who are set up with other CDNs.

beantwortet vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen