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?

demandé il y a 3 ans1130 vues
1 réponse
Réponse acceptée

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.

répondu il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions