Dashboard

Learn faster. Build smarter.

Back to AWS
AWSServerless

Lambda

AWS Lambda is a serverless compute service that runs code in response to events without requiring you to manage servers.

What it does

Run code without managing servers.

When to use

Use Lambda for event-driven functions, lightweight APIs, background jobs, and serverless automation.

Key Concepts

Lambda runs code in response to triggers and events.

Execution is billed by requests and duration.

Functions often integrate with API Gateway, S3, SQS, or EventBridge.

Cold starts can affect some workloads.

Common Use Cases

Running background jobs.

Building serverless APIs.

Processing events from AWS services.

Interview Questions

What is Lambda?

When would you use Lambda instead of EC2?

What is a cold start?