Connect VPC networks by using VPC spokes
This page describes how to connect VPC networks by using VPC spokes that are attached to the same Network Connectivity Center (NCC) hub.
For more information about Network Connectivity Center (NCC) hubs and spokes, including instructions for managing VPC spokes by using the gcloud CLI or the API, see the NCC documentation.
Before you begin
Ensure that you have the required roles and permissions to work with NCC spokes. For more information, see Roles and permissions.
Create a VPC spoke
This section describes how to add a VPC spoke to an NCC hub. To connect multiple VPC networks to each other, add each network to the same hub as a VPC spoke.
In the Cloud de Confiance console, go to the VPC connectivity page.
Click Connect VPC networks.
In the Select hub section, choose one of the following options:
- Select Create a new hub, and enter a name for the hub.
- Select Use an existing hub in project
PROJECT_NAMEand select a hub from the list. - Select Use an existing hub in another project and enter the Project ID, then enter the name of the hub. When a VPC network and the NCC hub are located in different projects, the hub administrator must approve the spoke before it can become active. See Spoke administration overview.
Click Next step.
In the New spoke section, enter a Spoke name and an optional Description.
- Select the Associated VPC network from the list.
- Optional: Configure VPC spoke filters to include or exclude specific IP address ranges from being exported to the hub. For more information about spoke filters, see Spoke filters overview.
- When you are finished entering the details of the spoke, click Done.
To add another spoke, click Add a spoke and complete the form.
When you are finished adding spokes, click Create.
View VPC spokes
In the Cloud de Confiance console, go to the VPC connectivity page.
The VPC spokes table displays information for each spoke, including VPC spokes and producer VPC spokes. To view a list that includes other spoke types, see List spokes in the NCC documentation.
What's next
- For more information about NCC, see the NCC overview.
- For more information about using hubs and spokes, see Work with hubs and spokes.