Deleting a VPN Gateway Attachment

Scenarios

This section describes how to delete a VPN gateway attachment from an enterprise router.

Notes and Constraints

  • Deleting a VPC attachment will also delete its associations, propagations, and propagated routes in the route table.

  • If flow logging is enabled for a VPC attachment, flow logging will be disabled, but collected flow logs will not be deleted.

Procedure

  1. Log in to the management console.

  2. Click image1 in the upper left corner and select the desired region and project.

  3. Click Service List and choose Networking > Enterprise Router.

    The Enterprise Router page is displayed.

  4. Search for the target enterprise router by name.

    **Figure 1** Searching for an enterprise router

    Figure 1 Searching for an enterprise router

  5. Go to the Attachments tab using either of the following methods:

    • In the upper right corner of the enterprise router, click Manage Attachment.

    • Click the enterprise router name and click Attachments.

    Important

    A VPN gateway attachment cannot be directly deleted on the Attachments tab.

    A VPN gateway attachment will be automatically deleted after you perform the following operations to delete its VPN connections, unbind the EIP from the VPN gateway, and delete the VPN gateway.

  6. Locate the target VPN gateway attachment and click the attached resource.

    Example: vpngw-demo

    The VPN gateway attachment details page is displayed.

  7. On the attachment details page, click image2 in the upper left corner.

    The VPN gateway list is displayed.

  8. In the VPN gateway list, locate the target VPN gateway, click More in the Operation column, and click Delete.

    A confirmation dialog box is displayed.

  9. Click Yes.

    A deleted VPN gateway cannot be recovered.