Cost optimization บน AWS เกี่ยวข้องกับการ right-size ทรัพยากร การเลือกโมเดลราคาที่เหมาะสม การขจัดความสูญเปล่า และการเฝ้าติดตามค่าใช้จ่ายอย่างต่อเนื่อง เนื่องจากต้นทุนคลาวด์สามารถเพิ่มขึ้นได้อย่างมาก การ optimize จึงเป็นวินัยสำคัญที่ต้องทำอย่างต่อเนื่อง และเป็น pillar หนึ่งของ Well-Architected Framework
การ right-size และขจัดความสูญเปล่า
✓ RIGHT-SIZE — match instance/resource sizes to actual usage (don't over-provision;
many resources are oversized → wasted money). Use metrics to size correctly.
✓ ELIMINATE WASTE — find and remove UNUSED resources:
→ idle/stopped-but-still-billed resources, unattached EBS volumes, old snapshots,
unused Elastic IPs, forgotten test/dev environments
→ a forgotten running instance costs money 24/7
✓ Shut down non-production environments when not in use (nights/weekends)
