Lamda Overview

  • AWS Lambda is a compute service that lets you run code without provisioning or managing servers.

  • With AWS Lambda, you pay only for what you use.

  • You are charged based on the number of requests for your functions and the duration, the time it takes for your code to execute.

  • With Lambda, you can run code for virtually any type of application or backend service, all with zero administration.

  • You can use Lambda to run your code in response to events, such as changes to data in an Amazon Simple Storage Service (Amazon S3) bucket or an Amazon DynamoDB table.

Lambda Limits

  • Memory

    • The amount of memory available to the function at runtime.

    • It is a value between 128 MB and 10,240 MB in 1-MB increments.

  • Timeout

    • The amount of time that Lambda allows a function to run before stopping it.

    • The default is three seconds.

    • The maximum allowed value is 900 seconds (15 minutes).

  • Environment variables

    • You can use environment variables to adjust your function's behaviour without updating code.

    • An environment variable is a pair of strings that are stored in a function's version-specific configuration.

    • These are key-value pairs that Lambda sets in the execution environment.

    • The total size of all environment variables must not exceed 4 KB.

Last updated