Lambda

aws/compute aws/serverless aws/service

💡 Definition

AWS Lambda is a serverless compute service that lets you run code without provisioning or managing servers. You pay only for the compute time you consume.

🔑 Key Concepts

⚙️ How it Works

  1. Upload Code: Write your function logic.
  2. Configure Trigger: Set up an event source (e.g., "When a file lands in S3 bucket X...").
  3. Execution: When the event occurs, Lambda spins up, runs the code, and shuts down.
  4. Scale: If 1,000 events happen at once, Lambda runs 1,000 copies of the function instantly.

🎯 Use Cases

💰 Pricing Model

📝 Exam Tips (CLF-C02)


See Also: * Fargate * API Gateway