How do I delete or terminate a Client VPN endpoint or connection on AWS Client VPN?

Last updated: 2022-10-05

I want to delete or terminate a Client VPN endpoint or connection on AWS Client VPN using the console.

Resolution

Delete a VPN endpoint

You must disassociate all associated target networks before you can delete a Client VPN endpoint.

To disassociate all associated target networks, do the following:

  1. Access the Amazon VPC console.
  2. Select the AWS Region for your VPN endpoint.
  3. In the navigation pane, choose Client VPN Endpoints.
  4. Select the Client VPN endpoint with which the target network is associated, and then choose Associations.
  5. Select the target network to disassociate, and then choose Disassociate. Then choose Yes, Disassociate.

To disassociate all associated target networks using AWS CLI, see disassociate-client-vpn-target-network.

To delete a Client VPN endpoint, do the following:

  1. Access the Amazon VPC console.
  2. Select the AWS Region for your VPN endpoint.
  3. In the navigation pane, choose Client VPN Endpoints.
  4. Select the Client VPN endpoint to delete, choose Actions.
  5. Choose Delete Client VPN Endpoint, and then choose Yes, Delete.

To delete a Client VPN endpoint using AWS CLI, see delete-client-vpn-endpoint.

Terminate a Client VPN endpoint connection

To terminate a Client VPN endpoint connection, do the following:

  1. Access the Amazon VPC console.
  2. Select the AWS Region for your VPN endpoint.
  3. In the navigation pane, choose Client VPN Endpoints.
  4. Select the Client VPN endpoint that the client is connected to. Then, choose Connections.
  5. Select the connection to terminate, and then choose Terminate Connection.
  6. When prompted, choose Terminate Connection.

After termination, the VPN session ends.

To terminate Client VPN endpoint connections using AWS CLI, see terminate-client-vpn-connections.


Did this article help?


Do you need billing or technical support?