Delete VLAN attachments

To remove a connection between a Google Virtual Private Cloud (VPC) network and a Dedicated Interconnect connection, you delete the related VLAN attachment (also known as an interconnectAttachment). After you delete the attachment, no traffic can travel between the VPC network and your on-premises network through the connection, and BGP sessions that use the attachment go down.

Billing for the VLAN attachment stops when you delete it; however, you're still billed for the Dedicated Interconnect connection, even if no traffic is passing through it.

Console

  1. In the Google Cloud console, go to the Cloud Interconnect VLAN attachments tab.

    Go to VLAN attachments

  2. Select the VLAN attachment to delete.

  3. On the VLAN attachment details page, click Delete.

  4. Click Delete to confirm.

gcloud

Delete attachments by providing the name of the attachment to delete:

gcloud compute interconnects attachments delete NAME

What's next