VPC -- Deletion of default subnets

0

Hello,

Unfortunelty I have deleted VPC default subnets, Now I am unable to start an ec2 or any others services. How can i overcome this issue.

Thanks in advance for the help.

Regards, Ajith.

Ajith
asked 2 months ago255 views
2 Answers
1

Hello.

I think the solution is to create a new custom VPC and subnet or recreate the default VPC.
You can create a default VPC and subnet by following the steps in the document below.
https://docs.aws.amazon.com/vpc/latest/userguide/default-vpc.html#create-default-vpc
https://repost.aws/knowledge-center/recreate-default-vpc

profile picture
EXPERT
answered 2 months ago
profile picture
EXPERT
reviewed 2 months ago
0

Unlike services like lambda, EC2 resides in your VPC. Therefore VPC is needed to configure an EC2.

Follow this post for more information: https://repost.aws/knowledge-center/deleted-default-vpc

Jehan
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions