How To Create A Backup Vault In AWS Backup

How To Create A Backup Vault In AWS Backup

How To Create A Backup Vault In AWS Backup

Hello Everyone

Welcome to CloudAffaire and this is Debjeet.

Backup vault is a container to store and organize your AWS backups. AWS backup service comes with a default backup vault but you may want to create your own custom backup vault for different backup plans as per your organization RTO/RPO goals. When you create a new backup vault, you should provide KMS keys for encryption and access policy for your backup vault.

How To Create A Backup Vault In AWS Backup:

Prerequisites:

  • AWS CLI installed and configured with proper access. You can use below link to install and configure AWS CLI.

https://cloudaffaire.com/how-to-install-aws-cli/

https://cloudaffaire.com/how-to-configure-aws-cli/

Step 1: Create a KMS key that will be used to encrypt your backup vault.

Step 2: Create a new backup vault in AWS backup.

Step 3: Get details on your backup vault.

Observe, a backup vault name “Default” already presents in AWS Backup. AWS Backup service comes with a default vault.

Step 4: Create an access policy for backup vault.

Note: You can create an access policy to manage access to your AWS vault.

Step 5: Create an EBS volume that will be used to test backup using the newly created backup vault.

Next, we are going to create an IAM role for AWS backup service.

Step 6: Create an IAM role for AWS Backup service.

Now we are ready to take a new backup using the backup vault we just created.

Step 7: Take a new backup of the EBS volume using your backup vault.

Note: It will take some time to complete the backup. Please check the backup job state field (from the output of last command) for the status. If the state is “COMPLETED”, your backup is completed. As a result, a new recovery point will be created for your EBS volume which can be restored.

Step 8: Get recovery point details.

We have successfully created a new backup vault and also tested the backup vault by taking a new backup of an EBS volume. Next, we are going to delete all the resources created in this demo.

Step 9: Clean up.

Hope you have enjoyed this article. To know more about AWS Backup, please refer below official documentation

https://docs.aws.amazon.com/aws-backup/index.html

Leave a Reply

Close Menu