Get startedGet started for free

Tuning memory and timeout

Lambda performance and cost depend heavily on configuration. Memory size affects not only available RAM, but also CPU allocation — Lambda allocates CPU proportionally to memory. Timeout protects you from runaway executions by capping how long a single invocation can run.

In this exercise, you'll adjust memory and timeout on your function and answer a question about how memory impacts performance.

This exercise is part of the course

Serverless Applications with AWS Lambda

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise