Create and manage route table
The procedure for creating and managing Route Tables within VPC is outlined as follows.
- Based on the Role-Based Access Control (RBAC) with IAM, only Project Admin can create and manage route table. Other project members can only view route tables.
- You can check your IAM roles by navigating to KakaoCloud Console > Profile (top-right) > IAM roles.
Create route table
The KakaoCloud Console enables the creation of new route tables for your VPC.
-
Go to Beyond Compute Service > VPC in the KakaoCloud Console.
-
After going to the Route Table menu, click the [Create route table] button.
-
Fill in the necessary information in the pop-up window and click [Create].
Manage route tables
View the list of route tables
To review the list and details of created route tables.
-
Go to Beyond Compute Service > VPC in the KakaoCloud Console.
-
Click the Route Table menu and view the list of route tables.
Category Description Route table Name and ID of the created route table State State of the route table VPC Name of VPC where the route table is located Association Information about the subnet connected to the route table Main Whether it is the main route table
- Yes: Automatically created route table with the VPC (cannot be deleted)
- No: Additional route table created by the user (can be deleted)[More] icon Options to rename, set as main, or delete the route table, and modify subnet associations. -
For details, click on the route table.
Rename route table
Rename a route table by following these steps.
-
Go to Beyond Compute Service > VPC in the KakaoCloud Console.
-
After going to the Route Table menu, click the [More] icon > Rename route table.
-
In the pop-up window, enter the required information and click the [Change] button.
Replace the main route table
Switch the main route table for your VPC.
-
Go to Beyond Compute Service > VPC in the KakaoCloud Console.
-
After going to the Route Table menu, click the [More] icon > Set main route table.
-
In the pop-up window, enter the required information and click the [Change] button.
Modify association
You can modify the subnet associated with the route table.
-
Go to Beyond Compute Service > VPC in the KakaoCloud Console.
-
After going to the Route Table menu, select the route table.
-
Go to the Association tab, then click the [Associate] button.
-
In the pop-up window, modify associations by clicking the [Associate] button.
Category Description Subnet Name of the subnet created in the VPC IP CIDR block IP CIDR block information of the subnet Route Table Route table to associate the subnet
- Click the [Associate] button to associate the subnet to the respective route table.
ㄴ When associating a subnet, the communication path of the subnet changes according to the route, so it's necessary to check the route status in advance.
- If the button is inactive, it means it is already connected to the corresponding route table.
Delete route table
Remove unnecessary route tables, ensuring no subnets are linked.
Main route tables labeled as Default: Yes cannot be deleted, which will be removed upon when the VPC is deleted.
- Go to Beyond Compute Service > VPC in the KakaoCloud Console.
- After going to the Route Table menu, click the [More] icon > Delete route table.
- In the pop-up window, enter the name of the route table and click the [Delete] button.
Add new route
Add a new route to a route table.
-
Go to Beyond Compute Service > VPC in the KakaoCloud Console.
-
After going to the Route Table menu, select a route table.
-
Click the Route tab > [Add route] button.
-
In the pop-up window, enter the required information and click the [Add] button.
- To use a NAT Instance, the route target must be set to Instance. For more information, refer to the NAT Instance document.
Add new route
Category Description Target type Type of target for traffic to pass through en route to the destination IP
- Internet Gateway: Target for internet communication (Destination IP: IPs outside VPC CIDR IP)
- Local: Target for communication within the VPC network (Destination IP: VPC CIDR IP)
- Instance: Target to send traffic to a VM instance (Destination IP: IPs outside VPC CIDR IP)
- Transit Gateway: Target to send traffic to a transit gateway (Destination IP: IPs outside VPC CIDR IP)Target name Display the resource name for the selected Target type Destination Enter the destination IP of the route based on the IP CIDR block
Manage route
Routes within a route table can be effectively managed, allowing for the addition, modification, or deletion of routes as necessary.
When adding, changing, or deleting routes, the communication path of subnets connected to the respective route table may change. Please check the connected subnet state before managing the route table.
View route
To view the list and specifics of routes.
-
Go to Beyond Compute Service > VPC in the KakaoCloud Console.
-
After going to the Route Table menu, select a route table.
-
In the route table's details page, click the Route tab.
Category Description Destination Route destination IP Target type Type of target for traffic en route to the destination IP Target Name of the target for traffic en route to the destination IP State Route state [More] icon Options to modify the route or delete it.
Change route type
Change the route's target type through the following steps.
-
Go to Beyond Compute Service > VPC in the KakaoCloud Console.
-
After going to the Route Table menu, select a route table.
-
On the Route tab, click the [More] icon > Modify route.
Modify route
-
In the pop-up window, modify the information and click the [Apply] button.
Delete route
Remove unnecessary routes with these steps.
- Go to Beyond Compute Service > VPC in the KakaoCloud Console.
- After going to the Route Table menu, select a route table.
- On the Route tab, click the [More] icon > Delete route.
- In the pop-up window, click the [Delete] button.