What does this AWS Solutions Implementation do?
The Multi-Region Application Architecture solution helps demonstrate a fault-tolerant application with easy failover to a backup region. This solution leverages Amazon Simple Storage Service (Amazon S3) Cross-Region replication and Amazon DynamoDB Global Tables to asynchronously replicate application data between the primary and secondary AWS Regions. A sample photo-sharing web application is also deployed in each Region to serve as a visual demonstration of the solution’s back-end layers and to verify that regional failover is working.
AWS Solutions Implementation overview
The diagram below presents the architecture you can automatically deploy using the solution's implementation guide and accompanying AWS CloudFormation template.
Multi-Region Application Architecture solution architecture
The AWS CloudFormation template deploys an AWS Amplify sample web application hosted in an Amazon S3 bucket in both the primary and secondary AWS Regions; an Amazon CloudFront distribution to deliver the web application to users; Amazon Cognito user pools are deployed in each Region to enable users to sign in to the web application; and Amazon DynamoDB Global Tables to replicate data from the primary to the secondary Region.
When the web application is loaded, it queries the solution’s routing layer for the current state of the application (active, fenced, failover), and configures AWS Amplify to target the solution’s resources in the correct Region. The state of the application is also retrieved when the user uploads a new photo or adds a comment. If the application is in a fenced or failover state, these actions are disabled by the application and a message is displayed to the user.
Note: To subscribe to RSS updates, you must have an RSS plug-in enabled for the browser you are using.
Browse our library of AWS Solutions Implementations to get answers to common architectural problems.
Find AWS certified consulting and technology partners to help you get started.
Browse our portfolio of Consulting Offers to get AWS-vetted help with solution deployment.