Understanding high availability and backups
Like other databases, DynamoDB will often become a critical part of your application, and your data needs to be resilient and recoverable to meet your application service level agreements. DynamoDB offers two methods to improve resilience and reliability:
- Global tables
- Backups
Let's start by looking at global tables.
Global tables
As DynamoDB is serverless and doesn't run in a VPC, the options you have for making it highly available are different from other AWS services. You cannot have a multi-AZ deployment here. DynamoDB offers a service called global tables to overcome this. Global tables allow you to configure a multi-region and active-active database deployment. DynamoDB will create an exact replica of your database across all the regions you specify, allowing you to create a highly available database system. If a table fails or becomes unavailable in one region, the traffic will automatically be routed...