Help Center/ Virtual Private Cloud/ User Guide (Kuala Lumpur Region)/ VPC Peering Connection/ Modifying Routes Configured for a VPC Peering Connection
Updated on 2024-04-11 GMT+08:00

Modifying Routes Configured for a VPC Peering Connection

Scenarios

This section describes how to modify the routes added for a VPC peering connection in the route tables of the local and peer VPCs.

You can follow the instructions provided in this section to modify routes based on your requirements.

Modifying Routes of a VPC Peering Connection Between VPCs in the Same Account

  1. Log in to the management console.
  2. Click in the upper left corner and choose Network > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

  3. In the navigation pane on the left, choose Virtual Private Cloud > VPC Peering Connections.

    The VPC peering connection list is displayed.

  4. In the VPC peering connection list, click the name of the target VPC peering connection.

    The page showing the VPC peering connection details is displayed.

  5. Modify the route added to the route table of the local VPC:
    1. Click the Local Routes tab and then click the Route Tables hyperlink.

      The Summary tab of the default route table for the local VPC is displayed.

    2. Locate the row that contains the route to be modified and click Modify in the Operation column.

      The Modify Route dialog box is displayed.

    3. Modify the route and click OK.
  6. Modify the route added to the route table of the peer VPC:
    1. Click the Peer Routes tab and then click the Route Tables hyperlink.

      The Summary tab of the default route table for the peer VPC is displayed.

    2. Locate the row that contains the route to be modified and click Modify in the Operation column.

      The Modify Route dialog box is displayed.

    3. Modify the route and click OK.

Modifying Routes of a VPC Peering Connection Between VPCs in Different Accounts

Only the account owner of a VPC can modify the routes added for the connection.

  1. Log in to the management console using the account of the local VPC and modify the route of the local VPC:
    1. Click in the upper left corner and choose Network > Virtual Private Cloud.

      The Virtual Private Cloud page is displayed.

    2. In the navigation pane on the left, choose Virtual Private Cloud > VPC Peering Connections.

      The VPC peering connection list is displayed.

    3. In the VPC peering connection list, click the name of the target VPC peering connection.

      The page showing the VPC peering connection details is displayed.

    4. Modify the route added to the route table of the local VPC:
      1. Click the Local Routes tab and then click the Route Tables hyperlink.

        The Summary tab of the default route table for the local VPC is displayed.

      2. Locate the row that contains the route to be modified and click Modify in the Operation column.

        The Modify Route dialog box is displayed.

      3. Modify the route and click OK.
  2. Log in to the management console using the account of the peer VPC and modify the route of the peer VPC by referring to 1.