Serverless architecture สร้างแอปพลิเคชันจากบริการ managed ที่ขับเคลื่อนด้วยอีเวนต์ (Lambda, API Gateway, DynamoDB, S3, SQS ฯลฯ) โดยไม่ต้องจัดการเซิร์ฟเวอร์ AWS จัดการการขยายตัวและโครงสร้างพื้นฐานให้ การเข้าใจวิธีออกแบบระบบ serverless และการแลกเปลี่ยนของมันมีคุณค่าต่อสถาปัตยกรรมคลาวด์สมัยใหม่
สถาปัตยกรรม serverless ทั่วไป
A serverless web app/API often combines:
API GATEWAY → receives HTTP requests, routes to Lambda (the API entry point)
LAMBDA → functions handle the business logic (run on demand, auto-scale)
DYNAMODB → serverless NoSQL database (scales automatically)
S3 → static assets / file storage (host the frontend, store uploads)
COGNITO → managed authentication
SQS/SNS/EventBridge → async messaging and event-driven flows
CLOUDFRONT → CDN for the frontend
→ No servers to manage; everything scales automatically; pay per use.
