πŸ”Ά

AWS Lambda

AWS Lambda lets you run code without provisioning or managing servers.
You upload your function code, set triggers, and AWS handles execution, scaling, and availability.

EC2 vs Lambda

  • EC2: Virtual machines, always running, limited by CPU/RAM, scaling often manual or via ASG.
  • Lambda: Event-driven, no server management, short-lived executions, scales automatically to match demand.

Key Benefits

  • Pricing: Pay only for the number of requests and execution time.
    • Free tier: 1M requests + 400K GB-seconds per month.
  • Fully integrated with AWS services (S3, API Gateway, DynamoDB, EventBridge…).
  • Multiple runtimes: Node.js, Python, Java, C#, Ruby, plus custom runtimes (e.g., Go, Rust).
  • CloudWatch integration for logs and metrics.
  • Configurable memory allocation (128 MB – 10 GB).
    • Increasing memory also boosts CPU and network throughput.

Lambda Container Images

  • Supports container-based deployment if the image implements the Lambda Runtime API.
  • For generic Docker workloads, use ECS or Fargate instead.
Β 
πŸ”·
AWS Lambda – Integrations
πŸ”·
AWS Lambda – Pricing
πŸ”·
AWS Lambda – Key Limits (Per Region)
🟒
AWS Lambda – Concurrency & Throttling
🟒
AWS Lambda – Cold Starts & Provisioned Concurrency
πŸ”·
AWS Lambda – Reserved vs. Provisioned Concurrency
🟒
AWS Lambda – SnapStart
🟒
Lambda Networking – Default vs. VPC
🟒
Lambda with RDS
🟒
AWS Lambda Layers