How to backup Amazon DynamoDB?

Amazon DynamoDB is a popular NoSQL database often evaluated amongst others like MongoDB and Cassandra. It is fully managed and a serverless database service. It is amongst the top AWS services used by customers for a wide variety of use cases. 

According to AWS, more than 100,000 AWS customers have chosen DynamoDB as their key-value and document database for mobile, web, gaming, ad tech, IoT, and other applications that need low-latency data access at any scale. Create a new table for your application and let DynamoDB handle the rest.

Amazon DynamoDB like any other service is not immune to operational usage issues, accidental deletions or malicious attacks. Enterprises, therefore, need to have a backup solution as part of their business continuity, corporate compliance or contractual obligations.

In this blog post, we will explain how Druva CloudRanger can allow you to easily schedule backups of your Amazon DynamoDB Tables across multiple accounts and regions.

What native solutions does AWS provide?

Currently, AWS offers three different native solutions for Amazon DynamoDB backups

On-Demand Backup

It creates a full backup of your Amazon DynamoDB table and does not impact table performance during the backup. Backups are consistent across partitions. Backups need to be taken manually per table or alternatively, you can script around for scheduled backups.

Point-in-time recovery (PITR)

A configuration enabled on a table takes automatic backups and does not impact table performance during the backup. Backups are incremental. Backups have a fixed retention period of 35 days and backup cost are 2x compared to OnDemand Backup.

AWS Backup Service

A recently announced service offering for AWS services backup. AWS Backup service offers a layer over OnDemand Backup with a policy approach. However, not all regions are currently supported by AWS Backup. Also, Amazon DynamoDB tables backup needs to be configured per region.

Therefore, Enterprises who are using Amazon DynamoDB at scale across multiple AWS accounts and regions need a simple and easy-to-use alternative solution for managing data protection across their AWS environments. This is where Druva CloudRanger can help.

Here is how you can configure your AWS accounts to protect

Step 1. Account configuration – Grant Amazon DynamoDB table permissions to the IAM role configured for AWS account access

configure account

Step 2. Druva CloudRanger automatically discovers Amazon DynamoDB Table across all regions    


Step 3. A unified view of Amazon DynamoDB Tables across all regions are shown under the account ‘Resources’


Step 4. Create a new backup policy to back up your Amazon DynamoDB Tables


That’s it! Druva CloudRanger will now schedule backups of your Amazon DynamoDB Tables. Backups are taken based on Amazon DynamoDB on-demand and stored in the same region.

Backups are created with  <table name- timestamp> for easy identification

Amazon DynamoDB Tables can be recovered from a backup and restored as a new Table.

What next?

We are currently exploring a few areas on extending Amazon DynamoDB data protection

  • Disaster Recovery
    • Ability to take cross-region and cross-account backups for Amazon DynamoDB Tables for additional resilience.
    • Supporting Amazon DynamoDB Tables in Disaster Recovery plans.
  • Compliance and Retention
    • Archive Amazon DynamoDB Tables to AWS lower-tiered storages like Glacier.
  • Granular recovery – Update existing tables for specific items


About Druva CloudRanger

Whether you are a small business, a medium business, or an enterprise user of Amazon Web Services, Druva CloudRanger has a variety of features that will meet your specific needs. Our straightforward, easy-to-use dashboard eliminates the need for in-house scripting.

With just a few clicks, even the most novice AWS users can execute and automate a number of routine tasks such as implementing cross-region backups or scheduling server resources. Not only will Druva CloudRanger save your company time and money, but it will also allow users to focus on more important matters while these mundane yet important tasks are completed by the system. Best of all, you can try Druva CloudRanger risk-free, and see for yourself how it can help bring out the full potential of AWS. Sign up for a 14-day free trial today.


This entry has 0 replies

Comments are closed.