Updated on 2024-12-04 GMT+08:00

Deleting a Pay-per-Use VPN Gateway

Scenario

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

Notes and Constraints

  • The delete operation is not supported for a VPN gateway that is being created, updated, or deleted.
  • 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. Click in the upper left corner of the page, and choose Networking > Virtual Private Network.
  4. In the navigation pane on the left, choose Virtual Private Network > Enterprise – VPN Gateways.
  5. Click the S2C VPN Gateways tab.
  6. Locate the row that contains the VPN gateway to be deleted, and choose More > Delete in the Operation column.
  7. In the displayed dialog box, click Yes.

    The impact of shared bandwidth freezing on EIPs is subject to the EIP documentation. For details, see Why My EIPs Are Frozen? How Do I Unfreeze My EIPs?.