Seamlessly switch between CloudFront distributions using Route 53?

0

My customer wants ultimately to migrate multiple CloudFront Distributions from one AWS Account to another but realize it’s not quite possible.

Right now their CloudFront Distribution is configured this way:

  • CNAME of the CloudFront Distribution is the same as a production customer-facing FQDN (e.g.: download-office.customer.com)
  • in Route53 customer-facing FQDN is pointed to CloudFront Distribution FQDN using CNAME record (e.g.: download-office.customer.com CNAME d11ipsxxxxxxx.cloudfront.net)

What they want to do is to introduce an intermediate FQDN and place it in between the customer-facing FQDN and CloudFront Distribution FQDN using Route53 Alias Records. So the configuration would look like:

  • CNAME of the CloudFront Distribution is the same as a intermediate FQDN (e.g.: balancer-download-office.customer.com)
  • in Route53 intermediate FQDN is pointed to CloudFront Distribution FQDN using ALIAS record (e.g.: balancer-download-office.customer.com ALIAS d11ipsxxxxxxx.cloudfront.net)
  • in Route53 customer-facing FQDN is pointed to intermediate FQDN using ALIAS record (e.g.: download-office.customer.com ALIAS balancer-download-office.customer.com)

It's working in their QA environment but they would like feedback on any issues. However, they are finding from support engineers that the only way to swap a CloudFront distribution without downtime is specifically through a support case.

The question is: what is the best way for my customer to seamlessly switch between CloudFront distributions, and ultimately move to a CloudFront distribution in another account without downtime?

1개 답변
0
수락된 답변

The CloudFront team has the ability to migrate a CNAME between distributions without any downtime, though during the switch, some edge locations will respond with the old distribution, and some with the new one, as they receive the update. This can be done via a support ticket, if the migration is a 'one-off'.

AWS
전문가
답변함 4년 전

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

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

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