AWS Lambda

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
AWS Lambda
Initial releaseNovember 2014; 4 years ago (2014-11)
Operating systemCross-platform
Available inEnglish

AWS Lambda is an event-driven, serverless computing platform provided by Amazon as a part of the Amazon Web Services. It is a computing service that runs code in response to events and automatically manages the computing resources required by that code. It was introduced in November 2014.[1]

The purpose of Lambda, as compared to AWS EC2, is to simplify building smaller, on-demand applications that are responsive to events and new information. AWS targets starting a Lambda instance within milliseconds of an event. Node.js, Python, Java, Go[2], Ruby[3] and C# through .NET Core are all officially supported as of 2018, and other languages can be supported via call-outs.

AWS Lambda supports securely running native Linux executables via calling out from a supported runtime such as Node.js.[4] For example, Haskell code can be run on Lambda.[5]

AWS Lambda was designed for use cases such as image or object uploads to Amazon S3, updates to DynamoDB tables, responding to website clicks or reacting to sensor readings from an IoT connected device. AWS Lambda can also be used to automatically provision back-end services triggered by custom HTTP requests, and "spin down" such services when not in use, to save resources. These custom HTTP requests are configured in AWS API Gateway, which can also handle authentication and authorization in conjunction with AWS Cognito.

Unlike Amazon EC2, which is priced by the hour but metered by the second, AWS Lambda is metered in increments of 100 milliseconds. Usage amounts below a documented threshold fall within the AWS Lambda free tier - which does not expire 12 months after account signup, unlike the free tier for some AWS services.[6]

Other similar solutions in the market are Google Cloud functions, Oracle Cloud Fn and Azure Functions.

See also[edit]


  1. ^ "Amazon introduces Lambda, Containers at AWS re:Invent - SD Times". SD Times. 2014-11-14. Retrieved 2016-06-09.
  2. ^ "Announcing Go Support for AWS Lambda". Amazon Web Services. 15 January 2018.
  3. ^ "Announcing Ruby Support for AWS Lambda". Amazon Web Services. 29 November 2018.
  4. ^ Wagner, Tim (15 April 2015). "Running Arbitrary Executables in AWS Lambda". AWS Compute Blog. Retrieved 16 July 2016.
  5. ^ Bailly, Arnaud (14 June 2016). "abailly/aws-lambda-haskell: Running Haskell code on AWS Lambda". GitHub. Retrieved 16 July 2016.
  6. ^ "AWS Lambda - Pricing". Amazon Web Services. Retrieved 16 July 2016.

External links[edit]