Enable Point-in-Time Recovery (PITR) for Dynamodb global tables
Enable Point-in-Time Recovery (PITR) for DynamoDB Tables

Global tables leverage the Amazon DynamoDB infrastructure to offer a fully managed, multi-region, and active database solution that delivers rapid and localized read and write performance, suitable for large-scale global applications. With automatic replication across multiple AWS regions, global tables provide a seamless solution for managing DynamoDB tables on a global scale. To help you protect your DynamoDB global table data from accidental write or delete operations without the need to create, maintain, or schedule on-demand table backups, you can enable and configure the Point-in-Time Recovery (PITR) feature. Once this feature is enabled, Amazon DynamoDB starts providing continuous backups of your global tables for 35 days, using per-second granularity. For reliability, the recovery process restores your data to a new global table. Without PITR, your DynamoDB data can't be recovered if it is deleted or overwritten accidentally; therefore, we strongly recommend enabling Point-in-Time Recovery to prevent data loss.

Remediation Steps

To enable Point-in-Time Recovery (PITR) for your Amazon Dynamodb global tables using the AWS Management Console:

  1. Access the Amazon DynamoDB console available at https://console.aws.amazon.com/dynamodbv2/, and choose Tables.
  2. Open the Amazon DynamoDB global table that you want to configure.
  3. Select the Backups tab, and choose Edit in the Point-in-time recovery (PITR) section.
  4. Select the Turn on point-in-time-recovery setting checkbox to enable the Point-in-Time Recovery (PITR) feature for your DynamoDB table. Choose Save changes to apply the configuration changes.

Useful Links

  1. Amazon DynamoDB Service FAQs
  2. Amazon DynamoDB global tables
  3. Point-in-time recovery for Amazon DynamoDB
  4. Using point-in-time recovery (PITR)
  5. update-continuous-backups CLI command
Blog

Learn cloud security with our research blog