Skip to main content
Version: Next

DynamoDB Backup Configuration

Overview

This document outlines the configuration for DynamoDB backups on AWS. It includes details on backup plans, frequency, retry policies, and retention periods.

Backup Plans

Two backup plans have been created:

  1. Weekly Backup Plan
  2. Daily Backup Plan

Weekly Backup Plan (main, dev, demo)

  • Frequency: Weekly, every Saturday at 00:30 UTC+02:00.
  • Retry Policy: If the backup does not start at the scheduled time, it retries 8 hours later.
  • Retention Period: 90 days

Daily Backup Plan (prod)

  • Frequency: Daily, with a specific time to be determined based on your needs.
  • Retry Policy: Similar to the weekly backup, if the backup does not start at the scheduled time, it retries 8 hours later.
  • Retention Period: 30 days (or as specified in your requirements)

Backup Tasks

DynamoDB Backup

  1. Objective: Perform a weekly backup of DynamoDB tables for all stages.
  2. Configuration:
    • Backup Plan: Apply the "weekly-backup" plan to all DynamoDB tables across different stages.
    • Backup Frequency: Set to run every Saturday at 00:30 UTC+02:00.
    • Retry Policy: Ensure the backup retries 8 hours later if it fails to start on time.
    • Retention: Keep backups for 90 days.

RDS Backup

  1. Objective: Create backups for RDS databases.
  2. Configuration:
    • Production Databases: Backup once per day.
    • Non-Production Databases: Backup once per week.

Pricing

Resource TypePriceRegio
Amazon RDS Database SnapshotFreeParis
Amazon DynamoDB Table Backup$0.17829 per GBParis

Example :

Assume your Amazon EFS backups are stored in the US East (N. Virginia) Region. You use 400 GB of Amazon EFS backup storage during 15 days of the month and 800 GB for the other 15 days of the month. At the end of the month, you would have the following backup storage usage, in GB-Days:

  • Total usage (GB-Days) = [400 GB x 15 days] + [800 GB x 15 days] = 18,000 GB-Days We add up GB-Days and convert to GB-Month by dividing by 30: Total GB-Month = 18,000 GB-Days/30 = 600 GB-Month Total monthly storage charge = 600 GB-Month x $0.05 = $30