AWS service / Serverless
AWS Lambda
Serverless function compute that runs code in response to events or direct invocation.
How it works
AWS manages the execution infrastructure and scales execution environments with demand subject to concurrency limits. A function invocation has a maximum duration of 15 minutes; durable state belongs outside the execution environment.
Exam keywords
Picture this
An on-call technician performs a short job when a bell rings and does not keep a desk between calls.
Lambda runs a function per invocation.
When to use it
A team needs to generate thumbnails within seconds of an object upload and avoid keeping compute running when no uploads occur.
When not to use it
Do not choose it for jobs that cannot finish within the invocation limit or for software that must control the OS.
On the exam
AWS Certified Cloud Practitioner (CLF-C02) · Domain 3: Technology & Services · Task 3.3