Disconnect networks

To remove a connection between a Google Virtual Private Cloud (VPC) network and a Dedicated Interconnect connection, 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. Also, 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 Physical connections tab.

    Go to Physical connections

  2. For the Dedicated Interconnect connection that you want to configure, click Configure.

  3. In the Router connections section, select the VLAN attachment to delete.

  4. Select the options button, and then click Delete.

  5. Click Delete to confirm that you want to delete this VLAN attachment.

gcloud

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

gcloud compute interconnects attachments delete NAME

What's next