How would you architect a highly available, multi-region AWS deployment?
Multi-region HA involves several layers:
- DNS: Route53 with health checks and latency/failover routing policies to direct users to the nearest healthy region.
- Data replication: RDS Multi-Region Read Replicas with promotion capability. DynamoDB Global Tables for active-active.
- Edge: CloudFront CDN with origins in multiple regions.
- Infrastructure: Identical infrastructure in each region managed by Terraform.
- DR strategy: Define RTO (Recovery Time Objective) and RPO (Recovery Point Objective) to determine your architecture (Pilot Light, Warm Standby, or Active-Active).