Skip to main content

Amazon Lambda

Amazon Lambda

AWS Lambda is a serverless compute service provided by Amazon Web Services (AWS) that allows users to run code without provisioning or managing servers. It operates on an "event-driven" model, meaning your code (packaged as a "function") is executed in response to various triggers or events.

How Lambda works​

  1. Upload code to Lambda : First, upload the code to Lambda, which uploads as a Lambda function.
  2. Set code to trigger from an event source : Next, configure your code to be triggered by events, like AWS services, mobile apps, or HTTP requests, SQS queue.
  3. Set code to trigger from an event source : Your code runs only when an event occurs, like a file upload or user action.
  4. Under The Hood : Lambda automatically handles all the server management, scaling, and infrastructure. The Lambda runtime executes your function code using the event data passed to it.