AWS Lambda

Run code without thinking about servers or clusters

1 million requests free 

per month with the AWS Free Tier

Run code without provisioning or managing infrastructure. Simply write and upload code as a .zip file or container image.

Automatically respond to code execution requests at any scale, from a dozen events per day to hundreds of thousands per second.

Save costs by paying only for the compute time you use—by the millisecond—instead of provisioning infrastructure upfront for peak capacity.

Optimize code execution time and performance with the right function memory size. Respond to high demand in double-digit milliseconds with Provisioned Concurrency.

How it works

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.
  • File processing
  • Diagram showing how AWS Lambda works. A photograph is taken, then uploaded to the S3 bucket. Lambda is triggered to run resizing code, and the photo is resized.
  • Stream processing
  • Diagram showing how Amazon Kinesis works. Social media stream is loaded into Kinesis, then Lambda is triggered. Lambda runs code the generates hashtag data, and the data is stored in DynomoDB.
  • Web applications
  • Diagram showing how Amazon S3, API Gateway, and DynamoDB work together to retrieve weather data.
  • IoT backends
  • Diagram showing how Amazon Kinesis and AWS Lambda help order replacement parts.
  • Mobile backends
  • Diagram showing how Amazon API Gateway, AWS Lambda, and Amazon SNS work together to help users receive status updates notifications.
AWS Lambda Explainer Video (3:01)
Introduction to AWS Lambda
AWS Lambda is a compute service that runs your code in response to events and automatically manages the compute resources, accelerating your journey from an idea to a modern, production application.

Use cases

Quickly process data at scale

Meet resource-intensive and unpredictable demand by using AWS Lambda to instantly scale out to more than 18k vCPUs. Build processing workflows quickly and easily with suite of other serverless offerings and event triggers.

Run interactive web and mobile backends

Combine AWS Lambda with other AWS services to create secure, stable, and scalable online experiences.

Enable powerful ML insights

Preprocess data before feeding it to your machine learning (ML) model. With Amazon Elastic File System (EFS) access, AWS Lambda handles infrastructure management and provisioning to simplify scaling.


Create event-driven applications

Build event-driven functions for easy communication between decoupled services. Reduce costs by running applications during times of peak demand without crashing or over-provisioning resources.

How to get started

Find out how AWS Lambda works

Learn more about serverless infrastructure, automated management and provisioning,
and more.

Explore AWS Lambda Features »

Explore hands-on training

Learn the basics of running code on AWS Lambda without provisioning or managing servers.

Check out getting started tutorials »

Connect with an expert

From development to enterprise-level programs, get the right support at the right time.

Explore support options »

Explore more of AWS