How to add AMD origin failover
Adaptive Media Delivery (AMD) failover lets you switch from one origin to another, or send a specific HTTP status code to the requesting client if a failure occurs on your primary origin.
How it's implemented: the basics
You configure various recovery methods via a unique rule in your AMD property via Property Manager. Recovery methods consist of failing over to a backup origin or delivery of a specific response code to the requesting client. You also set up a policy of failure scenarios that trigger these recovery methods:
- You can set a timeout. If a request to your primary origin exceeds a set amount of time, the request can be retried or you can use a recovery method (or both). This applies to connect and first-byte timeouts. (Transaction timeouts don't apply.)
- You can specify HTTP status codes. If a request to your primary origin results in one of these status codes, the request can be retried or you can use a recovery method (or both).
In addition, you can apply settings to "blacklist" a failed primary origin for a specific amount of time. After that time elapses, requests are routed back to the primary origin.