Creating VPC route tables
Creating VPC route tables
To create a VPC route table:
- In the AWS console, open the VPC service.
- Configure two spoke VPC route tables:
- Select Route Tables, then click the Create route table button.
- Configure the desired name, then select the spoke A VPC. Click the Create button.
- Repeat the process for the spoke B VPC.
- Select the spoke A VPC route table. On the Routes tab, click the Edit routes button.
- Click Add Route.
- In the Destination field, specify 0.0.0.0/0.
- For the Target, specify the Transit Gateway (TGW). Click Save Routes.
- On the Subnet Associations tab, click the Edit subnet associations button.
- Select the spoke subnet that you just created, then click Save.
- Repeat the process for the spoke B route table.
- Configure the security VPC external route table:
- Click the Create route table button.
- Configure Sec_VPC_External as the name. This will be the Internet-facing route table. Select the security VPC.
- Click the Create button.
- Select the security VPC external route table. On the Routes tab, click the Edit routes button.
- In the Destination field, specify 0.0.0.0/0.
- For the Target, specify the Transit Gateway.
- Click Save Routes.
- On the Subnet Associations tab, click the Edit subnet associations button.
- Add the management and public subnets for both VPC A and B, then click the Save button.
- Configure the security VPC internal route table:
- Click the Create route table button.
- Configure Sec_VPC_Internal as the name. This will be the route for internal traffic targeting the TGW. Select the security VPC.
- Click the Create button.
- Select the security VPC internal route table. On the Routes tab, click the Edit routes button.
- Click Save Routes.
- On the Subnet Associations tab, click the Edit subnet associations button.
- Select the internal subnets for both VPC A and B, then click the Save button.
Creating VPC route tables
Creating VPC route tables
To create a VPC route table:
- In the AWS console, open the VPC service.
- Configure two spoke VPC route tables:
- Select Route Tables, then click the Create route table button.
- Configure the desired name, then select the spoke A VPC. Click the Create button.
- Repeat the process for the spoke B VPC.
- Select the spoke A VPC route table. On the Routes tab, click the Edit routes button.
- Click Add Route.
- In the Destination field, specify 0.0.0.0/0.
- For the Target, specify the Transit Gateway (TGW). Click Save Routes.
- On the Subnet Associations tab, click the Edit subnet associations button.
- Select the spoke subnet that you just created, then click Save.
- Repeat the process for the spoke B route table.
- Configure the security VPC external route table:
- Click the Create route table button.
- Configure Sec_VPC_External as the name. This will be the Internet-facing route table. Select the security VPC.
- Click the Create button.
- Select the security VPC external route table. On the Routes tab, click the Edit routes button.
- In the Destination field, specify 0.0.0.0/0.
- For the Target, specify the Transit Gateway.
- Click Save Routes.
- On the Subnet Associations tab, click the Edit subnet associations button.
- Add the management and public subnets for both VPC A and B, then click the Save button.
- Configure the security VPC internal route table:
- Click the Create route table button.
- Configure Sec_VPC_Internal as the name. This will be the route for internal traffic targeting the TGW. Select the security VPC.
- Click the Create button.
- Select the security VPC internal route table. On the Routes tab, click the Edit routes button.
- Click Save Routes.
- On the Subnet Associations tab, click the Edit subnet associations button.
- Select the internal subnets for both VPC A and B, then click the Save button.