Back to Technologies

AWS Lambda

Event-driven serverless compute

AWSServerlessBeginner

Overview

Serverless compute service that runs code in response to events and automatically manages the compute resources.

When to Use

  • ✓Event-driven architectures
  • ✓Variable or unpredictable workloads
  • ✓Want to eliminate server management
  • ✓Cost optimization for intermittent workloads

When NOT to Use

  • ✗Long-running processes (>15 minutes)
  • ✗Require persistent connections
  • ✗Need complete control over runtime environment
  • ✗High-performance computing with low latency requirements

Common Use Cases

  • API backends
  • Data processing pipelines
  • Real-time file processing
  • Scheduled tasks and automation

Pros

  • +No server management
  • +Automatic scaling
  • +Pay only for compute time
  • +Fast deployment
  • +Built-in fault tolerance

Cons

  • −15-minute execution limit
  • −Cold start latency
  • −Limited runtime control
  • −Vendor lock-in

Key Integrations

API GatewayS3DynamoDBEventBridgeSQSSNS

Quick Stats

Learning Curve
4/10
Complexity
Beginner
Best For
StartupSMBEnterprise

Pricing

Model
Pay-per-request
Starting Price
$0.20 per 1M requests + compute time
1M free requests and 400,000 GB-seconds compute per month

Alternatives

  • Azure Functions
  • Google Cloud Functions
  • AWS Fargate
Official Documentation