EC2 · ALB · CloudFront · WAF
部署成功
這個頁面存在 S3 內容桶,由私有子網中的 EC2 上的 nginx 提供, 經過 ALB 與 CloudFront 送到你的瀏覽器。
- 1 Route 53 把網域解析到 CloudFront
- 2 WAF 在邊緣過濾惡意請求
- 3 CloudFront 快取命中就直接回應
- 4 未命中則帶著驗證標頭回源到 ALB
- 5 ALB 轉發到 Auto Scaling Group 中的 nginx
要更新內容,改動 site/ 目錄後執行 make apply,
再用 make invalidate 清除 CloudFront 快取。