Skill 1.2.3

Design resilient AI systems to ensure continuous operation during service disruptions (for example, by using AWS Step Functions circuit breaker patterns, Amazon Bedrock Cross-Region Inference for models that have limited regional availability, cross-Region model deployment, graceful degradation strategies)

Key Concepts

Cross-Region inference uses an inference profile, such as a geographic profile for the United States or Europe or a global profile, to route each request to a Region in the profile that has capacity. It raises throughput, absorbs regional peaks and provides access to models that are hosted only in certain Regions, while the request is still made to, and logged in, the source Region. Cross-Region deployment of the whole application with Amazon Route 53 failover protects against wider Regional problems.

A circuit breaker stops calling a failing dependency after repeated errors and returns a fallback until a test call succeeds. In AWS Step Functions it is built with a DynamoDB item that stores the circuit state, a Choice state that skips the model call while the circuit is open, and Retry and Catch fields that count failures. Graceful degradation provides a reduced but useful response: a smaller fallback model, a cached answer, retrieved documents without generated text, or a message that the request is queued.