CDK and Route 53 Failover

0

We found a quite useful CDK article. It’s using a Lambda, Route 53 “A record”, and more. It’s titled “AWS CDK: Use Lambda with Application Load Balancer” https://sbstjn.com/blog/aws-cdk-lambda-loadbalancer-vpc-certificate/

However, the article does not cover failover. The straight forward question would be “what changes to this article would be made so that Active-passive failover between regions is supported?“

I understand a Route 53 “A record” has the "Failover routing policy" with which one can set up an active-passive failover setup. Hypothetically: if us-east-1 is down, it would automatically switch us to us-east-2.
Items of note:

Other related resources:

Any insight into how to implement failover using CDK, would be quite welcome. Thanks!

Update Feb 5, 2022

Still hoping for an optimal solution. For now, trying to wrestle with CfnRecordSet. CfnRecordSet properties of setIdentifier, **aliasTarget ** with evaluateTargetHealth (Evaluate Target Health), and failover seem to be key.

Evaluate Target Health related docs that we are looking at:

沒有答案

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

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

回答問題指南