Route53 CloudFront multi region distribution

0

We have a need to dispatch a global URL domain to regional service based on the User location. The regional URL domain contains the region info in it and there is no differentiating path parameter. How can we achieve this with Route53, Cloudfront distribution given that in Cloudfront multiple origin can ONLY be based on Path parameters ? for illustration, assume domains like these.
Global domain --> service.abc.com.
region1 domain -> service.us-east-1.abc.com
region2 domain --> service.us-west-1.abc.com.
If we use Cloudfront distributions for each regional domain, based on the Cloudfront documentation, it's a requirement that one of the alternate domain name much include the global domain as well. In this case, how can we provide the global domain (service.abc.com) in each regional Cloudfront distribution ?

질문됨 7달 전262회 조회
2개 답변
0

You would use Route53 to control which Origin the CloudFront caches are trying to contact. See this blog post for a comprehensive discussion of how to achieve this.

AWS
전문가
Paul_L
답변함 7달 전
0

CloudFront with origin failover is for requirement of high availability. Not domain control based on User location. I think important factor would be how you need to control the domain user accessed. Therefore, you need to consider how "dispatch a global URL domain to regional service based on the User location" more detail. After that, it would be better to consider which following routing policy is proper for this case. https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-policy.html

Either one would be better from Geolocation routing policy, Geoproximity routing policy or Latency routing policy.

AWS
S-S
답변함 7달 전

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

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

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

관련 콘텐츠