List all the Cloud Routers in your project or delete the ones that you don't use.
To list all the Cloud Routers in a project, complete the following steps:
Go to the Cloud Router page in the Google Cloud Console.
Cloud Router list
gcloud compute --project [PROJECT_ID] routers list
NAME REGION NETWORK my-router asia-east1 my-network
To restrict the list to only one region, specify
Before you can delete a router, check that it's not being used by another resource, such as a Cloud VPN tunnel or an interconnect attachment (VLAN). You must delete the associated resource before you can delete the router.
You're not required to remove BGP sessions before deleting the router.
- Go to the Cloud Router list.
- Select the checkbox next to the Cloud Router that you want to delete.
- Click Delete.
gcloud compute --project [PROJECT_ID] routers delete my-router \ --region asia-east1