Memory configuration
With AWS Lambda, the only compute resource that you can customize is memory. You can't choose the CPU power that you want for your AWS Lambda function. The AWS Lambda (FaaS) platform allocates CPU resources proportional to the memory that you have chosen for your Lambda function by applying the same ratio as a general-purpose Amazon EC2 instance type, such as the m3 instance type. For example, if you allocated 512 MB of memory to your Lambda function, then your Lambda function will receive four times more CPU power than if you allocate 128 MB to your Lambda function. AWS Lambda lets you choose memory from 128 MB to 3008 MB in increments of 64 MB. With the AWS Lambda console, you can set the amount of memory you need in ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access