Delete an Amazon Direct Connect connection
You can delete a connection as long as there are no virtual interfaces attached to it. Deleting your connection stops all port hour charges for this connection, but you may still incur cross-connect or network circuit charges (see below). Amazon Direct Connectdata transfer charges are associated with virtual interfaces. For more information about how to delete a virtual interface, see Delete a virtual interface.
Before deleting a connection, download the LOA for the connection containing the cross-account information so you have the relevant information about the circuits being disconnected. For the steps to download the connection LOA, see Letter of Authorization and Connecting Facility Assignment (LOA-CFA).
When you delete a connection, Amazon will instruct the colocation provider to disconnect your network device from the Direct Connect router by removing the fiber-optic cross-connect cable from the applicable Amazon patch panel. However, your colocation or circuit provider may still charge you cross-connect or network circuit charges because the cross-connect cable may still be connected to your network device. These charges for the cross-connect are independent of Direct Connect, and must be cancelled with the colocation or circuit provider using information from the LOA.
If the connection is part of a link aggregation group (LAG), you cannot delete the connection if doing so causes the LAG to fall below its setting for the minimum number of operational connections.
You can delete a connection using either the Amazon Direct Connect console or using the command line or API.
To delete a connection
Open the Amazon Direct Connect console at https://console.amazonaws.cn/directconnect/v2/home
. -
In the navigation pane, choose Connections.
-
Select the connections and choose Delete.
-
In the Delete confirmation dialog box, choose Delete.
To delete a connection using the command line or API
-
delete-connection (Amazon CLI)
-
DeleteConnection (Amazon Direct Connect API)