Compute
AWS Wavelength
5G Edge Computing, ultra-low latency cho mobile apps
Tổng quan
AWS Wavelength là dịch vụ cho phép bạn chạy AWS compute và storage ngay tại edge của mạng 5G của các nhà mạng viễn thông. Mục tiêu: ultra-low latency cho mobile và connected devices.
Tại sao cần AWS Wavelength?
Vấn đề với Traditional Architecture
Key Insight
[!IMPORTANT] Wavelength đặt AWS compute NGAY TRONG mạng 5G của nhà mạng → Traffic không cần đi ra Internet → Ultra-low latency!
"Edge của mạng 5G" nghĩa là gì?
[!NOTE] Đây là câu hỏi quan trọng: "Edge" ở đây nghĩa là gì? Khác gì với đặt tại data center của mình?
Vị trí vật lý thực tế
So sánh 3 loại vị trí khác nhau
Tại sao Wavelength nhanh hơn cho 5G?
Tóm lại sự khác biệt chính
| Outposts | Wavelength | |
|---|---|---|
| Hardware đặt ở đâu? | 🏭 DC của CÔNG TY BẠN | 🏢 DC của NHÀ MẠNG |
| Ai sở hữu building? | Bạn sở hữu/thuê | Verizon/KDDI/Viettel sở hữu |
| Tối ưu cho ai? | Users/devices trong văn phòng bạn | Users dùng 5G mobile |
| Traffic đi như thế nào? | Qua network nội bộ công ty | Qua mạng 5G của nhà mạng |
Nói đơn giản:
- Outposts = AWS mang server đến văn phòng của bạn
- Wavelength = AWS mang server đến nhà của Verizon/nhà mạng
Use Cases
| Use Case | Mô tả | Yêu cầu Latency |
|---|---|---|
| Real-time Gaming | Mobile games multiplayer, cloud gaming | < 20ms |
| AR/VR Applications | Augmented/Virtual Reality experiences | < 20ms |
| Live Video Streaming | Interactive live streams, broadcasts | < 50ms |
| Autonomous Vehicles | Connected cars, real-time decisions | < 10ms |
| Smart Factories | Industrial IoT, robotics | < 10ms |
| Healthcare | Remote surgery, real-time diagnostics | < 10ms |
| ML Inference | Real-time AI at edge | < 20ms |
Ví dụ thực tế: Mobile Gaming
Wavelength Zone là gì?
Wavelength Zone = AWS infrastructure được đặt trong data center của nhà mạng viễn thông.
Carrier Partners
| Carrier | Regions | Coverage |
|---|---|---|
| Verizon | US | Multiple cities |
| Vodafone | Europe | UK, Germany |
| KDDI | Japan | Tokyo, Osaka |
| SK Telecom | South Korea | Seoul |
| Bell Canada | Canada | Toronto, etc. |
AWS Services trong Wavelength Zone
Services được hỗ trợ
| Service | Mô tả |
|---|---|
| EC2 | Compute instances (limited instance types) |
| EBS | Block storage |
| ECS | Container orchestration |
| EKS | Kubernetes |
| VPC | Subnets trong Wavelength Zone |
Services KHÔNG có trong Wavelength Zone
| Service | Giải pháp |
|---|---|
| S3 | Dùng S3 từ Parent Region |
| RDS | Dùng RDS từ Parent Region hoặc self-managed DB |
| Lambda | Dùng Lambda từ Parent Region |
| CloudFront | Không cần - Wavelength đã là edge! |
Network Architecture
Carrier Gateway
Key Networking Concepts
| Component | Chức năng |
|---|---|
| Wavelength Subnet | Subnet đặt trong Wavelength Zone |
| Carrier Gateway | Gateway để mobile devices truy cập (tương tự Internet Gateway) |
| Carrier IP | Public IP được cấp bởi carrier (không phải AWS) |
So sánh: Wavelength vs Outposts vs Local Zones
Decision Tree
Hands-on: Deploy App to Wavelength
Step 1: Enable Wavelength Zone
Step 2: Create VPC and Wavelength Subnet
Step 3: Create Carrier Gateway
Step 4: Launch EC2 in Wavelength Zone
Pricing
Chi phí bao gồm
| Component | Pricing |
|---|---|
| EC2 Instances | Theo on-demand hoặc reserved pricing |
| EBS Volumes | Standard EBS pricing |
| Data Transfer | Carrier network → Wavelength Zone: FREE |
| Wavelength Zone → AWS Region: Charges apply | |
| Wavelength Zone → Internet: Charges apply |
[!TIP] Data từ 5G devices đến Wavelength Zone là FREE! Đây là lợi thế lớn vì traffic không đi qua Internet.
Exam Tips (SAA-C03)
[!IMPORTANT] Điểm cần nhớ cho kỳ thi:
- Wavelength = 5G edge computing cho mobile apps
- Ultra-low latency vì traffic không rời mạng 5G
- Use cases: Gaming, AR/VR, Connected vehicles, Live streaming
- Carrier Gateway (không phải Internet Gateway) cho 5G traffic
- Limited services: Chỉ EC2, EBS, ECS, EKS (không có S3, RDS, Lambda)
Câu hỏi thường gặp trong exam
| Scenario | Answer |
|---|---|
| Mobile app cần ultra-low latency cho 5G users | AWS Wavelength |
| Real-time gaming cho mobile devices | AWS Wavelength |
| AR/VR app cần responsive experience | AWS Wavelength |
| Connected vehicles, autonomous driving | AWS Wavelength |
| Low latency cho on-premises users | AWS Outposts |
| Low latency cho city users (fixed location) | AWS Local Zones |