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?

posta 3 anni fa1141 visualizzazioni
1 Risposta
Risposta accettata

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.

con risposta 3 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande