Level 200: Testing Backup and Restore of Data

Authors

  • Mahanth Jayadeva, Solutions Architect, Well-Architected

Introduction

In this lab, you will become familiar with creating periodic backups of AWS resources such as EBS Volumes, RDS Databases, DynamoDB Tables, and EFS File Systems. You will learn how to restore data from backups, and how to automate the entire process.

It is not sufficient to just create backups of data sources, you must also test these backups to ensure they can be used to recover data. A backup is useless if you are unable to restore your data from it. Testing the restore process after each backup will ensure you are aware of any issues that might arise during a restore down the line.

In this lab, you will create an EBS Volume as a data source. You will then create a strategy to backup these data sources periodically using AWS Backup, and finally, automate the testing of the restore process as well as cleanup of resources using AWS Lambda.

The skills you learn will help you define a backup and restore plan in alignment with the AWS Well-Architected Framework

Goals:

  • Create a Backup Strategy to ensure mission-critical data is being backed up regularly
  • Test restoring from backups to ensure there are no data recovery issues
  • Learn how to automate this process

Prerequisites:

  • An AWS Account that you are able to use for testing, that is not used for production or other purposes.
  • An IAM user or role in your AWS account that has Administrator privileges. Launch the CloudFormation Stack to provision resources that will act as data sources.

NOTE: You will be billed for any applicable AWS resources used if you complete this lab that are not covered in the AWS Free Tier .

Steps: