Updated on 2025-11-13 GMT+08:00

Deleting a VPN Gateway

Scenario

You can delete a VPN gateway if it is no longer required.

Limitations and Constraints

  • The delete operation is not supported for a VPN gateway that is being created, updated, or deleted.
  • Deleting a VPN gateway will interrupt its VPN connections immediately.

    Pay-per-use EIPs bound to a VPN gateway will be automatically released.

  • When you delete a VPN gateway, the automatically generated server certificate is also deleted.

Procedure

  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 Network.
  4. In the navigation pane on the left, choose Virtual Private Network > Enterprise – VPN Gateways.
  5. Click the P2C VPN Gateways tab. In the P2C VPN gateway list, locate the target P2C VPN gateway, and choose More > Delete in the Operation column.
  6. Click Auto Enter and then OK.