Lambda
Definition
AWS Lambda is a serverless compute service that runs your code in response to events without requiring you to provision or manage servers.
Use Cases
- Coca-Cola: Vending Machine Integration — Uses Lambda to process IoT data from vending machines worldwide (Reduced infrastructure costs by 80% compared to EC2)
Provider Equivalents
- AWS: Lambda
- Azure: Azure Functions
- GCP: Cloud Functions
- OCI: Functions
Frequently Asked Questions
- When should I use Lambda vs EC2?
- Use Lambda for event-driven, short-running tasks (under 15 minutes). Use EC2 for long-running processes or when you need full server control.
- What is cold start in Lambda?
- Cold start is the delay when Lambda spins up a new execution environment. It can add 100ms to several seconds depending on runtime and memory.
Category: cloud
Difficulty: intermediate
Related Terms
See Also