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.

Permissions required for this task

To perform this task, you must have been granted the following permissions or the following Identity and Access Management (IAM) roles.

Permissions

  • compute.interconnectAttachments.delete

Roles

  • roles/owner
  • roles/editor
  • roles/compute.networkAdmin

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月24日 UTC.