After the route table is created, it needs to be associated with the subnet in order to control the outbound traffic of the subnet. This document describes how to associate the route table with the subnet.
In the list, select the route table that needs to associate with the subnet, and click More > Associated Subnets in the Operation column.
Click the route table ID to go to the details page, select Associated Subnets tab, and click +Associate Subnet.
After the route table is associated with the subnet, the original route table associated with the subnet will be replaced with the new one, and the subnet outbound traffic will be executed according to the policies in the new route table. Please carefully evaluate the business impact.
Log in to the VPC console.
Select Route Tables in the left sidebar to go to the management page.
Click the route table ID to go to the details page, switch to the Associated Subnets tab, and click Disassociate.
In the pop-up window, select a new route table for the subnet to be disassociated, and click OK to complete the disassociation of the current route table from the subnet. The subnet outbound traffic policy will be executed based on the new route table selected for it.