Lambda is relatively simple and straightforward. You basically write a function/script (in a language like PHP, Python, Node.js, etc.) and then you can associate a trigger that will invoke that function on-demand whenever you need it to run. The trigger could be an HTTP endpoint for example. So you could have your web domain associated with a lambda function which generates and responds with the HTML content for the webpage that was requested. Lambda uses a "serverless" design where you don't have to worry about managing servers or scaling instances. Instead it's a simple pay per use model where you can trigger and execute your function/script on demand and just pay for what you use. One disadvantage of using Lambda (as opposed to an always-running compute service like EC2) is that you may experience slow 'cold start' times when a function hasn't been executed in a long time or suddenly there are multiple execution requests that happen concurrently. This sometimes causes a delay of a couple of seconds (or in some cases even longer). Another disadvantage is that you can't use Lambda for continuous/long-running processes. It's designed for a request-response model where you send a request to the Lambda function and wait for a response and the maximum execution time is a few minutes. If this is acceptable to you, then Lambda is a very powerful tool and is an easy way to get started with cloud computing without having to worry about managing servers. Answer from pythonpoole on reddit.com
🌐
Amazon Web Services
docs.aws.amazon.com › aws lambda › developer guide › aws lambda functions › lambda sample applications
Lambda sample applications - AWS Lambda
– A collection of Java functions that contain skeleton code for how to handle events from various services such as Amazon API Gateway, Amazon SQS, and Amazon Kinesis. These functions use the latest version of the aws-lambda-java-events library (3.0.0 and newer). These examples do not require ...
🌐
Amazon Web Services
docs.aws.amazon.com › aws lambda › developer guide › aws lambda functions › create your first lambda function
Create your first Lambda function - AWS Lambda
To learn about deploying functions to Lambda using other runtimes, see the links in the Additional resources and next steps section. To learn how to build serverless solutions, check out the Serverless Developer Guide. To get started with AWS, you need an AWS account. For information about creating an AWS account, see Getting started with an AWS account in the AWS Account Management Reference Guide. In this example...
Discussions

Learning to write AWS Lambda functions for absolute beginners
i kinda doubt, because it would involve at least three different subjects: lambda basics (lambda config, lambda environment, iam, cloudwatch) the programming language of your choice (e.g. python) aws client connectivity for that language (e.g. boto3) More on reddit.com
🌐 r/aws
8
2
November 23, 2022
A Beginners Guide: Building simple REST APIs in AWS using Lambda and API Gateway
I always suggest to implement any kind of tutorials via CloudFormation. Yes, it may be a bit harder for beginners, but in the end you can't mess up the steps and you get a guaranteed result. More on reddit.com
🌐 r/aws
11
36
January 13, 2022
Looking for a basic and simple Lambda tutorial
News, articles and tools covering Amazon Web Services (AWS), including S3, EC2, SQS, RDS, DynamoDB, IAM, CloudFormation, Route 53, CloudFront, Lambda, VPC, Cloudwatch, Glacier and more. More on reddit.com
🌐 r/aws
6
1
March 24, 2020
Recommendations for tutorials on AWS Lambdas?

https://github.com/awslabs/aws-serverless-workshops

More on reddit.com
🌐 r/aws
8
21
January 8, 2018
🌐
Reddit
reddit.com › r/aws › examples of lambda use cases?
r/aws on Reddit: Examples of Lambda use cases?
May 24, 2019 -

Good afternoon,

I am a rookie to the cloud, and put it on myself to try and learn Lambda as I hear its a very powerful service. However, I am not too sure about how it works. I can read all the documentation online but I am very curious to see how those who use it, implement it into their work on a daily basis!

Edit

Thanks guys for the responses, you guys said just what I was looking for! Very interesting projects you all have going on! :)

Top answer
1 of 11
34
Lambda is relatively simple and straightforward. You basically write a function/script (in a language like PHP, Python, Node.js, etc.) and then you can associate a trigger that will invoke that function on-demand whenever you need it to run. The trigger could be an HTTP endpoint for example. So you could have your web domain associated with a lambda function which generates and responds with the HTML content for the webpage that was requested. Lambda uses a "serverless" design where you don't have to worry about managing servers or scaling instances. Instead it's a simple pay per use model where you can trigger and execute your function/script on demand and just pay for what you use. One disadvantage of using Lambda (as opposed to an always-running compute service like EC2) is that you may experience slow 'cold start' times when a function hasn't been executed in a long time or suddenly there are multiple execution requests that happen concurrently. This sometimes causes a delay of a couple of seconds (or in some cases even longer). Another disadvantage is that you can't use Lambda for continuous/long-running processes. It's designed for a request-response model where you send a request to the Lambda function and wait for a response and the maximum execution time is a few minutes. If this is acceptable to you, then Lambda is a very powerful tool and is an easy way to get started with cloud computing without having to worry about managing servers.
2 of 11
22
Programs that run on schedules or on demand and do not need to be continuously running.
🌐
GeeksforGeeks
geeksforgeeks.org › devops › introduction-to-aws-lambda
AWS Lambda - GeeksforGeeks
June 8, 2026 - Destination (Downstream Service): ... file back to S3. Example: A new image uploaded to an S3 bucket triggers a Lambda function that resizes the image and saves the result to a separate S3 bucket....
🌐
Amazon Web Services
docs.aws.amazon.com › aws lambda › developer guide › what is aws lambda?
What is AWS Lambda? - AWS Lambda
AWS Lambda is a serverless compute service that lets you run code without provisioning or managing servers.
Find elsewhere
🌐
Amazon Web Services
docs.aws.amazon.com › aws lambda › developer guide › aws lambda functions › lambda durable functions › examples and use cases
Examples and use cases - AWS Lambda
Explore practical examples of durable functions including distributed transactions, long-running workflows, and complex orchestration patterns.
🌐
Medium
iamkanikamodi.medium.com › write-a-sample-aws-lambda-function-c616f1e18975
Write a sample AWS Lambda Function | by Kanika Modi | Medium
March 23, 2019 - Each Lambda function runs in an isolated computing environment with its own resources and view of the file system ... Pay-per-use based on the number of requests served and the compute time needed to run the code, metered in increments of 100 milliseconds. Step 1: Log in to your AWS account console and select the region in which you want to create your function.
🌐
DataCamp
datacamp.com › tutorial › aws-lambda
Getting Started with AWS Lambda: A Step-by-Step Tutorial | DataCamp
December 25, 2024 - For example, triggering an analytics pipeline when new rows are added to a DynamoDB table. Custom applications: You can invoke Lambda functions directly using SDKs, CLI, or HTTP requests, allowing you to integrate with external systems. When an event triggers a Lambda function, AWS automatically ...
🌐
GitHub
github.com › shreyasgaonkar › aws-lambda-code-samples
GitHub - shreyasgaonkar/aws-lambda-code-samples: Lambda sample codes for EC2, Lambda, API Gateway and SNS in python runtime. · GitHub
Get underlying Lambda's CPU hardware, /tmp storage, os-release and it's contents - get_cpu_info.py
Starred by 29 users
Forked by 20 users
Languages   Python
🌐
Pluralsight
pluralsight.com › blog › cloud
Understand AWS Lambda through Real Life Scenarios | Pluralsight
And this is where AWS Lambda comes in. Lambda is well suited for preprocessing and processing data in data pipelines. In addition to processing data, Lambda can extract and ingest the data. For more on this, check out this project that uses Lambda to build an ETL (extract, transform, and load) pipeline. And for a more in-depth and complex example, watch Nextdoor’s 2017 AWS re: Invent talk to see how Nextdoor used AWS Lambda to streamline their ETL pipelines.
🌐
Amazon Web Services
docs.aws.amazon.com › aws lambda › developer guide › code examples for lambda using aws sdks › basic examples for lambda using aws sdks › hello lambda
Hello Lambda - AWS Lambda
The following code examples show how to get started using Lambda. ... There's more on GitHub. Find the complete example and learn how to set up and run in the AWS Code Examples Repository
🌐
AWS
docs.aws.amazon.com › amazon cloudfront › developer guide › customize at the edge with functions › customize at the edge with lambda@edge › lambda@edge example functions
Lambda@Edge example functions - Amazon CloudFront
May 13, 2026 - The following examples show common ways to use Lambda@Edge in CloudFront. ... You can use the following example to test two different versions of an image without creating redirects or changing the URL. This example reads the cookies in the viewer request and modifies the request URL accordingly.
🌐
Lumigo
lumigo.io › guides › aws lambda 101 › aws lambda functions: the basics and a quick tutorial
AWS Lambda Functions: The Basics and a Quick Tutorial - Lumigo
July 22, 2024 - Lambda functions are pieces of code that perform specific tasks, such as processing data streams or integrating with other AWS services.