Updated on 2023-10-20 GMT+08:00

Deleting a Pay-per-Use VPN Gateway

Scenarios

You can delete a pay-per-use VPN gateway that is no longer required.

Restrictions and Limitations

  • A VPN gateway that is being created, updated, or deleted cannot be deleted.
  • If a VPN gateway has VPN connections configured, you need to delete all the VPN connections before deleting the VPN gateway.

    For details about how to delete a VPN connection, see Deleting a VPN Connection.

  • If a VPN gateway is bound to an EIP billed in yearly/monthly mode, the EIP will be unbound from the VPN gateway when the VPN gateway is deleted. After the EIP is unbound, it is retained. If the EIP is no longer used, you can release it after deleting the gateway.
  • If a VPN gateway is bound to an EIP billed in pay-per-use mode, the EIP will be released when the VPN gateway is deleted.

    To retain such a pay-per-use EIP, unbind it before deleting the VPN gateway. For details about how to unbind an EIP, see Unbinding an EIP from a VPN Gateway.

  • If a VPN gateway is bound to an EIP that shares bandwidth with other EIPs, the EIP will be released and the shared bandwidth will be reserved when the VPN gateway is deleted.

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 > Enterprise – VPN Gateways.
  4. On the VPN Gateways page, locate the row that contains the target VPN gateway, and choose More > Delete in the Operation column.
  5. In the displayed dialog box, click Yes.