Skip to main content
  1. Projects/
  2. AWS DevOps Pro Certification/
  3. 2: Configuration Mgmt / Infrastructure as Code/
  4. 1: Lambda/

0: Lambda Overview

·1 min

What’s Lambda?

  • A compute service: Run code without provisioning servers
  • Absolutely no touching server config
  • Only charged when code is running
  • It’s stateless and event-driven
  • It can do anything that we can program.

How’s it work?

  1. Receives some event trigger, perhaps from:
    • S3
    • DynamoDB
    • API Gateway
    • SES
    • Eventbridge
  2. Run some code
  3. Log the run

Lambda Requirements?

  • Function code
  • Memory size spec
  • Execution timeout (15m max)
  • IAM (execution) role
  • Event source mapping

Lambda funcs can be chained together

What if you are dealing with longer time periods?

  • Consider “step functions”
  • Run multiple lambdas in parallel, potentially