Load balance for Cloudfront distribution with 2 origins in different regions

0

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?

AWS
已提問 3 年前檢視次數 1124 次
1 個回答
0
已接受的答案

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.

AWS
已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南