Thanks to visit codestin.com
Credit goes to github.com

Skip to content

patrocinio/regionswitch-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Amazon ARC Region Switch Demo

Demonstrates Amazon Application Recovery Controller (ARC) for automated cross-region failover.

Components

  • ARC Cluster: Multi-region control plane
  • Routing Controls: Primary and secondary traffic controls
  • Region Switch Plan: Automated failover workflows
  • Simple Application: Demo app with ARC integration

Quick Start

# Deploy ARC infrastructure
aws cloudformation create-stack --stack-name arc-complete-demo \
  --template-body file://combined-arc-template.yaml \
  --capabilities CAPABILITY_IAM

# Deploy simple application
aws cloudformation create-stack --stack-name arc-simple-app \
  --template-body file://simple-app-template.yaml \
  --parameters ParameterKey=PrimaryRoutingControlArn,ParameterValue=<routing-control-arn>

# Test application
curl http://<app-url>:5000/health

# Simulate outage
python simulate_outage.py

Files

  • combined-arc-template.yaml - ARC cluster, controls, and region switch plan
  • simple-app-template.yaml - Simple Flask application
  • deploy-cloudformation.sh - Deployment script
  • simulate_outage.py - Outage simulation

Architecture

  • ARC Cluster: Cross-region control plane
  • Primary Control: us-east-1 routing control
  • Secondary Control: us-west-2 routing control
  • Region Switch: Automated failover between regions

Benefits

Automated failover with region switch plans
Sub-minute RTO for traffic switching
AWS-managed control plane reliability
Simple integration with existing applications

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published