Lambda Flashcards
How do you scale in Lambda?
Lambda runs on demand and scales automatically
How is Lambda charged?
You are charged per request and compute time.
What is the free tier limit for Lambda?
- 1,000,000 requests
- 400,000 GBs compute time
What is the default timeout for Lambda?
3 seconds
What is the max timeout for Lambda?
300 seconds
How much RAM can you allocate to Lambda?
128MB to 3GB
What must be attached to a Lambda?
An IAM execution role
What is the default Lambda Concurrency limit?
1000 concurrent executions
What is the Lambda Throttle behavior?
- If synchronous execution >= limit, return ThrottleError 429
- If asynchronous execution >= limit, retry automatically and go to DLQ (Dead Letter Queue)
What happens to a function in order for it to land in the DLQ?
Async execution fails the first time and is retried two more times automatically, and fails those.
What should be checked any time there is an error in Lambda when interacting with other services?
Make sure the IAM role has the permissions to interact with the service.
RAM in Lambda is increased in what increments?
64MB increments
What is the disk capacity in the function container?
512MB
What is the max size of the LAmbda function zip file?
50MB
What is the max size of the uncompressed Lambda function and its dependencies?
250MB