AWS Lambda Cheat Sheet

  • Serverless Compute Service
  • Scales automatically
  • Pay as you use. No charge when code is not running.
  • Event-driven – Event can be an AWS service or a custom service.
  • You create Lambda function with your application code.
  • Code is stored in S3.
  • Code in encrypted at Rest.
  • You specify the memory to be allocated for a function. Minimum 128MB, Maximum 3008MB. Memory is allocated in 64MB increments. CPU, Disk I/O are automatically allocated by AWS based on Memory requirements.
  • Lambda functions are stateless. They can run on any available underlying infrastructure.
  • Supports below languages:
    • Java
    • Python
    • Ruby
    • Node.js
    • Go
    • .NET
  • Timeout can be set to any value between 1 second and 900 seconds. Default value is 3 seconds.
  • Lambda function is terminated at timeout.
  • Functions can be invoked concurrently – Default limit is 1000.
  • Supports Versioning.
  • SOC, HIPAA, PCI, ISO compliant
See also  AWS SQS Cheat Sheet