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:
- Access the Amazon VPC console.
- Select the AWS Region for your VPN endpoint.
- In the navigation pane, choose Client VPN Endpoints.
- Select the Client VPN endpoint with which the target network is associated, and then choose Associations.
- 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:
- Access the Amazon VPC console.
- Select the AWS Region for your VPN endpoint.
- In the navigation pane, choose Client VPN Endpoints.
- Select the Client VPN endpoint to delete, choose Actions.
- 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:
- Access the Amazon VPC console.
- Select the AWS Region for your VPN endpoint.
- In the navigation pane, choose Client VPN Endpoints.
- Select the Client VPN endpoint that the client is connected to. Then, choose Connections.
- Select the connection to terminate, and then choose Terminate Connection.
- 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.