Important configurations in Lambda
When you create a Lambda function, there are different configurations that need to be done in order to run it in an efficient way:
Figure 3.7 – The Lambda configuration
We will use these configurations for the next example. Before starting with the example, let’s take a look at the definitions of the configurations:
- Memory: This configuration is used to define the memory limit of the application. You need to find the feasible amount of this value. If you define a large amount that is not used, it affects the cost. On the other hand, if you define a smaller amount of memory than is used, your application gives an out-of-memory exception.
- Timeout: We mentioned that the Lambda function has a limitation in terms of timeout. You can provide a duration limit under which the Lambda function is supposed to work.
- Ephemeral storage: This configuration allows setting a limit for a temporary filesystem...