- Newest
- Most votes
- Most comments
Based on the information in this link (https://stackoverflow.com/questions/71516855/aws-amplify-app-as-cloudfront-distribution-origin) , it appears that you may not be able to use AWS Amplify as an origin for an AWS CloudFront distribution. In a discussion on Stack Overflow, the link says that AWS support confirmed that AWS Amplify cannot be used in front of CloudFront.
However, you can achieve failover configurations using Amazon Route 53's health checking feature. There are two main types of failover configurations: active-active and active-passive.
In the active-active configuration, all the records that have the same name, the same type, and the same routing policy are active unless Route 53 considers them unhealthy. Route 53 can respond to a DNS query using any healthy record. (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-types.html)
In the active-passive configuration, a primary resource or group of resources is available the majority of the time, with a secondary resource or group of resources on standby. When responding to queries, Route 53 includes only the healthy primary resources. If all the primary resources are unhealthy, Route 53 begins to include only the healthy secondary resources in response to DNS queries.
You can configure active-passive failover with one primary record and one secondary record, or with multiple primary and secondary resources. You can also use weighted records for active-passive failover, with certain caveats.
Route 53 is a highly available and scalable Domain Name System (DNS) web service that can perform domain registration, DNS routing, and health checking. It can send automated requests over the internet to a resource, such as a web server, to verify that it's reachable, available, and functional. https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/Welcome.html
Relevant content
- asked 3 years ago
- asked a year ago
- Accepted Answerasked a month ago
- asked 3 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago