0: Lambda Overview
·1 min
Table of Contents
What’s Lambda?
- A compute service: Run code without provisioning servers
- Absolutely no touching server config
- Only charged when code is running
- It’s stateless and event-driven
- It can do anything that we can program.
How’s it work?
- Receives some event trigger, perhaps from:
- S3
- DynamoDB
- API Gateway
- SES
- Eventbridge
- Run some code
- Log the run
Lambda Requirements?
- Function code
- Memory size spec
- Execution timeout (15m max)
- IAM (execution) role
- Event source mapping
Lambda funcs can be chained together
What if you are dealing with longer time periods?
- Consider “step functions”
- Run multiple lambdas in parallel, potentially