Ensure that Origin Failover feature is enabled for your Amazon CloudFront web distributions in order to improve the availability of the content delivered to your end users. To implement Origin Failover, you have to create an origin group to provide rerouting during a failover event. Then you can associate an origin group with a cache behavior (using only GET, HEAD and OPTIONS methods) to have requests routed from a primary origin to a secondary origin as a failover strategy. Before you can create an origin group, you must have two origins configured for your CloudFront web distribution.
With Origin Failover capability, you can setup two origins for your CloudFront web distributions: primary and secondary. In the event of primary origin failure, your content is automatically served from the secondary origin, maintaining the distribution's high reliability.
To determine if your AWS CloudFront distributions are using Origin Failover, perform the following actions:
To enable and configure Origin Failover for your Amazon CloudFront CDN distributions, perform the following actions: