Deleting a Connection
You can delete a specified connection between your network and a DirectLink location if you no longer need it. This action removes the configuration of DirectLink router and the connection does not forward traffic anymore. However, the physical connection is not deleted.
Deleting a Connection Using Cockpit v1
Before you begin: Delete any private virtual interface associated with the connection you want to delete. |
-
Click Network/Security > Direct Link.
-
Click the connection you want to delete.
Multiselection is available.
The DirectLink connection is selected.
-
Click Delete .
The DELETE CONNECTION(S) dialog box appears. -
Click Delete to validate.
The connection is deleted and no long appears on the Direct Link page.Deleted resources remain visible for 1 hour.
Deleting a Connection Using OSC CLI
Before you begin: Delete any DirectLink interface associated with the connection you want to delete. |
See the DeleteDirectLink command sample in the documentation of the OUTSCALE API. |
Deleting a Connection Using AWS CLI
Before you begin: Delete any private virtual interface associated with the connection you want to delete. |
To delete a connection, use the delete-connection command following this syntax:
$ aws directconnect delete-connection \
--profile YOUR_PROFILE \
--connection-id dxcon-12345678 \
--endpoint https://directlink.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. -
connection-id
: The ID of the connection you want to delete. -
endpoint
: The endpoint corresponding to the Region you want to send the request to.
The delete-connection command returns the following elements:
-
ownerAccount
: The account ID of the owner of the connection. -
connectionID
: The ID of the connection. -
connectionState
: The updated state of the connection. For more information, see About DirectLink > DirectLink Physical Connections. -
bandwidth
: The bandwidth for the connection. -
location
: The location where the connection is. -
connectionName
: The name of the connection. -
region
: The Region where the connection is.
{
"ownerAccount": "123456789000",
"connectionId": "dxcon-12345678",
"connectionState": "deleted",
"bandwidth": "1Gbps",
"location": "PAR1",
"connectionName": "Connection to Outscale",
"region": "eu-west-2"
}
The 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.