Skip to main content

Command Palette

Search for a command to run...

AWS Lambda

Published
2 min read
AWS Lambda

What is AWS Lambda?

What is Lambda in AWS used for?

AWS Lambda is a serverless, event-driven compute service that lets you run code for virtually any type of application or backend service without provisioning or managing servers. You can trigger Lambda from over 200 AWS services and software as a service (SaaS) applications, and only pay for what you use.

What is Lambda in AWS used for?

AWS Lambda is a serverless, event-driven compute service that lets you run code for virtually any type of application or backend service without provisioning or managing servers. You can trigger Lambda from over 200 AWS services and software as a service (SaaS) applications, and only pay for what you use.

Simply put, a lambda function is just like any normal python function, except that it has no name when defining it, and it is contained in one line of code. A lambda function evaluates an expression for a given argument. You give the function a value (argument) and then provide the operation (expression).

Lambda concepts

Lambda runs instances of your function to process events. You can invoke your function directly using the Lambda API, or you can configure an AWS service or resource to invoke your function.

Why is it called AWS Lambda?

Lambda and Serverless Infrastructure. If you're unfamiliar with Lambda, it's what has been termed a "serverless" computing service from AWS, which uses events to drive resource allocation and computation. Lambda is named after functions from lambda calculus and programming.

What is the advantage of AWS Lambda?

Lambda enables you to use functions with pre-trained machine learning (ML) models to inject artificial intelligence into applications more easily. A single application programming interface (API) request can classify images, analyze videos, convert speech to text, perform natural language processing, and more.

What is the disadvantage of Lambda?

Not suitable for long-running tasks.

There is a hard limit of 15 minutes of execution per call for each lambda. So if you are planning to get some long-running tasks done using AWS lambda, then think twice! Because the function will die after 15 minutes.

More from this blog

Rushikesh's blog

23 posts