Files
nexus/wiki/concepts/Hub-and-Spoke.md
2026-04-29 00:02:51 +08:00

53 lines
2.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Hub-and-Spoke Network Topology"
type: concept
tags: [AWS, Networking, Topology, Transit Gateway]
sources: [ctp-topic-18-wide-area-networking-in-aws-cloud]
last_updated: 2026-05-07
---
## Hub-and-Spoke
Hub-and-Spoke 是一种星型网络拓扑结构其中所有分支Spoke连接到中心节点Hub分支间的通信通常经过 Hub 中转。
## Definition
- **Hub中心节点**: 负责汇聚所有 Spoke 的流量,执行路由决策和安全策略
- **Spoke分支节点**: 各自独立的 VPC 或 Landing Zone通过 Hub 接入全局网络
- **通信模式**: Spoke-to-Spoke 通信必须经过 Hub 转发,而非直接互联
## In AWS Transit Gateway Architecture
在 [[ctp-topic-18-wide-area-networking-in-aws-cloud]] 描述的架构中:
- **Hub**: 每个地理区域APJ、EMEA、AMS的区域级 Transit Gateway如 EMEA 的伦敦 Hub、AMS 的俄勒冈 Hub
- **Spoke**: 各个 Landing Zones通过 TGW Peering 接入区域 Hub
- **Inter-Hub**: 区域 Hub 之间通过 Full Mesh全网状连接确保全球流量的可达性
## Key Properties
| 属性 | 值 |
|------|-----|
| 架构类型 | 星型拓扑 |
| 扩展性 | 高——新增 Spoke 仅需连接到 Hub |
| 复杂度 | 低——集中管理路由策略 |
| 缺点 | Hub 可能成为瓶颈或单点故障 |
| 适用场景 | 多账号 VPC 互联、全球 Landing Zone 网络 |
## Relationship to Transit Gateway
AWS Transit Gateway 是实现 Hub-and-Spoke 架构的核心服务:
- [[AWS-Transit-Gateway-TGW]] 提供区域级 Hub 功能
- [[TGW-Peering]] 用于 Hub 之间的跨区域互联
- [[Hub-and-Spoke]] 与 Full Mesh 组合使用Spoke-to-Hub = Hub-and-Spoke, Hub-to-Hub = Full Mesh
## Connections
- [[AWS-Transit-Gateway-TGW]] ← 实现 ← [[Hub-and-Spoke]]
- [[TGW-Peering]] ← 跨 Hub 连接 ← [[Hub-and-Spoke]]
- [[ctp-topic-18-wide-area-networking-in-aws-cloud]] ← 案例 ← [[Hub-and-Spoke]]
## Sources
- [[ctp-topic-18-wide-area-networking-in-aws-cloud]]