Chương 2: Kiến Trúc Mạng Vật Lý GCP — Jupiter Fabric & Andromeda
Tại sao chương này quan trọng
GCP networking khác hoàn toàn so với on-prem và các cloud provider khác. Kiến trúc mạng của Google dựa trên hai thành phần chính: Jupiter Fabric (cơ sở hạ tầng vật lý) và Andromeda (software-defined networking stack). Hiểu sâu cách hoạt động của chúng không chỉ giải thích lại các con số latency, failover behavior, bandwidth allocation mà còn cho phép bạn:
- Dự báo chính xác performance: Tối ưu hóa application design dựa trên hiểu biết thực sự về packet path, không phải guessing
- Thiết kế multi-region architecture mà không gặp surprise về latency hoặc throughput
- Troubleshoot production incidents khi mạng không hoạt động như kỳ vọng
- Tối ưu chi phí networking bằng cách chọn đúng Network Service Tier cho từng use case
Điều kiện tiên quyết
- TCP/IP fundamentals: OSI model, packet structure, routing basics
- BGP cơ bản: AS path, metric, route advertisement
- Hiểu biết về data center architecture (spine-leaf topology là lợi thế)
- Quen thuộc với khái niệm SDN (Software-Defined Networking)
Lộ trình học tập
Tầng 1: Cơ sở vật lý (Physical Infrastructure)
- Andromeda: GCP Software-Defined Networking Stack — Hiểu cách Google xây dựng mạng ảo trên top of physical infrastructure
- Jupiter Fabric: Spine-Leaf Topology & Oversubscription — Kiến trúc vật lý của các data center Google
- GCP Edge Network & Point of Presence (PoP) — Cách traffic từ internet vào GCP network
Tầng 2: Global Routing & Backbone
- GCP Global Backbone: Premium vs Standard Tier — Sự khác biệt cơ bản giữa Premium Tier (high-performance) vs Standard Tier (cost-optimized)
- Latency SLA & Fiber Path Engineering — Cách Google đảm bảo SLA, fiber routing strategy
- Anycast Routing with Global Load Balancer — Cơ chế geo-routing, traffic steering
Tầng 3: Traffic Engineering
- Cold Potato vs Hot Potato Routing — Trade-offs trong traffic routing decisions
- Network Service Tiers: Datapath Differences — Chi tiết technical về cách mỗi tier xử lý traffic
Tầng 4: Operational Considerations
- Bandwidth Allocation & Per-Zone Caps — Cách GCP phân bổ bandwidth, pricing model architecture
- Regional vs Global Services & Data Sovereignty — Implications của geography trên architecture decisions
- Traffic Engineering at Scale — Production patterns, capacity planning, failure scenarios
Mục tiêu học tập
Sau khi hoàn thành chương này, bạn sẽ có thể:
✅ Giải thích cách packet di chuyển từ internet user đến GCP resource, dựa vào physical infrastructure
✅ Thiết kế multi-region deployment mà hiểu rõ latency characteristics của từng region pair
✅ Chọn đúng Network Service Tier cho use case của mình (performance vs cost)
✅ Troubleshoot network performance issues bằng cách trace through Jupiter/Andromeda architecture
✅ Tối ưu traffic engineering decisions: egress points, failover paths, traffic steering
✅ Hiểu được sự khác biệt giữa GCP vs AWS vs Azure networking từ infrastructure perspective
Key Concepts Map
Internet User
↓
[GCP PoP/Edge - Anycast Routing]
↓
[GCP Global Backbone / Premium vs Standard Tier]
↓
[Regional Entry Point]
↓
[Jupiter Datacenter Fabric]
↓
[Andromeda SDN - VPC Implementation]
↓
Your Application (VM, GKE Pod, Load Balancer)Mỗi layer này có trade-offs riêng:
- Performance vs Cost: Premium Tier vs Standard Tier
- Latency vs Throughput: Fiber routing path vs egress point selection
- Availability vs Complexity: Multi-PoP routing vs single-path failover
- Security vs Performance: Inspectionrules vs wire speed forwarding
References
- Andromeda: Google Cloud's Software-Defined Networking (USENIX NSDI '18)
- GCP VPC Networks Documentation
- Network Service Tiers Overview
- Network Intelligence Center
- Google Cloud Network Performance Metrics
Cấu trúc tài liệu
chapter-02-gcp-physical-network-architecture/
├── index.md (file này - overview)
├── 01.andromeda-sdn.md
├── 02.jupiter-fabric-spine-leaf.md
├── 03.gcp-edge-network-pop.md
├── 04.gcp-global-backbone.md
├── 05.latency-sla-fiber-engineering.md
├── 06.anycast-routing.md
├── 07.traffic-routing-strategies.md
├── 08.network-service-tiers.md
├── 09.bandwidth-allocation.md
├── 10.regional-vs-global-services.md
└── 11.traffic-engineering.mdHãy bắt đầu với Andromeda: GCP Software-Defined Networking Stack