Other Articles

DynamoDB Table – Enable Table Point In Time Recovery

This check ensures that Point-in-Time Recovery (PITR) is enabled for Amazon DynamoDB tables. PITR protects against accidental writes or deletes by allowing table restoration to any second within the last 35 days.

Check Details

  • Resource: General
  • Check: Enable DynamoDB table point-in-time recovery
  • Risk: Permanent data loss due to accidental deletion or overwrite

Remediation via AWS Console

  1. Log in to the AWS Management Console and open the Amazon DynamoDB console. Amazon DynamoDB Console
  2. In the left navigation panel, click Tables and select the affected DynamoDB table.
  3. Open the Backups tab.
  4. Under Point-in-time recovery, click Edit. Edit PITR settings
  5. Enable Point-in-time recovery and click Save changes. Enable DynamoDB PITR

Remediation via AWS CLI

  1. Log in to the AWS Management Console and click the CloudShell icon (>_) in the top-right corner. AWS CloudShell
  2. Enable Point-in-Time Recovery on the DynamoDB table:
    
    
    aws dynamodb update-continuous-backups \
     --table-name <table-name> \
     --point-in-time-recovery-specification \
     PointInTimeRecoveryEnabled=true
    

Replace <table-name> with the actual DynamoDB table name.