Help Center> Virtual Private Network> User Guide> Managing VPN Gateways> Deleting a Pay-per-Use VPN Gateway

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, they have to be deleted before you can delete the gateway.

If you create a pay-per-use VPN gateway, a VPN connection will be created together with the gateway. If you delete all the 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. Click Service List in the upper left corner. Under Networking, select Virtual Private Network.
  4. In the navigation pane on the left, choose Virtual Private Network > VPN Gateways.
  5. On the VPN Gateways page, locate the row that contains the target VPN gateway and click Delete in the Operation column.
  6. Click Yes in the displayed dialog box.