Site icon UnixArena

Veeam Backup for AWS – Create the EC2 Backup policy

Login page - Veeam Backup for AWS

Login page - Veeam Backup for AWS

How to create a new veeam Backup policy to protect EC2 instances on AWS? How to protect the AWS cloud VM ? Cloud VM backup lifecycle can be managed by veeam. In the “Veeam Backup for AWS” series of articles, we have so far deployed the veeam backup appliance from the AWS marketplace and created the veeam backup repository to store the backup. The next step would be adding the required policy to protect the AWS resources. In this article, we will walk you through creating a new policy to backup EC2 instances automatically on the regular schedule.

App consistent snapshots

Veeam – Create the EC2 Backup policy

1. Log in to the veeam Backup console and navigate to policies. Click on “Add” to create a new policy.

Veeam Policies

2. Enter the policy name and update the meaningful description.

Specify policy name – Veeam

3. Choose the regions in which you would like to protect the EC2 instances. You need to validate the IAM role permissions as well.

Choose region – Veeam Backup for AWS

Add the required regions and click apply.

Select Veeam Regions

Validate the IAM role permissions.

Veeam IAM role permission checks

4. Choose the resources to protect. Click on “Browse to select specific resources from the global list”.

Choose EC2 resources to protect

5. Select the EC2 instance that you want to protect using veeam.

Select the instance name to protect

6. Here, you can choose “Application aware snapshots” for windows. For Linux, you need to rely on scripts.

Guest Processing – Application aware snapshots

If you toggle the “Guest scripting” option, you will get the below window to provide the script path.

Specify scripting settings for Linux instances

7. Specify the backup target settings. Click on “Choose repository”

Configure Backup Settings – Choose Repository

Select the pre-configured repository.

Select pre-configured repo

8. In this screen, select the schedule for the policy. I have turned on the daily schedule for testing.

Specify scheduling options

veeam allows you to configure in very granular including the timing for both snapshot and backup.

Create a daily schedule – Policy

9. Here is another interesting feature in veeam backup. It allows you to copy the existing tags from the instance and you can also append new tags.

Specify tag settings – Add custom tags

10. Here is the cost estimation for the policy that we are configuring. veeam is the first backup tool to provide the cost estimation based on the policy settings.

Review cost estimation

11. Configure the retry and notification settings.

General settings – veeam

12. Here is the policy summary for quick review.

Review policy settings – veeam

13. once the policy is created, it will be automatically triggered at the scheduled time.

veeam – policy executed – EC2 Backup

In the AWS backend, veeam will create the snapshot for the EC2 instance.

Veeam snapshots – AWS console

Veeam Backup will also copy the snapshot to the s3 bucket as per the policy.

EC2 snapshot into s3_repo

Conclusion:

We have successfully created a new EC2 backup policy to protect the instances in AWS. Veeam provides a pretty nice GUI interface to configure the schedule for EC2 snapshot and backup. Dynamic tags, price forecast are unique features offered by veeam compared to other backup products available on the market. Hope this artcile is informative to you.

Exit mobile version