In this step of the AWS Backup tutorial, you create a backup plan, assign resources to it, and then create a backup vault.
Create a Backup Plan by Modifying an Existing One
A backup plan is a policy expression that defines when and how you want to back up your AWS resources, such as Amazon DynamoDB tables or Amazon Elastic File System (Amazon EFS) file systems. You assign resources to backup plans, and AWS Backup then automatically backs up and retains backups for those resources according to the backup plan.
From the dashboard, choose Manage Backup plans. Or, using the navigation pane, choose Backup plans.
Choose a plan from the list (for example, Daily-Monthly-1yr-Retention), and enter a name in the Backup plan name box.
On the plan summary page, choose the radio button for the backup rule and then choose Edit. Review and choose the values that you want for your rule. For example, you can extend the retention period of the backup in the Monthly rule to three years instead of one year.
For the backup vault, choose Default.
When you have finished editing the rule, choose Save.
On the Summary page, choose Assign resources to prepare for the next section.
Assign Resources to a Backup Plan
If you don’t already have existing AWS resources that you want to assign to a backup plan, create some new resources to use for this exercise. You can create multiple resources from several or all of the supported services. These resources can include the following:
Amazon EBS volumes
Amazon EC2 instances
Amazon EFS file systems
Amazon RDS instances and Amazon Aurora clusters
AWS Storage Gateway volumes.
To assign resources to a backup plan
On the AWS Backup console dashboard, choose Manage Backup plans. Or, using the navigation pane, choose Backup plans.
Choose a plan from the list; for example, Daily-Monthly-1yr-Retention.
On the plan summary page, choose Assign resources.
In the Resource assignment name field, choose a name for the resource assignment.
Under IAM role, choose Default role.
In the Assign resources section, ensure that the Assign by control displays Tags. Enter a key and value that your resources are tagged with.
When a new Assign by control appears below your first resource assignment, change the value to Resource ID.
Choose the resource type that you want to add to your selection, for example, EBS. Place your cursor in the Volume ID field, and the available resources for this type will appear.
Choose a resource from the list, and then choose Add assignment.
When you have finished adding resources, choose Assign resources.
You then return to the plan summary page, which contains information about your backup plan, your backup rules, your resource assignments, and any backup plan tags.
Create a Backup Vault
To create a backup vault
On the AWS Backup console, in the navigation pane, choose Backup vaults.
Choose Create backup vault.
Enter a name for your backup vault. You can name your vault to reflect what you will store in it, or to make it easier to search for the backups you need.
Select an AWS KMS key. You can use either a key that you already created, or select the default AWS Backup master key.
Optionally, add tags that will help you search for and identify your backup vault.
Choose Create Backup vault.
In the navigation pane, choose Backup vaults, and verify that your backup vault has been added.