AWS Lambda logo

AWS Lambda

Automatically run code in response to modifications to objects in Amazon S3 buckets, messages in Kinesis streams, or updates in DynamoDB
24.1K
18.7K
+ 1
432

What is AWS Lambda?

AWS Lambda is a compute service that runs your code in response to events and automatically manages the underlying compute resources for you. You can use AWS Lambda to extend other AWS services with custom logic, or create your own back-end services that operate at AWS scale, performance, and security.
AWS Lambda is a tool in the Serverless / Task Processing category of a tech stack.

Who uses AWS Lambda?

Companies
2845 companies reportedly use AWS Lambda in their tech stacks, including Udemy, CRED, and Nubank.

Developers
20586 developers on StackShare have stated that they use AWS Lambda.

AWS Lambda Integrations

Serverless, Amazon API Gateway, Contentful, Liquibase, and Buddy are some of the popular tools that integrate with AWS Lambda. Here's a list of all 96 tools that integrate with AWS Lambda.
Pros of AWS Lambda
129
No infrastructure
83
Cheap
70
Quick
59
Stateless
47
No deploy, no server, great sleep
12
AWS Lambda went down taking many sites with it
6
Event Driven Governance
6
Extensive API
6
Auto scale and cost effective
6
Easy to deploy
5
VPC Support
3
Integrated with various AWS services
Decisions about AWS Lambda

Here are some stack decisions, common use cases and reviews by companies and developers who chose AWS Lambda in their tech stack.

Needs advice
on
AWS LambdaAWS Lambda
and
Twilio FunctionsTwilio Functions

I am using Twilio as my base application, which one should I prefer Twilio Functions or AWS Lambda function to host my functions which are called from Twilio plugins?

See more
Needs advice
on
AWS LambdaAWS LambdaClaudiaClaudia
and
ServerlessServerless

Which one is the best between Serverless framework and Claudia for AWS Lambda deployment? I just need the detailed difference between them to understand which is better.

See more
Needs advice
on
AWS LambdaAWS LambdaMongoDBMongoDB
and
RedisRedis

Hey,

I want to stream incremental document updates (like a price change) to a ton of end users using SSE. What is the best tool for that? AWS Lambda's / Cloud Functions terminate too fast and Containers / Servers seem too expensive.

Users should authenticate and "subscribe" to a specific resource. I am planning to use a MongoDB Instance as a Database and Lambdas to write to it.

See more
Needs advice
on
AWS LambdaAWS Lambda
and
AWS Step FunctionsAWS Step Functions

What's the difference between AWS Lambda and AWS Step Functions?

See more
Needs advice
on
GolangGolangPerlPerl
and
RustRust

I intend to use a programming language which I'll use as AWS runtime and write a script that will comb through tons of files in a directory and its subdirectories and search for simple text regular expressions and process and write the matches in a file as output. I have heard that Perl is good for regex based search but I also want the performance to be good as it will have to go through tons of files for IO. In this post: https://filia-aleks.medium.com/aws-lambda-battle-2021-performance-comparison-for-all-languages-c1b441005fd1, I see that Rust works well as AWS Lambda runtime with very good performance. Which one should I choose as my AWS lambda runtime for this problem? Golang is also an option as it is fast as per the above link.

See more

We are working on a transaction processing application and everything needs to happen in real-time. I have used AWS Lambda with Quarkus + Java, and struggled with cold start time however Lambda is still cost effective. so wanted to understand which one will be suitable as alternative to lambda services.

See more

Blog Posts

GitHubPythonNode.js+47
55
72820
GitHubDockerAmazon EC2+23
12
6616
JavaScriptGitHubPython+42
53
22177

AWS Lambda's Features

  • Extend other AWS services with custom logic
  • Build custom back-end services
  • Completely Automated Administration
  • Built-in Fault Tolerance
  • Automatic Scaling
  • Integrated Security Model
  • Bring Your Own Code
  • Pay Per Use
  • Flexible Resource Model

AWS Lambda Alternatives & Comparisons

What are some alternatives to AWS Lambda?
Serverless
Build applications comprised of microservices that run in response to events, auto-scale for you, and only charge you when they run. This lowers the total cost of maintaining your apps, enabling you to build more logic, faster. The Framework uses new event-driven compute services, like AWS Lambda, Google CloudFunctions, and more.
Azure Functions
Azure Functions is an event driven, compute-on-demand experience that extends the existing Azure application platform with capabilities to implement code triggered by events occurring in virtually any Azure or 3rd party service as well as on-premises systems.
AWS Elastic Beanstalk
Once you upload your application, Elastic Beanstalk automatically handles the deployment details of capacity provisioning, load balancing, auto-scaling, and application health monitoring.
AWS Step Functions
AWS Step Functions makes it easy to coordinate the components of distributed applications and microservices using visual workflows. Building applications from individual components that each perform a discrete function lets you scale and change applications quickly.
Google App Engine
Google has a reputation for highly reliable, high performance infrastructure. With App Engine you can take advantage of the 10 years of knowledge Google has in running massively scalable, performance driven systems. App Engine applications are easy to build, easy to maintain, and easy to scale as your traffic and data storage needs grow.
See all alternatives

AWS Lambda's Followers
18661 developers follow AWS Lambda to keep up with related blogs and decisions.