What is AWS Lambda?

AWS Lambda is an Amazon Web Services serverless computing service (AWS). AWS Lambda users write functions, which are self-contained applications written in one of the supported languages and runtimes, and upload them to AWS Lambda, which then executes them in a fast and flexible manner.

How does AWS Lambda work?

Each Lambda function has its container to run in. When a function is built, Lambda bundles it into a new container, which it then runs on an AWS-managed multi-tenant cluster of servers. Each function’s container is given the requisite RAM and CPU capacity before it begins to operate. When the functions are finished, the RAM allocated at the start is multiplied by the length of time the function took to complete. Customers are then charged based on the amount of allocated memory and the length of time it took for the function to complete.

Benefits of using AWS Lambda

AWS Lambda has a few distinct advantages over running your own cloud servers. The most important are:



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store