What is AWS Backup?
AWS Backup is a fully managed backup service that makes it easy to centralize and automate the backup of data across AWS services in the cloud and on premises.
Creating backup policies will automate backup schedules and retention management.
Supported AWS Services:
- Amazon Elastic File System (EFS)
- Amazon Elastic Compute Cloud (EC2)
- Amazon Dynamo DB
- Amazon Elastic Block Storage (EBS)
- Amazon Storage gateway
- Amazon Relational Database Services (RDS)
- Cross Region Backup.
- Centralized Backup Management.
- Tag Based Backup.
- Policy Based Backup policies.
- Lifecycle Management policies.
- Backup Activity Monitoring.
- Backup Access Policies.
Setting up Backup Plan:
This article guides you to perform the necessary tasks to backup and restore the AWS resources using AWS Backup Service.
An existing AWS services such as EBS volume , RDS ,EC2 Instance ,Dynamo DB.
You can refer the below articles related to above Services:
Lets continue with AWS Backup,
Creating Scheduled Backup:
Here , We will create a Backup plan and assign the resources to it and then create a backup vault.
A Backup plan is a policy expression that defines when AWS backup should backup AWS services such as RDS,EC2,EBS,Dynamo DB.
Then based on the Backup plan , It backup the services and keep the backup as per the Retention period provided.
BACKUP PLAN WILL BE CREATED IN 2 WAYS:
- Creating a backup plan from the Scratch.
- Create one based on the exiting Backup Plan.
To create Backup Plan, Go to AWS Backup Console,
Choose Create Backup Plan, Select Start from an existing plan
Choose a plan from the list, For example , Daily-35day-Retention
Under Backup Rules, You can edit the existing rule as per your need ,Like changing retention period etc.
And the Backup Vault should be default.
Then Add Tag to the Backup Plan , Click Create plan.
Now We have created a Backup plan.
Assigning Resources to Backup Plan:
Select the Backup plan which you have created, Under Resource Assignments , We are going to apply the backup plan to our AWS resources.
Click Assign resources , Give a name to an assignment , We will use the default role.
Next We have to choose the resources based on the Tags or Resource ID
Select Resource ID ,If you havn’t tagged your AWS resources.
Select the Resource type , and select the particular resource.
If you want to assign multiple resources, click Add Assignment
Click Assign resources.
Creating a Backup vault:
We will create and use the custom backup vault Instead of using the default vault , So that we can organize the group of backup in the same vault.
To create backup vault , Choose Backup vaults in the left pane
Click Create Backup vault
Give a name to the vault and then choose the KMS key , You can use the default key or You can use the existing KMS key If you already have created earlier.
Add a Tag to the custom vault ,
Choose Create Backup vault.
Now you can edit the Backup plan to use the backup vault which we have created.
Hope it helped you to backup your AWS resources.
In the Next article, We will see how to create On-demand backup using AWS Backup service.