A stronger worker processes more. A longer timer permits more time. Neither replaces a missing tool or expands the temporary workbench.
More power, more time, or a missing file?
The essentials in 30 seconds
before you dive into the detailsPicture this
A stronger worker or a longer timer?
Give the worker more power
Memory setting → memory and CPU
Useful when computation needs more resources.
Allow more time
Timeout → time limit
Allows longer work without making it faster.
Match the symptom to MemorySize, Timeout, Ephemeral storage, or package contents. Test the changed setting against the same workload.
Node.js imports need deployed dependencies. A function referencing a layer uses a specific version ARN; publishing a new layer does not change that reference.
Exam trap
More memory can add CPU, but does not enlarge /tmp. A longer timeout does not supply missing dependencies.
Keywords
- MemorySize
- Timeout
- Ephemeral storage
- deployment package
- layer version ARN
One sentence to remember
Identify the missing resource before changing a Lambda setting.
0 media items5 rule steps5 scenarios6 flashcards