AWS Backup Restore Testing failure on EC2

0

I created a Restore Testing plan for my EC2 and RDS instances. The RDS Restore test completed successfully but 3 of the EC2 Restore Tests failed with the same error "No subnets found for the default VPC 'vpc-xxxxxxxxxxxxxxx'. Please specify a subnet." I checked the default VPC and it has two subnets assigned so not sure why this error is showing. The EC2 instance show the correct VPC and subnet which is the default VPC. Any ideas on what else to look for?

Robert
已提问 2 个月前133 查看次数
3 回答
1
已接受的回答

Issue Resolved. The subnet needed to be set properly in the restore parameters. When creating the restore test there is an optional parameter that needs to be set if multiple availability zones are being used. Select Restore testing from the left nav from AWS Backup Select the desired restore testing plan Click on the Name of the desire resource in the Protected resource selections pane Select Edit Optional parameters pane Choose Subnet in the Choose parameters pulldown Choose the correct Subnet in the same Availability Zone Select Save

Robert
已回答 2 个月前
profile picture
专家
已审核 2 个月前
0

Hello.

I can't reproduce the error in my AWS account, but did I select the correct VPC and subnet in "Restore parameters" when creating the plan?
If you are restoring to the default VPC, I think you need to set the subnet ID within the default VPC.
Also, if it's a non-default VPC, can it be restored?
https://docs.aws.amazon.com/aws-backup/latest/devguide/restore-testing.html#restore-testing-create

profile picture
专家
已回答 2 个月前
profile picture
专家
已审核 1 个月前
0

This is the new feature in AWS Backup named "Restore Testing" I am using the default VPC with the associated subnet. The backup runs successfully. It's the feature, Restore Testing that fails on the EC2 instances. It works on the RDS instance. The test come back with a failure error code "No subnets found for the default VPC 'vpc-xxxxxxxxxxxxxxx'. Please specify a subnet." while the default VPC has two subnets in it.

Robert
已回答 2 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则