Glossary

Lambda

TL;DR

AWS Lambda is Amazon’s serverless computing service that runs code in response to events without requiring server provisioning or management, automatically scaling and charging only for execution time.


Concept

AWS Lambda is Amazon’s event-driven, serverless computing platform that allows developers to run code without provisioning or managing servers. Lambda automatically scales applications and charges only for the compute time consumed.

Key features and concepts of AWS Lambda include:

  1. Event-Driven Execution: Functions execute in response to AWS events such as S3 object uploads, DynamoDB updates, API Gateway requests, or custom events via AWS SDK.

  2. Automatic Scaling: Lambda automatically scales from zero to thousands of instances based on incoming request volume without any configuration.

  3. Pay-Per-Use Pricing: Billing is based on the number of requests and execution duration, with no charge when code is not running.

  4. Multiple Language Support: Supports popular programming languages including Node.js, Python, Java, C#, Go, and Ruby.

  5. Integrated Security Model: Built-in integration with AWS Identity and Access Management (IAM) for secure function execution and resource access.

  6. VPC Integration: Functions can access resources within Amazon Virtual Private Cloud (VPC) for secure connectivity to databases and internal services.

Lambda functions are commonly used for:

  • Web applications and APIs via API Gateway integration
  • Data processing and transformation
  • Real-time stream processing with Kinesis or DynamoDB Streams
  • Scheduled tasks using EventBridge
  • Chatbots and voice assistants
  • IoT backend processing

Organizations use Lambda to reduce operational overhead, improve scalability, and optimize costs for variable workloads. It’s a core component of serverless architectures and enables rapid development and deployment of event-driven applications.