Glossary

AWS Lambda

Amazon Web Services (AWS) Lambda is a serverless compute service that runs your code in response to events and automatically manages the underlying compute resources for you. With Lambda, you can run code for virtually any kind of application or backend service, all with zero administration. Just upload your code and Lambda takes care of everything needed to run and scale your code with high availability.

One common use case for AWS Lambda is to build and run microservices. A microservice is a small, independent, self-contained piece of software that performs a specific function. By building microservices and running them on Lambda, you can build and deploy applications faster, scale more easily, and manage your infrastructure more effectively.

AWS Lambda functions are event-driven. This means that they are triggered by specific events, such as a user uploading a photo or a new line of data being added to a database. When an event occurs, Lambda runs the specified code and returns the results.

AWS Lambda functions can be triggered by a wide variety of events, including:

  • API calls made using Amazon API Gateway
  • Changes to data in an Amazon S3 bucket or an Amazon DynamoDB table
  • Messages arriving in an Amazon Kinesis stream
  • New log events delivered to Amazon CloudWatch Logs
  • A schedule set using AWS CloudWatch Events

In addition to the event that triggers a function, Lambda also provides several other execution environments, including the ability to run your code in response to HTTP requests using Amazon API Gateway or to process streaming data using Amazon Kinesis.