Amit
Amit

Reputation: 703

Creating new VPC on AWS is always creating a Route Table

I am trying to create a new VPC (Not via Wizard) and my assumptions is it should not create any router along with it. It started happening from yesterday. Also i can not delete the router as it errors route because of dependencies. However when i delete the VPC it deletes the Router as well.

Upvotes: 0

Views: 1025

Answers (3)

EIDIVANDI
EIDIVANDI

Reputation: 18

Creating a VPC is followed by some integrated components as Router, a router is a part of VPC and can not be touched or replaced, AWS provide you a way that most of networking parts are managed for you so you need just to configure your route tables and the traffic will be routed as you wish by VPC.

The vpc router is a HA service with zero interruption, so you will lost all your network in case of a disaste.

Upvotes: 0

helloV
helloV

Reputation: 52433

Each VPC (whether created manually or using a wizard) must have / or comes with a router. See: Route Table Basics

  • Your VPC has an implicit router.
  • Your VPC automatically comes with a main route table that you can modify.
  • You can create additional custom route tables for your VPC.
  • You cannot delete the main route table, but you can replace the main route table with a custom table

Upvotes: 4

John Hanley
John Hanley

Reputation: 81424

When you manually create a VPC a default route table is ALWAYS created. You cannot delete this route table. You can edit this route table. To make this VPC accessible from outside the VPC you either need to add an Internet Gateway, a NAT Gateway or a Virtual Private Gateway.

The behavior for manually created VPCs that you are experiencing is normal.

Note: I am assuming that you mean Route Table and not Router. You have to first create the appropriate router (IGW, NAT, VPG) and then add that to the route table. If you use the Wizard, this is done for you, but for manually created VPCs you must do this manually.

Upvotes: 3

Related Questions