Configuring options for AWS Lambda
AWS Lambda provides many configuration options, including customizing how much memory is needed for your Lambda function, maximum execution time, VPC network configuration, creating versions and aliases for your functions for production, and how to set environmental variables and use them in your AWS Lambda functions.
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...