# AWS 與 CDN (On-Premise) 混合雲邊緣節點架構
# AWS Hybrid Cloud Edge Node Architecture with On-Premise CDN
Description:
應對突發大流量,建立混合雲調度機制,結合 AWS 公有雲資源與實體機房 CDN 架構。透過自動化腳本與 AMI 模板實現邊緣節點 (Edge Node)
的快速配置與動態擴展,縮短資源上線時間。
To handle burst traffic, I established a hybrid cloud orchestration mechanism integrating AWS public
cloud resources with on-premise CDN infrastructure. By leveraging automated scripts and AMI templates,
the system enables rapid provisioning and dynamic scaling of edge nodes.
Tech Stack:
Features:
Results:
Architecture Overview:
1. Create EC2 Flow
sequenceDiagram
participant User as Operator
participant Platform as FastAPI Backend
participant AWS as AWS (boto3)
participant EC2 as EC2 Instance
participant CDN as CDN Cluster
User->>Platform: Create Edge EC2 Request
Platform->>AWS: Launch from AMI/Template
Platform->>AWS: Create ENI & Assign BYOIP
AWS-->>Platform: EC2 Instance Created
EC2->>EC2: Systemd Bootstrap (IMDS)
EC2->>EC2: Configure Hostname
EC2->>CDN: Auto Register to Cluster
CDN-->>EC2: Registration Complete
2. Network Traffic Flow
sequenceDiagram
participant Client as Client
participant A10 as A10 Load Balancer
participant EC2 as AWS EC2 Edge
participant Origin as Origin Server
Client->>A10: Request (Specific IP Range)
A10->>EC2: Route to AWS Edge
EC2->>Origin: Fetch Content
Origin-->>EC2: Response
EC2-->>A10: Return Content
A10-->>Client: Response