Deleting a VPN Connection

You can delete a VPN connection between your corporate network and one of your Virtual Private Clouds (VPCs) in the OUTSCALE Cloud.

This action deletes the secure VPN tunnel between the customer gateway and the virtual private gateway.

Deleting a VPN Connection Using Cockpit v1

  1. Click VPC > VPN Connections.

  2. Select the VPN connection you want to delete.
    The VPN connection is selected.

  3. Click Delete .
    A confirmation dialog box appears.

  4. Click Delete to validate.
    The VPN connection is deleted and disappears from the VPN Connections page.

    Deleted resources remain visible for 1 hour.

Deleting a VPN Connection Using Cockpit v2-beta

  1. Click inside the VPN Connections dashboard to make checkboxes appear.

  2. Check the box of the VPN Connection you want to delete.
    The VPN Connection is selected and an action menu appears.

    Multiselection is available.

  3. Click IconTerminate Delete.
    A confirmation dialog box appears.

  4. Click Delete.
    The VPN Connection is deleted.

    Deleted resources remain visible for 1 hour.

Deleting a VPN Connection Using OSC CLI

See the DeleteVpnConnection command sample in the documentation of the OUTSCALE API.

Deleting a VPN Connection Using AWS CLI

To delete a VPN connection, use the delete-vpn-connection command following this syntax:

Request sample
$ aws ec2 delete-vpn-connection \
    --profile YOUR_PROFILE \
    --vpn-connection-id vpn-c750ea06 \
    --endpoint https://fcu.eu-west-2.outscale.com

This command contains the following attributes that you need to specify:

  • (optional) profile: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI.

  • vpn-connection-id: The ID of the VPN connection you want to delete.

  • endpoint: The endpoint corresponding to the Region you want to send the request to.

The specified VPN connection is deleted.

Deleted resources remain visible for 1 hour.

Related Pages

Corresponding API Methods

AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.