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 個月前檢視次數 132 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南