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
preguntada hace 2 meses132 visualizaciones
3 Respuestas
1
Respuesta aceptada

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
respondido hace 2 meses
profile picture
EXPERTO
revisado hace 2 meses
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
EXPERTO
respondido hace 2 meses
profile picture
EXPERTO
revisado hace un mes
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
respondido hace 2 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas