A hub-and-spoke network connects many separate networks through one central network, called the hub.
This guide is for anyone who hears "hub and spoke" in cloud or network meetings and wants a plain answer. You do not need networking knowledge. It explains why traffic is sent through the middle and why that helps security.
In short
- In a hub-and-spoke design, each spoke network connects to the hub, not straight to every other spoke.
- The hub holds shared services, such as the firewall and the link to the office or data centre.
- Sending traffic through the hub gives one place to inspect, log and control it.
- The hub becomes very important, so it needs careful protection and a plan for failure.
What you will learn
- Explain what the hub and the spokes are.
- Describe why spokes do not talk to each other by default.
- Explain why a central inspection point helps security.
- Name the trade-offs: the hub's importance, cost and extra delay.
- Central network (hub)
- the network in the middle that holds shared services.
- Branch networks (spokes)
- separate networks for different teams, apps or environments.
- Checkpoint (firewall)
- a control that allows or blocks traffic based on rules.
What is a hub-and-spoke network?
Think of a bicycle wheel. Every spoke joins the centre. To get from one spoke to another, you pass through the middle.
A hub-and-spoke network works the same way. A central hub network connects to several spoke networks [1]. Each spoke usually holds one workload or environment, such as production or testing. Microsoft says spokes isolate and manage workloads separately [1].
The hub holds things every spoke needs. In Microsoft's design that includes a firewall, the gateway to on-premises networks and remote access for administrators [1].
Where the comparison stops working: on a wheel, the hub is just metal. On a network, the hub can look at traffic and decide whether to let it through.
It is a common design in the cloud. Microsoft calls it the topology its Cloud Adoption Framework recommends [1]. AWS describes Transit Gateway as a network transit hub that connects virtual private clouds and on-premises networks [2].
Why does it matter?
Where traffic flows decides where you can see it and stop it. A hub gives you one main place to do both.
If you manage a cloud account
What could happen: each team connects its network straight to the internet, and nobody checks the traffic.
Check this: whether outbound internet traffic from your networks goes through a central firewall.
If you run a growing business
What could happen: every new office or app gets its own links to all the others, and the network becomes a tangle.
Check this: ask your IT team to draw how your sites and cloud networks connect.
If you are new to security work
What could happen: a problem in one spoke spreads to others because spoke-to-spoke traffic is allowed freely.
Check this: which spokes can reach each other, and whether that traffic goes through the hub firewall.
Next: Firewalls for Beginners
What does it look like?
Here is a made-up summary of a small hub-and-spoke layout.
Example only. All values are made up.
Network plan: EXAMPLE-company Hub: EXAMPLE-hub firewall, VPN gateway, admin access (1) Spoke 1: EXAMPLE-shop-prod linked to hub only (2) Spoke 2: EXAMPLE-shop-test linked to hub only Route: all spoke internet traffic -> hub firewall (3) Spoke to spoke: blocked unless a rule allows it (4)
- The shared services in the middle. In a real file, this line would contain the hub's name, region and services.
- Each spoke links to the hub, not to the other spokes.
- A route sends outbound traffic to the hub firewall for checking.
- Spokes cannot reach each other unless someone adds a link or a rule.
Why this is risky: if a quick direct link is added between spokes, traffic skips the hub and its checks.
The safer way: record every spoke-to-spoke link, and keep sensitive traffic going through the hub firewall.
How does it work?
- Build the hub. Put shared services in one central network. These include the firewall, the link to the office and remote admin access [1].
- Add spokes. Give each workload or environment its own spoke network [1].
- Link each spoke to the hub. In Azure this is done with peering. Peering is not transitive, so spokes cannot reach each other through the hub by default [1].
- Send traffic to the firewall. Routes force spoke traffic to the hub firewall. Microsoft says a core purpose of the design is to direct outbound internet traffic through the hub's controls [1].
- Watch and log in one place. Logs from the hub firewall and gateways show what crosses between networks [1].

There are trade-offs. Sending spoke-to-spoke traffic through the firewall adds an extra hop. Direct links between spokes cut delay, and Microsoft suggests limiting them to spokes in the same environment and workload [1].
The hub is also a shared point of failure. Microsoft recommends at least one hub per region, with only same-region spokes linked to it. That limits the impact if one hub fails [1].
A worked example
This story is made up to show the idea.
Petra Grover leads a small online shop. Over two years her team built five cloud networks: live shop, testing, payments, reporting and staff tools. Each one had its own route to the internet and its own links to the others.
A security consultant, Bodhi Bergmann, reviews the setup. He finds that the testing network can reach the payments network directly. Nobody can say which traffic leaves for the internet, because there is no central log.
Bodhi suggests a hub-and-spoke design. The team builds a hub with a firewall, the office VPN gateway and admin access. Each of the five networks becomes a spoke linked only to the hub.
All outbound internet traffic now goes through the hub firewall. The direct link from testing to payments is removed. Reporting still needs data from the live shop, so that traffic goes through the firewall with a rule allowing only what it needs.
A month later the firewall logs show one spoke sending traffic to an unknown site. The team traces it to an old test script and removes it. Before the change they would not have seen it.
Petra learned that the hub gives one place to see and control traffic. She also added a second firewall instance so the hub is not a single weak point.
Myths and mistakes
| What people think | What is true |
|---|---|
| Spokes can always talk to each other through the hub. | In Azure, peering is not transitive. Spokes need a direct link or a route through a firewall to reach each other [1]. |
| Hub-and-spoke is only about saving money. | Cost is one benefit. Workload isolation and central control of security are others [1]. |
| One hub is enough for the whole world. | Microsoft recommends one hub per region to limit the impact of a regional failure [1]. |
| Once traffic is in the hub, it is safe. | The hub only helps if its firewall rules are set well and its logs are reviewed. |
| Direct spoke-to-spoke links are always wrong. | They cut delay. Keep them for spokes in the same environment and workload, and record them [1]. |
What can I do this week?
- Ask your IT or cloud team for a simple diagram of how your networks connect.
- Find out whether outbound internet traffic goes through one central firewall.
- List any direct links between networks that skip the central point.
- Check who can change the hub's firewall rules and routes.
- Read Network Segmentation for Beginners to see how splitting networks contains trouble.
Checklist
- I can explain the hub and the spokes.
- I know spokes do not reach each other by default.
- I know why a central firewall helps security.
- Outbound internet traffic in my area goes through a central control.
- Direct spoke-to-spoke links are recorded and justified.
- The hub has a plan for failure.
- Hub firewall logs are kept and reviewed.
Common questions
What is the hub in hub-and-spoke?
The hub is the central network that every spoke links to. It holds the things all spokes share. These include the firewall, the link to the office and remote access for admins [1].
Is hub-and-spoke only used in the cloud?
No. Linking branches through a central point is an old idea used in many networks. This guide uses cloud examples because AWS and Microsoft document the pattern clearly [2][1].
Does traffic through the hub make things slower?
It can add an extra step on the way. Microsoft notes that direct links between spokes cut delay. It suggests keeping those links for spokes in the same environment and workload. Everything else can still go through the hub [1].
What happens if the hub fails?
Spokes may lose shared services, such as the firewall or the office link. Microsoft suggests one hub per region, linked only to spokes in that region. It also suggests using availability zones where they exist [1].
Who should be allowed to change the hub?
Very few people and automation accounts. The hub's routes and firewall rules control traffic for every spoke. So the people, scripts and pipelines that can change them need tight permissions that are checked often.
Where next?
Ready for the detail? Read the practitioner guide: Azure Virtual Network Security Guide. It goes further into peering, routing, firewalls and logging for cloud networks.
Also useful:
- Cloud Networking for Beginners
- Network Segmentation for Beginners
- Firewalls for Beginners
- Cloud Landing Zones for Beginners
Related NHI Mgmt Group resources: AWS Transit Gateway Security Guide, Azure Landing Zones Security Guide and Egress Filtering for Beginners.
Key terms
- Hub-and-spoke model
- A network design where separate networks (spokes) connect through one central network (the hub).
- Firewall
- A control that allows or blocks network traffic based on rules.
- Network segmentation
- Splitting a network into separate zones so trouble in one zone is harder to spread.
- VPN
- An encrypted link between networks or between a device and a network.
- Peering
- A direct link between two cloud networks so they can exchange traffic.
Sources and further reading
- Microsoft, "Hub-spoke network topology in Azure", Azure Architecture Center, Microsoft Learn, last updated April 2026. https://learn.microsoft.com/en-us/azure/architecture/networking/architecture/hub-spoke (accessed 30 Nov 2026).
- Amazon Web Services, "What is AWS Transit Gateway for Amazon VPC?", Amazon VPC documentation. https://docs.aws.amazon.com/vpc/latest/tgw/what-is-transit-gateway.html (accessed 30 Nov 2026).