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
21.1K
16.4K
+ 1
427

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
2693 companies reportedly use AWS Lambda in their tech stacks, including Udemy, Delivery Hero, and CRED.

Developers
18014 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 87 tools that integrate with AWS Lambda.
Pros of AWS Lambda
128
No infrastructure
82
Cheap
69
Quick
58
Stateless
47
No deploy, no server, great sleep
11
AWS Lambda went down taking many sites with it
6
Event Driven Governance
6
Easy to deploy
6
Extensive API
6
Auto scale and cost effective
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.

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

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
Shared insights
on
MongoDBMongoDBAWS LambdaAWS Lambda

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

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

See more
Shared insights
on
AWS LambdaAWS LambdaRustRustPerlPerl

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
Shared insights
on
JavaJavaQuarkusQuarkusAWS LambdaAWS Lambda

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
53
71078
GitHubDockerAmazon EC2+23
12
6449
JavaScriptGitHubPython+42
53
20956

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
16403 developers follow AWS Lambda to keep up with related blogs and decisions.