# Multi-region disaster recovery for Amazon API Gateway WebSocket APIs

DevFeed: [Multi-region disaster recovery for Amazon API Gateway WebSocket APIs](<https://devfeed.tech/articles/multi-region-disaster-recovery-for-amazon-api-gateway-websocket-apis-87253.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/architecture/multi-region-disaster-recovery-for-amazon-api-gateway-websocket-apis/>)

Author: Shubham Dhoka

Published: 2026-10-14T14:31:55Z

Content type: tutorial

Language: en

Sources: [AWS Architecture Blog](<https://devfeed.tech/sources/aws-architecture-blog.md>)

Topics: [Disaster Recovery](<https://devfeed.tech/topics/disaster-recovery.md>), [Amazon API Gateway](<https://devfeed.tech/topics/amazon-api-gateway.md>), [WebSocket](<https://devfeed.tech/topics/websocket.md>), [Amazon Route 53](<https://devfeed.tech/topics/amazon-route-53.md>), [Amazon DynamoDB](<https://devfeed.tech/topics/amazon-dynamodb.md>), [health check](<https://devfeed.tech/topics/health-check.md>), [Amazon CloudWatch](<https://devfeed.tech/topics/amazon-cloudwatch.md>), [Amazon EventBridge](<https://devfeed.tech/topics/amazon-eventbridge.md>), [treeherder](<https://devfeed.tech/topics/treeherder.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [amazon-api-gateway](<https://devfeed.tech/tags/amazon-api-gateway.md>), [amazon-cloudwatch](<https://devfeed.tech/tags/amazon-cloudwatch.md>), [amazon-dynamodb](<https://devfeed.tech/tags/amazon-dynamodb.md>), [amazon-eventbridge](<https://devfeed.tech/tags/amazon-eventbridge.md>), [amazon-route-53](<https://devfeed.tech/tags/amazon-route-53.md>), [disaster-recovery](<https://devfeed.tech/tags/disaster-recovery.md>), [failover](<https://devfeed.tech/tags/failover.md>), [health](<https://devfeed.tech/tags/health.md>), [multi-region](<https://devfeed.tech/tags/multi-region.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>), [websocket](<https://devfeed.tech/tags/websocket.md>)

## AI overview

This tutorial presents an active-passive, multi-region disaster recovery pattern for Amazon API Gateway WebSocket applications. It combines Route 53 DNS failover, DynamoDB Global Tables for replicated state, a canary health probe, and client reconnection logic so sessions can recover after a regional outage. The article also discusses asynchronous replication limits, health-check thresholds, and backoff with jitter.

## Source excerpt

Learn how to build multi-region disaster recovery for Amazon API Gateway WebSocket APIs. This design pattern combines Amazon Route 53 DNS failover, Amazon DynamoDB Global Tables, a canary health probe, and client-side reconnection logic to reconnect clients and restore session state automatically during a regional failover.