Compute
Phase นี้สอนการรัน workload บน AWS ด้วย Amazon EC2 และบริการที่เกี่ยวข้อง: AMI, Instance Type, User Data, Instance Profile, EBS, Load Balancer, Launch Template และ Auto Scaling Group
Outcome
รัน web workload ที่ health-check และ scale ได้
เข้าใจ launch config, storage, target health, replacement และ cleanup path
Focus
Instance → Disk → Load balancer → ASG
เริ่มจาก EC2 เดี่ยว แล้วค่อยเพิ่ม persistent storage, traffic distribution และ scaling
Cost habit
EC2, EBS, ALB, public IPv4 ต้อง cleanup
Stop instance ไม่ได้หยุดค่าใช้จ่ายทุกอย่าง โดยเฉพาะ EBS, ALB และ snapshot
ควรเรียนตามลำดับไหน
Recommended order
- เริ่มจาก EC2 Fundamentals เพื่อเข้าใจ launch choices, access และ IAM role
- อ่าน EC2 Storage เพื่อแยก EBS, snapshot, instance store และ EFS concept
- เรียน Load Balancing เพื่อวาง listener, target group และ health check
- ปิดด้วย Auto Scaling เพื่อใช้ launch template และ ASG แทน instance เดี่ยว
- ทำ Lab แล้ว cleanup EC2, EBS, ALB, ASG, public IPv4 และ snapshots ทันที
Learning path
Lesson 1
EC2 FundamentalsEC2, AMI,
Instance Type, pricing model, User Data, Instance Metadata และ Session Manager
EC2
Lesson 2
EC2 StorageEBS volume,
volume type, attach/mount/resize, Snapshot, Instance Store และ EFS concept
Storage
Lesson 3
Load BalancingELB, ALB, NLB,
GWLB, Listener, Rule, Target Group และ Health Check
ELB
Lesson 4
Auto ScalingLaunch Template,
Auto Scaling Group, desired capacity, health replacement และ scaling policy
Scaling
Lab 4
Web EC2, EBS, ALB and ASG BaselineLaunch EC2, bootstrap web server, mount EBS, create ALB, create ASG across 2
AZs และ test health
Hands-on
Review
Phase 4 Quizทบทวน EC2,
storage, load balancing และ scaling design
Quiz
พร้อมจบ Phase 4 เมื่อทำได้ครบ
- เข้าใจ AMI, Instance Type, EC2 pricing, User Data, Instance Metadata และ Instance Profile
- เข้าใจ Key Pair, SSH และ Session Manager เป็นทางเลือกที่ปลอดภัยกว่า inbound SSH
- เข้าใจ EBS Volume, Volume Type, Snapshot, Instance Store และ EFS concept
- เปรียบเทียบ ALB, NLB และ GWLB ได้
- เข้าใจ Listener, Rule, Target Group, Health Check, Launch Template และ Auto Scaling Group