1 Answer
- Newest
- Most votes
- Most comments
0
Hello,
You need to create an origin group with two origins: a primary and a secondary. If the primary origin is unavailable, or returns specific HTTP response status codes that indicate a failure, CloudFront automatically switches to the secondary origin. The following diagram shows how origin failover works.
Please go through the below link to know more about this.
Thanks, Gautam
answered 2 years ago
Relevant content
- asked 9 months ago
- Accepted Answerasked a year ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
Sorry for the misunderstanding, I know how to set up origin group.
In the console only available HTTP codes are: 400, 403, 404, 416, 500, 502, 503 and 504.Maybe this is the wrong place for this question, I mean improve the Cloud front service so that the 429 code is also available in failover criteria in origin group settings.