What is AWS Lambda?
AWS Lambda is a serverless compute service to let you execute your code to do a specialized task. You can upload your code to AWS and define the runtime configuration, CPU and memory requirements, and an event on which your function should be executed. AWS is responsible for booting up servers and required runtime environments to execute the code you provided as soon as the triggering event takes place. You don’t pay for the time AWS takes to provision the servers for you or idle time for the servers when you aren’t using the service; you only pay for the execution time of your code.
AWS Lambda can be triggered from a majority of AWS services and SaaS applications to provide an entry point for your code. Before we go a bit deeper, let’s first understand different concepts related to Lambda to help us understand how it works internally:
- Function: A Lambda function is an AWS resource that receives an event as a parameter from the invocation...