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
feita há 2 meses132 visualizações
3 Respostas
1
Resposta aceita

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 há 2 meses
profile picture
ESPECIALISTA
avaliado há 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
ESPECIALISTA
respondido há 2 meses
profile picture
ESPECIALISTA
avaliado há um mês
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 há 2 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas