Updated on 2024-07-22 GMT+08:00

Deleting a Pay-per-Use VPN Gateway

Scenarios

If a VPN gateway is no longer required, you can delete it to release network resources as long as it has no VPN connections configured.

If it has any connections configured, delete the connections first.

If you create a pay-per-use VPN gateway, a VPN connection will be created together with the gateway. If you delete all VPN connections created for a pay-per-use VPN gateway, the VPN gateway will be automatically deleted. For details, see Deleting a VPN Connection.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. In the navigation pane on the left, choose Virtual Private Network > Classic – VPN Gateways.

    If Enterprise Edition VPN is available for the selected region, choose Virtual Private Network > Classic.

  4. Locate the row that contains the target VPN gateway, and choose More > Delete in the Operation column.

    If Enterprise Edition VPN is available for the selected region, locate the row that contains the target VPN gateway, and choose More > Delete.

  5. In the displayed dialog box, click Yes.