
Before you begin
- Labs create a Google Cloud project and resources for a fixed time
- Labs have a time limit and no pause feature. If you end the lab, you'll have to restart from the beginning.
- On the top left of your screen, click Start lab to begin
Create a Hub and Spokes
/ 100
Network Connectivity Center lets you use Google's network as part of a wide area network (WAN) that includes your external sites. This feature is known as site-to-site data transfer.
To enable this functionality, you use a supported resource to connect each site to Google Cloud. With Network Connectivity Center you create spokes to represent each connectivity resource. Each spoke is attached to a central hub, which provides full mesh connectivity between all of the spokes.
In this lab you will learn how to use the Network Connectivity Center (NCC) to build a hub and Cloud VPN spokes to set up data transfer between two branch offices.
In this lab, you learn how to perform the following tasks:
Read these instructions. Labs are timed and you cannot pause them. The timer, which starts when you click Start Lab, shows how long Google Cloud resources are made available to you.
This hands-on lab lets you do the lab activities in a real cloud environment, not in a simulation or demo environment. It does so by giving you new, temporary credentials you use to sign in and access Google Cloud for the duration of the lab.
To complete this lab, you need:
Click the Start Lab button. If you need to pay for the lab, a dialog opens for you to select your payment method. On the left is the Lab Details pane with the following:
Click Open Google Cloud console (or right-click and select Open Link in Incognito Window if you are running the Chrome browser).
The lab spins up resources, and then opens another tab that shows the Sign in page.
Tip: Arrange the tabs in separate windows, side-by-side.
If necessary, copy the Username below and paste it into the Sign in dialog.
You can also find the Username in the Lab Details pane.
Click Next.
Copy the Password below and paste it into the Welcome dialog.
You can also find the Password in the Lab Details pane.
Click Next.
Click through the subsequent pages:
After a few moments, the Google Cloud console opens in this tab.
Before you can perform any tasks using Network Connectivity Center, you must enable the Network Connectivity API.
In the Cloud console search bar, search for "Network Connectivity", then click on the Network Connectivity result.
Go to Network Connectivity Center
Click Enable.
Google Cloud resources including a Virtual Private Cloud (VPC) networks, 2 virtual machines, set of firewall rules, HA-VPN connectivity including the gateways and routers have already been created for you.
To set up data transfer connectivity, you'll use NCC to build a hub and spokes to allow data to be transferred from one site to another through Google Cloud.
Now you'll create spokes for each office, connected to the Hub. Use two HA VPN tunnels as the spoke's underlying resources. Each tunnel should originate from a HA VPN gateway in the region closest to the office.
Create a spoke for Office1
. Use two HA VPN tunnels as the spoke's underlying resources. Each tunnel should originate from an HA VPN gateway in the region closest to the office.
Create a spoke for Office2
. Use two HA VPN tunnels as the spoke's underlying resources. Each tunnel should originate from a HA VPN gateway in the region
closest to the office.
Click Check my progress to verify the objective.
After configuring the hub and its spokes, you should be able to pass traffic from the virtual machine (VM) instance in one office to the VM instance in the other office. To do this, each VM must have access to the VPN tunnel in its region.
In a production environment, you need to delete resources you're not using to avoid getting charged. Here are the easy steps to remove the spokes and hub:
You have learned how to use the Network Connectivity Center to build a hub and spokes for existing Google Cloud resources and verified that data can transfer through NCC to different sites in your network.
...helps you make the most of Google Cloud technologies. Our classes include technical skills and best practices to help you get up to speed quickly and continue your learning journey. We offer fundamental to advanced level training, with on-demand, live, and virtual options to suit your busy schedule. Certifications help you validate and prove your skill and expertise in Google Cloud technologies.
Manual Last Updated: June 09, 2025
Lab Last Tested: June 09, 2025
Copyright 2025 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other company and product names may be trademarks of the respective companies with which they are associated.
This content is not currently available
We will notify you via email when it becomes available
Great!
We will contact you via email if it becomes available
One lab at a time
Confirm to end all existing labs and start this one