It is an serverless compute unit. Allows to run code without provisioning or managing servers
Automated version of EC2 (Elastic Cloud Compute). No need to worry about underlying architecture
Upload the code and Lambda will take care of everything required to run the application
Cannot be used for deploying application. Used for running background tasks
Triggers
Services That Lambda Reads From
Services That Invoke Lambda Functions Synchronously
Services That Invoke Lambda Functions Asynchronously
Execution Role
Allows it to access AWS services and resources
Layers
Addition code that can be added into Lambda. It’s in the form of Zip files that contains additional libraries, functions
Max size of uncompressed Zip: 250 MB
Environment Variables
Dynamically pass settings to function code and library without making any changes in code
They are represent as key-value pair