Amazon EC2 Backup & Restore using AWS Backup

10 minute tutorial

Introduction

AWS Backup enables you to centralize and automate data protection across AWS services. AWS Backup offers a cost-effective, fully managed, policy-based service that simplifies data protection at scale. AWS Backup helps you support your regulatory compliance obligations and meet your business continuity goals. 

With just a few clicks in the AWS Backup console, you can create backup policies that automate backup schedules and retention management. With AWS Backup, you can create backup policies called backup plans. You can use these plans to define your backup requirements, such as how frequently to back up your data and how long to retain those backups. AWS Backup lets you apply backup plans to your AWS resources by simply tagging them. AWS Backup then automatically backs up your AWS resources according to the backup plan that you defined.

You can use AWS Backup to create on-demand backup jobs, or customize a backup plan to backup the supported resources. When using AWS Backup with Amazon Elastic Compute Cloud (Amazon EC2) instances, you can centralize your compliance and policy control for backups, increase security choices for your organization, and access instant enterprise level features and functionality. When you back up an EC2 instance, AWS Backup will protect all Amazon EBS volumes attached to the instance, and it will attach them to an AMI that stores all parameters from the original EC2 instance (excluding Elastic Inference Accelerator and user data script).

What you will learn

  • How to create an on-demand backup job of an Amazon EC2 instance
  • How to use a backup plan to backup Amazon EC2 resources - using a backup plan within AWS Backup lets you automate your backups on a schedule
  • How to add resources to an existing backup plan using tags

 AWS Experience

Intermediate

 Time to Complete

10 minutes

 Cost to Complete

Implementation

You will need the following resources or permissions to proceed with this tutorial:
  • An AWS account will be needed for this tutorial. For more information on using AWS Backup for the first time, view the AWS Backup documentation.
  • One or more Amazon EC2 instances. You can refer to the Amazon EC2 pricing page for more details. For AWS Backup pricing, refer to the AWS Backup pricing page
  • IAM roles used by AWS Backup to create a backup of the Amazon EC2 instance. 
    • If a subsequent role is not created, then the default IAM role can be used - AWSBackupDefaultRole.
In this tutorial, you learn how to create an on demand backup job of an Amazon EC2 instance. Then, you will use a backup plan to protect EC2 resources. Using a backup plan within AWS Backup lets you automate backups using tags. 
Additional resources: Working with Amazon EC2 and AWS Backup

Was this module helpful?

Congratulations!

You have created a backup of an Amazon EC2 instance and performed a restore using AWS Backup!