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
posta 2 mesi fa133 visualizzazioni
3 Risposte
1
Risposta accettata

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
con risposta 2 mesi fa
profile picture
ESPERTO
verificato 2 mesi fa
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
ESPERTO
con risposta 2 mesi fa
profile picture
ESPERTO
verificato un mese fa
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
con risposta 2 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande