Module 12 — Edge Services
🧠 ภาพจำก่อนอ่าน: 🧠 Concept → 🗺️ Flow → 🔎 Check → ✅ Explain
🎨 Visual Guide ของวิชานี้ — ภาพช่วยจำ ไม่แทนคำอธิบายและคำสั่งจริง
🧭 Visual architecture
หัวข้อที่มีชื่อว่า “🧭 Visual architecture”flowchart LR
U[Global Users] --> R53[Route 53]
R53 --> CF[CloudFront]
CF --> WAF[AWS WAF]
WAF --> ORIGIN[Origin: ALB / S3]
SHIELD[AWS Shield] --> CF
SHIELD --> R53
ภาพ Diagram
หัวข้อที่มีชื่อว่า “ภาพ Diagram”Diagram นี้เป็นภาพสรุปเพื่อช่วยทำความเข้าใจโครงสร้างของบท/แล็บ โดยยึดแนวคิดจากคู่มือต้นฉบับ Mobile reader copy combined from Part 1 + Part 2. Full source screenshots remain in Google Drive master.
Module 12: Edge Services — Part 1
หัวข้อที่มีชื่อว่า “Module 12: Edge Services — Part 1”Source: Architecting on AWS 7.12.4 (EN) — Student Guide
PDF pages: 547–570
Scope: Edge fundamentals → Amazon Route 53 → Routing policies → Amazon CloudFront fundamentals
เป้าหมายของ Part นี้
หัวข้อที่มีชื่อว่า “เป้าหมายของ Part นี้”Module 12 เริ่มจากโจทย์ของ network engineer ที่ต้องการลด latency ให้ผู้ใช้ทั่วโลก, ทำ DNS ให้ highly available, ส่ง content ได้เร็วขึ้น และวางบริการไว้ใกล้ user มากขึ้นโดยไม่จำเป็นต้องย้าย workload ทั้งระบบไปทุก Region
Part 1 จึงโฟกัส 3 เรื่องหลัก:
- AWS มี infrastructure แบบใดบ้างที่นำ compute/content เข้าใกล้ผู้ใช้
- Amazon Route 53 ใช้จัดการ DNS และ traffic routing อย่างไร
- Amazon CloudFront ช่วยลด latency และลด load ที่ origin อย่างไร
flowchart LR
U[User]
R53[Amazon Route 53]
CF[Amazon CloudFront]
EDGE[Edge Location]
O[Origin\nS3 / ALB / EC2 / On-prem]
U --> R53 --> CF --> EDGE --> O
1. Edge fundamentals
หัวข้อที่มีชื่อว่า “1. Edge fundamentals”1.1 AWS Cloud at the edge
หัวข้อที่มีชื่อว่า “1.1 AWS Cloud at the edge”🖼️ Source figure — Student Guide p.552; full screenshot is kept in the Google Drive master copy.
Student Guide อธิบายว่า AWS มีหลายระดับของ infrastructure ที่ช่วยนำบริการเข้าใกล้ผู้ใช้หรือข้อมูลมากขึ้น ได้แก่:
- AWS Regions — ศูนย์กลางหลักสำหรับ services และ workloads
- Edge locations — จุดให้บริการบน AWS global network สำหรับบริการอย่าง CloudFront และ Route 53
- AWS Local Zones — extension ของ Region ที่นำ compute/storage บางบริการเข้าใกล้ metro area
- AWS Outposts — นำ AWS infrastructure ไปติดตั้งใน data center ของลูกค้า
- AWS Snow Family — edge / disconnected / data transfer use cases บางประเภท
แนวคิดสำคัญคือ ไม่ใช่ทุก workload ต้องย้ายไปอยู่ใกล้ user แบบเดียวกัน แต่เลือกชั้นของ edge ให้ตรงกับ requirement เช่น latency, residency, connectivity และ operational model
flowchart LR
REGION[AWS Region]
EDGE[Edge Location]
LZ[Local Zone]
OUT[AWS Outposts]
SNOW[AWS Snow Family]
REGION --- EDGE
REGION --- LZ
REGION --- OUT
REGION --- SNOW
1.2 Edge services architecture
หัวข้อที่มีชื่อว่า “1.2 Edge services architecture”🖼️ Source figure — Student Guide p.553; full screenshot is kept in the Google Drive master copy.
ตัวอย่างใน Student Guide เชื่อมบริการสำคัญดังนี้:
flowchart LR
USER[User]
R53[Route 53]
WAF[AWS WAF]
CF[CloudFront]
OUT[AWS Outposts]
APP[Application]
USER --> R53 --> WAF --> CF --> OUT --> APP
และมี AWS Shield ช่วยปกป้อง service ที่ public-facing ในชั้น edge
บทนี้จึงไม่ได้มอง edge แค่ในมุม “เร็วขึ้น” แต่รวมถึง:
- DNS และ traffic steering
- content delivery
- security / DDoS protection
- workload locality / data residency
2. Amazon Route 53
หัวข้อที่มีชื่อว่า “2. Amazon Route 53”2.1 Route 53 ทำอะไร
หัวข้อที่มีชื่อว่า “2.1 Route 53 ทำอะไร”🖼️ Source figure — Student Guide p.555; full screenshot is kept in the Google Drive master copy.
Amazon Route 53 เป็นบริการ DNS ที่ช่วย:
- resolve domain name ไปยัง IP / endpoint
- register หรือ transfer domain
- route request ตาม health check และ routing criteria
- เชื่อม user ไปยัง AWS resources หรือ external resources
Student Guide ยกตัวอย่างว่า Route 53 สามารถ route ไปยัง resource อย่าง EC2, ELB และ S3 ได้ และสามารถนำ health check มาช่วยตัดสินใจ failover ได้
ภาพจำ:
example.com ↓ DNS queryRoute 53 ↓ routing policy + healthAWS resource / external endpoint3. Public hosted zone vs Private hosted zone
หัวข้อที่มีชื่อว่า “3. Public hosted zone vs Private hosted zone”🖼️ Source figure — Student Guide p.556; full screenshot is kept in the Google Drive master copy.
Public hosted zone
หัวข้อที่มีชื่อว่า “Public hosted zone”ใช้กำหนดว่า traffic จาก internet-facing DNS queries จะถูก route ไปไหน
เหมาะกับ:
- public website
- public API
- public load balancer
- public service endpoint
Private hosted zone
หัวข้อที่มีชื่อว่า “Private hosted zone”ใช้ DNS ภายใน Amazon VPC เพื่อ resolve private names / private resources
เหมาะกับ:
- internal application names
- private EC2 endpoints
- internal services หลาย VPC ที่มี connectivity กัน
Mental model
หัวข้อที่มีชื่อว่า “Mental model”flowchart TD
Q{DNS query มาจากไหน?}
Q -->|Internet| P[Public hosted zone]
Q -->|Inside associated VPC| PR[Private hosted zone]
สิ่งสำคัญคือ hosted zone เป็น container ของ DNS records ที่บอก Route 53 ว่า domain/subdomain ควรตอบกลับอย่างไร
4. Route 53 routing policies
หัวข้อที่มีชื่อว่า “4. Route 53 routing policies”🖼️ Source figure — Student Guide p.557; full screenshot is kept in the Google Drive master copy.
Student Guide แสดง routing policies หลักดังนี้:
- Simple
- Failover
- Geolocation
- Geoproximity
- Latency-based
- Multivalue answer
- Weighted
Routing policy ไม่ได้เปลี่ยน DNS ให้กลายเป็น load balancer แต่เป็น logic ที่กำหนดว่า Route 53 ควรตอบ DNS query ด้วย record ไหน
5. Simple routing
หัวข้อที่มีชื่อว่า “5. Simple routing”Simple routing ใช้เมื่อมี resource หลักเพียงชุดเดียวและไม่ต้องตัดสินใจตาม health/location/weight
ตัวอย่าง:
flowchart LR
U[User]
R53[Route 53]
ALB[Application Load Balancer]
ASG[Auto Scaling Group]
U --> R53 --> ALB --> ASG
เหมาะกับ architecture ที่ routing decision ตรงไปตรงมา
6. Failover routing
หัวข้อที่มีชื่อว่า “6. Failover routing”🖼️ Source figure — Student Guide p.559; full screenshot is kept in the Google Drive master copy.
Failover routing ใช้สร้าง active-passive DNS failover
แนวคิด:
flowchart TD
R53[Route 53]
HC{Primary healthy?}
P[Primary endpoint]
S[Secondary endpoint]
R53 --> HC
HC -->|Yes| P
HC -->|No| S
Health check สามารถ monitor เช่น:
- health ของ endpoint
- health ของ referenced health check
- CloudWatch alarm state
เมื่อ primary ไม่ healthy Route 53 สามารถตอบ DNS ด้วย secondary record แทนได้
ใช้เมื่อ
หัวข้อที่มีชื่อว่า “ใช้เมื่อ”- ต้องการ DR แบบ active-passive
- มี primary site และ recovery site
- ต้องการ DNS-level failover
7. Geolocation routing
หัวข้อที่มีชื่อว่า “7. Geolocation routing”🖼️ Source figure — Student Guide p.560; full screenshot is kept in the Google Drive master copy.
Geolocation routing เลือก resource ตาม location ของผู้ใช้
ตัวอย่าง:
- Europe users → Europe endpoint
- US users → US endpoint
เหมาะกับกรณีเช่น:
- localization
- regulatory/geographic constraints
- content ที่แตกต่างกันตามประเทศ/ทวีป
จำให้ชัดว่า geolocation ถามว่า:
“ผู้ใช้อยู่ที่ไหน?”
8. Geoproximity routing
หัวข้อที่มีชื่อว่า “8. Geoproximity routing”🖼️ Source figure — Student Guide p.561; full screenshot is kept in the Google Drive master copy.
Geoproximity routing route traffic ตามตำแหน่งทางภูมิศาสตร์ของทั้ง users และ resources และสามารถใช้ค่า bias เพื่อขยายหรือหดพื้นที่ที่ resource หนึ่งจะรับ traffic
ภาพจำ:
Bias เพิ่ม → resource นั้นดึง traffic จากพื้นที่กว้างขึ้นBias ลด → resource นั้นรับ traffic จากพื้นที่แคบลงเหมาะกับ architecture ที่ต้องการควบคุม traffic distribution ตาม geographic proximity มากกว่าแบ่งตาม country/continent แบบตรง ๆ
9. Latency-based routing
หัวข้อที่มีชื่อว่า “9. Latency-based routing”🖼️ Source figure — Student Guide p.562; full screenshot is kept in the Google Drive master copy.
Latency-based routing ใช้เมื่อ application deploy หลาย AWS Regions และต้องการส่ง user ไปยัง Region ที่ให้ lowest latency ตามข้อมูล latency ที่ AWS วัดได้
จำให้ชัดว่า latency-based routing ถามว่า:
“Region ไหนตอบผู้ใช้นี้ได้เร็วที่สุด?”
ไม่ใช่ “Region ไหนอยู่ใกล้ที่สุดทางภูมิศาสตร์” เสมอไป เพราะ network path จริงอาจต่างกัน
10. Multivalue answer routing
หัวข้อที่มีชื่อว่า “10. Multivalue answer routing”Multivalue answer routing สามารถตอบ DNS query ด้วยหลาย IP / records และสามารถผูก health checks กับ record เหล่านั้นได้
ประโยชน์:
- กระจาย response หลาย endpoint
- ตัด unhealthy record ออกจากคำตอบได้
- เพิ่ม availability ระดับ DNS
แต่ Student Guide เน้นว่า ไม่ใช่ตัวแทนของ load balancer
11. Weighted routing
หัวข้อที่มีชื่อว่า “11. Weighted routing”🖼️ Source figure — Student Guide p.564; full screenshot is kept in the Google Drive master copy.
Weighted routing แบ่ง traffic ตามสัดส่วนที่กำหนด เช่น:
Production A = 90Production B = 10จึงเหมาะกับ:
- blue/green rollout
- canary-like traffic shifting
- gradual migration
- A/B style traffic distribution
ตัวอย่าง flow:
flowchart TD
R53[Route 53]
A[Environment A\nWeight 90]
B[Environment B\nWeight 10]
R53 --> A
R53 --> B
12. Routing policy decision guide
หัวข้อที่มีชื่อว่า “12. Routing policy decision guide”flowchart TD
Q[ต้องการ route DNS แบบไหน?]
Q -->|Endpoint เดียว| S[Simple]
Q -->|Primary/Secondary| F[Failover]
Q -->|ตาม location ผู้ใช้| G[Geolocation]
Q -->|ตาม user+resource geography และ bias| GP[Geoproximity]
Q -->|หา AWS Region latency ต่ำสุด| L[Latency-based]
Q -->|หลาย healthy IP answers| M[Multivalue]
Q -->|แบ่ง traffic เป็นเปอร์เซ็นต์| W[Weighted]
13. Amazon CloudFront
หัวข้อที่มีชื่อว่า “13. Amazon CloudFront”หน้า 565 เปลี่ยนจาก DNS ไปยังโจทย์ content delivery
13.1 Content Delivery Network (CDN)
หัวข้อที่มีชื่อว่า “13.1 Content Delivery Network (CDN)”🖼️ Source figure — Student Guide p.566; full screenshot is kept in the Google Drive master copy.
CDN ช่วย cache content ไว้ใกล้ผู้ใช้ผ่าน edge locations เพื่อลดการวิ่งกลับไป origin ทุกครั้ง
ผลลัพธ์หลัก:
- latency ต่ำลง
- response เร็วขึ้น
- origin load ลดลง
- global content delivery มีประสิทธิภาพขึ้น
14. CloudFront overview
หัวข้อที่มีชื่อว่า “14. CloudFront overview”🖼️ Source figure — Student Guide p.567; full screenshot is kept in the Google Drive master copy.
Student Guide แสดง CloudFront เป็น global CDN ที่:
- รองรับ static และ dynamic content
- integrate กับ AWS services หลายตัว
- มี security features ในตัวและ integrate กับ AWS Shield / AWS WAF
- ใช้ edge locations / Regional edge caches เพื่อลด latency
CloudFront origin สามารถเป็นได้ เช่น:
- Amazon S3 bucket
- Elastic Load Balancer
- EC2 / HTTP server
- on-premises web server
15. Edge caching
หัวข้อที่มีชื่อว่า “15. Edge caching”🖼️ Source figure — Student Guide p.568; full screenshot is kept in the Google Drive master copy.
หลักการ:
sequenceDiagram
participant U as User
participant E as CloudFront Edge
participant O as Origin
U->>E: GET /image.png
alt Cache hit
E-->>U: Return cached object
else Cache miss
E->>O: GET /image.png
O-->>E: Object
E-->>U: Object
end
ข้อดีของ cache hit คือ request ไม่ต้องย้อนกลับไป origin จึงลดทั้ง latency และ backend load
16. CloudFront caching steps
หัวข้อที่มีชื่อว่า “16. CloudFront caching steps”🖼️ Source figure — Student Guide p.569; full screenshot is kept in the Google Drive master copy.
Student Guide สรุป flow ของ cache miss โดยประมาณ:
- request ถูก route ไป edge location
- edge ตรวจแล้วไม่พบ valid cached object
- edge request object จาก origin
- origin ส่ง object กลับมา
- edge cache object และส่งต่อให้ user
ถ้า object ยังอยู่ใน TTL และ cache hit ขั้นตอนที่ต้องเรียก origin จะถูกข้าม
17. Configuring CloudFront
หัวข้อที่มีชื่อว่า “17. Configuring CloudFront”🖼️ Source figure — Student Guide p.570; full screenshot is kept in the Google Drive master copy.
แนวคิดการ configure distribution:
- Choose origin
- Create distribution
- กำหนด cache behavior / path patterns / protocol / TTL / cache key settings
- Optional: ผูก security และ domain-related settings เพิ่มเติม
CloudFront distribution เป็น logical configuration ที่บอก AWS ว่า content ต้องดึงจาก origin ไหนและให้ edge จัดการ request อย่างไร
18. Route 53 vs CloudFront — อย่าสับสน
หัวข้อที่มีชื่อว่า “18. Route 53 vs CloudFront — อย่าสับสน”| Service | หน้าที่หลัก | คำถามที่มันตอบ |
|---|---|---|
| Route 53 | DNS + routing policy | “DNS query นี้ควรตอบ endpoint ไหน?” |
| CloudFront | CDN + edge caching | “content นี้ควรส่งจาก edge ไหน และต้องกลับ origin หรือไม่?” |
Route 53 และ CloudFront จึงมักทำงาน ร่วมกัน ไม่ใช่แทนกัน
flowchart LR
U[User]
DNS[Route 53]
CDN[CloudFront]
ORIGIN[Origin]
U --> DNS --> CDN --> ORIGIN
19. สิ่งที่ควรจำจาก Part 1
หัวข้อที่มีชื่อว่า “19. สิ่งที่ควรจำจาก Part 1”- Edge architecture ไม่ได้มีแค่ CloudFront; AWS มี Region, Edge Location, Local Zone, Outposts และ Snow Family
- Route 53 เป็น DNS service ที่มี routing logic หลายแบบ
- Public hosted zone ใช้กับ internet DNS; Private hosted zone ใช้ DNS ภายใน VPC
- Failover = active/passive
- Geolocation = ดู location ของ user
- Geoproximity = user + resource geography และ bias
- Latency-based = เลือก Region ที่ latency ต่ำ
- Weighted = แบ่ง traffic ตาม weight
- Multivalue answer ช่วยตอบหลาย healthy records แต่ไม่ใช่ load balancer
- CloudFront เป็น CDN ที่ใช้ edge cache เพื่อลด latency และ origin load
- Route 53 ตัดสินใจ “ไปไหน”; CloudFront ช่วย “ส่ง content อย่างไรให้เร็วขึ้น”
End of Part 1
หัวข้อที่มีชื่อว่า “End of Part 1”Part 2 จะต่อจาก CloudFront performance optimization → DDoS protection → AWS Shield → AWS WAF → Firewall Manager → AWS Outposts → Knowledge Check → Lab 6
Module 12: Edge Services — Part 2
หัวข้อที่มีชื่อว่า “Module 12: Edge Services — Part 2”Source: Architecting on AWS 7.12.4 (EN) — Student Guide
PDF pages: 571–602
Scope: CloudFront performance → DDoS protection → AWS Shield / WAF / Firewall Manager → AWS Outposts → Review → Knowledge Check → Lab 6
เป้าหมายของ Part นี้
หัวข้อที่มีชื่อว่า “เป้าหมายของ Part นี้”Part 2 ขยายจาก “ส่ง traffic/content ได้เร็ว” ไปสู่ “ทำอย่างไรให้ edge architecture ปลอดภัยและรองรับ requirement ที่ต้องวาง workload ในสถานที่ขององค์กร”
flowchart LR
U[Internet Users]
R53[Route 53]
SH[AWS Shield]
WAF[AWS WAF]
CF[CloudFront]
APP[Application]
OUT[Outposts / On-prem workloads]
U --> R53 --> SH --> WAF --> CF --> APP
CF --> OUT
1. Improving CloudFront performance
หัวข้อที่มีชื่อว่า “1. Improving CloudFront performance”🖼️ Source figure — Student Guide p.571; full screenshot is kept in the Google Drive master copy.
Student Guide แบ่งสิ่งที่ AWS ทำให้และสิ่งที่ architect ควรปรับเอง
สิ่งที่ AWS/CloudFront ช่วย
หัวข้อที่มีชื่อว่า “สิ่งที่ AWS/CloudFront ช่วย”- TCP optimization
- TLS 1.3 support
- dynamic content placement
สิ่งที่เราต้องออกแบบ
หัวข้อที่มีชื่อว่า “สิ่งที่เราต้องออกแบบ”- caching strategy
- cache hit ratio
- CloudFront Origin Shield
หลักคิด
หัวข้อที่มีชื่อว่า “หลักคิด”CloudFront จะคุ้มที่สุดเมื่อ cache key, TTL และ behavior ถูกออกแบบให้ตรง workload
ถ้า config cache ไม่เหมาะ:
- cache miss เยอะ
- edge ต้องกลับ origin บ่อย
- latency และ origin load สูงขึ้น
2. DDoS protection
หัวข้อที่มีชื่อว่า “2. DDoS protection”2.1 DDoS คืออะไร
หัวข้อที่มีชื่อว่า “2.1 DDoS คืออะไร”🖼️ Source figure — Student Guide p.573; full screenshot is kept in the Google Drive master copy.
Distributed Denial of Service (DDoS) attack ใช้หลาย compromised systems ส่ง traffic ปริมาณมากไปยัง target เพื่อทำให้ resource ถูกใช้จน legitimate users เข้าใช้งานไม่ได้
ภาพจำ:
flowchart LR
B1[Bot]
B2[Bot]
B3[Bot]
B4[Bot]
T[Target]
B1 --> T
B2 --> T
B3 --> T
B4 --> T
3. DDoS attacks by OSI layer
หัวข้อที่มีชื่อว่า “3. DDoS attacks by OSI layer”🖼️ Source figure — Student Guide p.574; full screenshot is kept in the Google Drive master copy.
Student Guide แบ่งโจมตีตาม OSI layer โดยเน้นว่า DDoS สามารถเกิดได้หลายระดับ เช่น:
- Network layer
- Transport layer
- Application layer
- Presentation layer
ตัวอย่างภาพรวม:
L3/L4 → flood / protocol-level attacksL7 → abuse application requests / HTTP-level behaviorเหตุผลที่ต้องเข้าใจ layer คือ protection service แต่ละตัวครอบคลุมคนละส่วน
4. AWS Shield
หัวข้อที่มีชื่อว่า “4. AWS Shield”🖼️ Source figure — Student Guide p.575; full screenshot is kept in the Google Drive master copy.
AWS Shield เป็น managed DDoS protection service
Shield Standard
หัวข้อที่มีชื่อว่า “Shield Standard”- มี protection พื้นฐานต่อ common infrastructure attacks
- ถูกนำมาใช้กับบริการ AWS ที่รองรับโดยอัตโนมัติ
- เน้น network / transport layer protection
Shield Advanced
หัวข้อที่มีชื่อว่า “Shield Advanced”ใช้เมื่อ application ต้องการ protection และ visibility มากขึ้น รวมถึง integration กับ service อย่าง AWS WAF
Mental model
หัวข้อที่มีชื่อว่า “Mental model”flowchart TD
ATTACK[DDoS]
S[AWS Shield]
APP[Protected AWS workload]
ATTACK --> S --> APP
5. AWS WAF
หัวข้อที่มีชื่อว่า “5. AWS WAF”🖼️ Source figure — Student Guide p.576; full screenshot is kept in the Google Drive master copy.
AWS WAF เป็น web application firewall สำหรับควบคุม HTTP(S) request ตาม rule ที่กำหนด
ตัวอย่าง threat/application patterns ที่ WAF ช่วยกรองได้:
- SQL injection patterns
- cross-site scripting (XSS)
- request patterns ที่ไม่ต้องการ
- IP / geographic / rate-based filtering ตาม rule
Student Guide แสดง WAF สามารถ protect services เช่น:
- CloudFront
- Application Load Balancer
- Amazon API Gateway
- AWS AppSync
- Amazon Cognito user pools
6. AWS WAF access control components
หัวข้อที่มีชื่อว่า “6. AWS WAF access control components”🖼️ Source figure — Student Guide p.577; full screenshot is kept in the Google Drive master copy.
องค์ประกอบสำคัญ:
- Web ACL — container ของ rules สำหรับ resource ที่ protect
- Rules — กำหนด criteria และ action
- Rule groups — รวมหลาย rules
- Rule statements — logic ที่ใช้ตรวจ request
- IP sets — กลุ่ม IP addresses / ranges
- Regex pattern sets — กลุ่ม regex patterns
- Monitoring and logging — integrate กับ CloudWatch และ log destinations ที่รองรับ
flowchart TD
REQ[HTTP request]
ACL[Web ACL]
R1[Rule 1]
R2[Rule group]
ACT{Match?}
ALLOW[Allow]
BLOCK[Block]
REQ --> ACL
ACL --> R1 --> ACT
ACL --> R2 --> ACT
ACT --> ALLOW
ACT --> BLOCK
7. ACL rule statements
หัวข้อที่มีชื่อว่า “7. ACL rule statements”🖼️ Source figure — Student Guide p.578; full screenshot is kept in the Google Drive master copy.
Student Guide แสดง statement categories เช่น:
- attack prevention
- traffic filtering
- pattern matching
- logical operations
ตัวอย่าง rule logic:
IF source IP in blocked-set OR request matches malicious regex OR request rate exceeds thresholdTHEN block / count / challenge according to configured actionข้อสำคัญคือ Web ACL ใช้ rule statements หลายแบบประกอบกันเพื่อสร้าง policy ที่ละเอียดได้
8. AWS Firewall Manager
หัวข้อที่มีชื่อว่า “8. AWS Firewall Manager”🖼️ Source figure — Student Guide p.579; full screenshot is kept in the Google Drive master copy.
AWS Firewall Manager ช่วย centralize security policy management ใน environment ที่มีหลาย accounts/resources
Student Guide แสดงการบริหาร service เช่น:
- AWS WAF
- Amazon VPC security groups
- AWS Shield Advanced
- AWS Network Firewall
- VPC Network Access Analyzer-related controls ตาม use case ที่รองรับ
Use cases หลัก
หัวข้อที่มีชื่อว่า “Use cases หลัก”- มี accounts/resources จำนวนมาก
- มี applications ใหม่ถูกสร้างตลอด
- ต้องการ organization-wide visibility และ consistent protection
flowchart TD
FM[Firewall Manager]
A1[AWS Account 1]
A2[AWS Account 2]
A3[AWS Account 3]
FM --> A1
FM --> A2
FM --> A3
แทนที่จะ configure security policy แยกทีละ account Firewall Manager ช่วยบังคับ baseline จากศูนย์กลาง
9. DDoS-resilient reference architecture
หัวข้อที่มีชื่อว่า “9. DDoS-resilient reference architecture”🖼️ Source figure — Student Guide p.581; full screenshot is kept in the Google Drive master copy.
แนวคิดที่ Student Guide ต้องการให้เห็นคือ layered defense
flowchart LR
U[Users]
R53[Route 53]
SH[AWS Shield]
WAF[AWS WAF]
CF[CloudFront]
ALB[Application Load Balancer]
APP[Application]
U --> R53 --> SH --> WAF --> CF --> ALB --> APP
- Route 53 / CloudFront ใช้ global edge footprint
- Shield รับมือ DDoS บางประเภท
- WAF inspect application-layer request
- ALB / Auto Scaling ช่วยรับ load ตาม architecture
ไม่มี service เดียวแก้ DDoS ทุกชนิดได้ จึงต้องออกแบบหลายชั้น
10. AWS Outposts
หัวข้อที่มีชื่อว่า “10. AWS Outposts”หน้า 582 เปลี่ยนโจทย์ไปยัง requirement ที่ workload ต้องอยู่ on premises เพราะ latency / residency / local processing
10.1 Outposts family
หัวข้อที่มีชื่อว่า “10.1 Outposts family”🖼️ Source figure — Student Guide p.583; full screenshot is kept in the Google Drive master copy.
AWS Outposts นำ AWS infrastructure และ services บางส่วนไปติดตั้งใน customer location
เหมาะกับ:
- ultra-low latency ไปยัง on-prem systems
- data residency / local processing requirements
- workload ที่ต้องทำงานใกล้ local equipment
- hybrid architecture ที่ต้องการ AWS APIs/tooling เหมือนกับใน Region
11. Outposts rack vs Outposts servers
หัวข้อที่มีชื่อว่า “11. Outposts rack vs Outposts servers”🖼️ Source figure — Student Guide p.584; full screenshot is kept in the Google Drive master copy.
Outposts rack
หัวข้อที่มีชื่อว่า “Outposts rack”- rack-scale deployment
- capacity และ service options มากกว่า
- เหมาะกับ site ที่มี infrastructure รองรับ rack deployment
Outposts servers
หัวข้อที่มีชื่อว่า “Outposts servers”- footprint เล็กกว่า
- ติดตั้งใน rack ที่ลูกค้ามีอยู่
- เหมาะกับสถานที่ที่มี space constraint
Decision guide
หัวข้อที่มีชื่อว่า “Decision guide”flowchart TD
Q[ต้องการ AWS compute on premises]
Q --> S{พื้นที่/scale แบบไหน?}
S -->|Rack-scale / capacity สูง| R[Outposts rack]
S -->|พื้นที่จำกัด / smaller footprint| SV[Outposts servers]
12. Outposts extend your VPC
หัวข้อที่มีชื่อว่า “12. Outposts extend your VPC”🖼️ Source figure — Student Guide p.585; full screenshot is kept in the Google Drive master copy.
Outposts สามารถ extend VPC จาก AWS Region ลงมาที่ on-prem location ผ่าน Outpost subnet
แนวคิด:
flowchart LR
REG[AWS Region VPC]
SUB[Regional subnet]
OUTSUB[Outpost subnet]
INST[EC2 on Outposts]
REG --> SUB
REG --> OUTSUB --> INST
นี่ทำให้ architecture สามารถใช้ networking model เดิมของ VPC ต่อเนื่องลงมาที่ customer site
13. AWS resources on Outposts
หัวข้อที่มีชื่อว่า “13. AWS resources on Outposts”🖼️ Source figure — Student Guide p.586; full screenshot is kept in the Google Drive master copy.
Student Guide แสดงบริการที่สามารถมี resource บน Outposts ได้บางส่วน เช่น:
- Amazon EC2
- Amazon EBS
- Amazon S3 (ตามรูปแบบ/ความพร้อมของ service)
- Amazon VPC
- Application Load Balancer
- Amazon Route 53-related integration
- Amazon RDS
- Amazon EMR
- Amazon ElastiCache
- Amazon ECS
- Amazon EKS
Service availability ต้องตรวจตาม Outposts configuration และ Region ปัจจุบัน; ใน Note นี้ยึดรายการตาม Student Guide เท่านั้น
14. Present solutions — สรุปโจทย์ network engineer
หัวข้อที่มีชื่อว่า “14. Present solutions — สรุปโจทย์ network engineer”🖼️ Source figure — Student Guide p.588; full screenshot is kept in the Google Drive master copy.
Student Guide ให้กลับมาตอบ business request เดิม:
- DNS ที่ highly available/scalable → Amazon Route 53
- content delivery → Amazon CloudFront
- protect public-facing applications → AWS Shield + AWS WAF
- on-prem latency/residency needs → AWS Outposts
ภาพจำทั้งบท:
flowchart TD
NEED{Requirement}
NEED -->|DNS / routing| R53[Route 53]
NEED -->|CDN / edge cache| CF[CloudFront]
NEED -->|DDoS / web filtering| SEC[Shield + WAF]
NEED -->|AWS services on premises| OUT[Outposts]
15. Module 12 Knowledge Check
หัวข้อที่มีชื่อว่า “15. Module 12 Knowledge Check”Question 1 — CloudFront benefits (Select TWO)
หัวข้อที่มีชื่อว่า “Question 1 — CloudFront benefits (Select TWO)”Student Guide เฉลย:
- A. Increased application security
- D. Reduced latency for access to application content
เหตุผล: CloudFront integrate กับ Shield/WAF และใช้ global CDN/edge caching เพื่อลด latency
Question 2 — DDoS protection services (Select TWO)
หัวข้อที่มีชื่อว่า “Question 2 — DDoS protection services (Select TWO)”Student Guide เฉลย:
- D. AWS Shield
- E. AWS WAF
Shield เน้น managed DDoS protection ส่วน WAF ช่วย filter web requests ตาม rule
Question 3 — Route 80% traffic to ap-southeast-2 and 20% to eu-west-1
หัวข้อที่มีชื่อว่า “Question 3 — Route 80% traffic to ap-southeast-2 and 20% to eu-west-1”Student Guide เฉลย:
- B. Weighted routing
เพราะ weighted policy กำหนดสัดส่วน DNS responses ตาม weight ได้
Question 4 — Benefit of Outposts servers compared with rack
หัวข้อที่มีชื่อว่า “Question 4 — Benefit of Outposts servers compared with rack”Student Guide เฉลย:
- C. A rack-mountable server is available in a location with space constraints
16. Lab 6 — Configure CloudFront with an Amazon S3 Origin
หัวข้อที่มีชื่อว่า “16. Lab 6 — Configure CloudFront with an Amazon S3 Origin”🖼️ Source figure — Student Guide p.600; full screenshot is kept in the Google Drive master copy.
Lab 6 ใช้ architecture ที่มี VPC แบบ Multi-AZ และเพิ่ม CloudFront distributions โดยหนึ่ง origin เป็น S3 bucket
Student Guide ระบุ tasks หลักประมาณนี้:
- Explore an existing CloudFront distribution
- Create an Amazon S3 bucket
- Configure S3 bucket for public access ตามขั้นตอน lab
- Upload object และ test access
- Add bucket as additional origin to distribution
- Secure bucket with a CloudFront origin access identity / lab-specified access mechanism
- Test direct access behavior
- Test object through CloudFront distribution
Lab mental model
หัวข้อที่มีชื่อว่า “Lab mental model”flowchart LR
U[User]
CF[CloudFront Distribution]
ALB[Application Load Balancer Origin]
S3[S3 Origin]
U --> CF
CF --> ALB
CF --> S3
สิ่งที่ควรจับจาก lab ไม่ใช่แค่คลิก console แต่คือ:
- CloudFront หนึ่ง distribution มีหลาย origins ได้
- path / behavior สามารถเลือกว่าจะส่ง request ไป origin ไหน
- origin access ต้องออกแบบให้ user เข้าผ่าน CloudFront ตามที่ต้องการแทน direct access
17. สิ่งที่ควรจำจาก Module 12
หัวข้อที่มีชื่อว่า “17. สิ่งที่ควรจำจาก Module 12”- Route 53 = DNS + traffic steering
- CloudFront = CDN + edge cache
- Shield = managed DDoS protection
- WAF = inspect/filter HTTP(S) request ตาม rule
- Firewall Manager = centralize security policies across accounts/resources
- Outposts = AWS infrastructure/services on premises
- CloudFront performance ขึ้นกับ cache design ไม่ใช่เปิด distribution แล้วเร็วที่สุดโดยอัตโนมัติ
- DDoS protection ควรเป็น layered architecture
- Weighted Route 53 เหมาะกับ percent-based traffic split
- Outposts ใช้เมื่อ latency/residency/local processing เป็น requirement สำคัญ
End of Module 12
หัวข้อที่มีชื่อว่า “End of Module 12”หน้าถัดไปเริ่ม Module 13: Backup and Recovery
🔬 อ่านเจาะลึกและฝึกเพิ่ม (ไม่บังคับ)
หัวข้อที่มีชื่อว่า “🔬 อ่านเจาะลึกและฝึกเพิ่ม (ไม่บังคับ)”เรียนบทหลักตามลำดับ ส่วนลิงก์ด้านล่างเป็นเนื้อหาเสริมหรือแบบฝึก ไม่จำเป็นต้องทำทั้งหมดก่อนบทถัดไป หากต้องการเจาะลึกหรือลงมือทำ ให้เลือกเปิดเฉพาะสิ่งที่เกี่ยวข้องกับเป้าหมาย
🧪 Companion Labs — ไม่ใช่ Official Google Skills Grader
🛠️ Optional Portfolio Projects — เลือกทำเพื่อประสบการณ์ ไม่ใช่ข้อบังคับก่อนสอบ
เมื่ออ่านและฝึกทบทวนจบแล้ว ทำเครื่องหมายเพื่อบันทึกใน Browser นี้