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?

질문됨 3년 전1126회 조회
1개 답변
수락된 답변

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.

답변함 3년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠