Help Center/ Virtual Private Cloud/ User Guide/ VPC Peering Connection/ Deleting Routes Configured for a VPC Peering Connection
Updated on 2024-10-25 GMT+08:00

Deleting Routes Configured for a VPC Peering Connection

Scenarios

This section describes how to delete routes from the route tables of the local and peer VPCs connected by a VPC peering connection.

Deleting 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 select the desired region and project.
  3. Click in the upper left corner and choose Networking > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

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

    The VPC peering connection list is displayed.

  5. 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.

  6. In the route list, locate the route and click Delete in the Operation column.

    A confirmation dialog box is displayed.

  7. Confirm the information and click OK.

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

Only the account owner of a VPC in a VPC peering connection can delete the routes added for the connection.

  1. Log in to the management console using the account of the local VPC and delete the route of the local VPC:
    1. Click in the upper left corner and select the desired region and project.
    2. Click in the upper left corner and choose Networking > 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. In the route list, locate the route and click Delete in the Operation column.

      A confirmation dialog box is displayed.

    6. Confirm the information and click OK.
  2. Log in to the management console using the account of the peer VPC and delete the route of the peer VPC by referring to 1.