Automating the Restoration of VMware Backups performed by AWS Backup

0

Currently, I am utilizing Terraform to automate the restoration of AMIs created by AWS Backups. Additionally, we have on-premises VMware VMs that are backed up using AWS Backup. While restoring EC2 instances involves locating the latest AMI and deploying a new EC2 instance from that, the same approach does not apply to VMs as there seems to be no available AMI for them.

While I am aware that using a script with the AWS Backup API through CLI or SDK is a possible approach, I am seeking a more streamlined solution. Specifically, I am interested in understanding if there is a simpler way to leverage Terraform for VM backup restoration, similar to the process used with AMIs. This would help with the overall consistency of our Disaster Recovery process.

asked 10 months ago360 views
1 Answer
1

Hello,

I researched on this but I was unable to locate any third party documents that could guide regarding any process/setup for restoring VMs via Terraform. Please note as Terraform is a third party service so we as AWS support are not trained on the same and hence do not have the required expertise to effectively address this concern.

[+] https://docs.aws.amazon.com/aws-backup/latest/devguide/restoring-vm.html#vm-restore-cli

Now, from AWS Backup end as you are already aware CLI or SDK can be used to perform the required restores but it seems this is not the most feasible alternative for you. That being said, Cloudformation is a native AWS service which provides similar features as that of Terraform, however the restore operation for AWS Backup resources is not supported via the Cloudformation stacks as of now.

[+] https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Backup.html

AWS
SUPPORT ENGINEER
Sahil_W
answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions