Network Connectivity Center lets you use a third-party network virtual appliance to establish connectivity between an external site and your Virtual Private Cloud (VPC) network resources. To establish this type of connectivity, you use the Router appliance feature. Using Router appliance in this way is supported in all Google Cloud regions.
Router appliance
The Router appliance feature lets you install a network virtual appliance within Google Cloud and use it as the backing resource for a spoke.
To create a router appliance instance, you install a virtual appliance image on a Compute Engine virtual machine (VM) and complete additional setup steps. This setup includes establishing Border Gateway Protocol (BGP) peering between the VM and a Cloud Router. BGP enables the dynamic exchange of routes between the Cloud Router and the Router appliance instance. Route exchange lets you establish connectivity between your VPC network and other networks. We recommend using an image provided by a supported Network Connectivity Center partner. For more information about Router appliance, see the Router appliance overview.
Network Connectivity Center lets you use a hub-and-spoke architecture for network connectivity. For information about Network Connectivity Center, see the Network Connectivity Center overview. For more information about Router appliance, see the Router appliance overview.
Connect a site to a VPC network
In the following topology, a router appliance instance serves as the backing resource for a Network Connectivity Center spoke. The router appliance instance connects with a peer router in an on-premises network. The router appliance instance also peers with a Cloud Router. Routes from the on-premises network are dynamically exchanged with the VPC network.
Connect a site to two VPC networks
In the following topology, a router appliance instance has interfaces in two VPC networks. Each interface has been used to create a Router appliance spoke. In this case, routes from the on-premises network are propagated to each VPC network. Connectivity between the two VPC networks is determined by the features of the network virtual appliance.
For a detailed description of this topology and instructions about how to configure it, see Establish connectivity by using a third-party appliance.
Enable cross-region failover for multicloud deployments
The following topology shows automatic failover through router appliances across two regions by using dynamic routing. The router instance hosts a router appliance image. The Router appliance mediates connectivity between on-premises and multiple VPC networks for hybrid or multicloud scenarios.
In this topology, Router appliances are added to two Network Connectivity Center
hubs, hub 1
for route exchange with on-premises, and hub 2
for route
exchange with VPC spokes.
The numerical values in the diagram depict the following connections:
- On-premises data centers are connected to Google Cloud through the external
VPC network by using an Cloud Interconnect or
Cloud VPN associated with the Cloud Router in the local region. The hybrid connections are added to the Network Connectivity Center hub,
hub 1
as hybrid spokes. - The VMs that host the router appliance instances are added to the
Network Connectivity Center hub,
hub 1
, which is configured to use mesh topology usingnic0
as a Router appliance spoke. The VMs that host the router appliances are created in pairs across multiple regions for high-availability purposes. Each region is added as a single router appliance spoke to the Network Connectivity Center hub. - In each region, the router appliance instance establishes Border Gateway
Protocol (BGP) peering with the local
Cloud Router 1
orCloud Router 2
. Each Cloud Router receives and advertises route prefixes from the peered appliance. Because the Router appliance has to exchange data with the on-premises connections, site-to-site data transfer field must be enabled for all spokes in Network Connectivity Centerhub 1
. The dynamic routing mode for the external VPC network must be set to global. - To allow communication with spoke VPC networks, the VMs that
host the router appliance instances are connected to
Network Connectivity Center
hub 2
throughnic1
as a Router appliance spoke in the center group. - In each region, the router appliance instance establishes BGP peering with
the local
Cloud Router 3
orCloud Router 4
. Each Cloud Router receives and advertises route prefixes from the peered appliance. To enable cross-region failover for appliances in case of region failures, the dynamic routing mode for the internal VPC network must be set to global. VPC spokes A, B, and C are all connected to the Network Connectivity Center
hub 2
in star topology through VPC spokes in an edge group to prevent direct communication between VPCs.For supported locations, see Locations supported for data transfer. For detailed information about connectivity topologies, see Preset connectivity topologies.
What's next
- To create hubs and spokes, see Work with hubs and spokes.
- To view a list of partners whose solutions are integrated with Network Connectivity Center, see Network Connectivity Center partners.
- To find solutions for Router appliance issues, see Troubleshooting.
- To get details about API and
gcloud
commands, see APIs and reference.