Most Common Lambda Deployment Patterns

AWS Lambda service follows Function as a service paradigm. This service promotes serverless architecture where you don’t need to run or manage servers or server components such as installing web servers, server patching etc. As a developer, you just need to write the code and deploy it and everything else such as scaling, deployment, patching etc. is managed seamlessly for you by AWS

In AWS ecosystem, Lambda became very popular due to the various use cases it provides. On high level, I see following use cases for Lambda

This article is heavily influenced by AWS Lambda service reference page and added this article to show high level architectures possible with Lambda.

Event Processing

Real-time File Processing

You can use Amazon S3 to trigger AWS Lambda to process data immediately after an upload. For example, you can use Lambda to thumbnail images, transcode videos, index files, process logs, validate content, and aggregate and filter data in real-time.

Real-time File Processing

Real-time Stream Processing

You can use AWS Lambda and Amazon Kinesis to process real-time streaming data for application activity tracking, transaction order processing, click stream analysis, data cleansing, metrics generation, log filtering, indexing, social media analysis, and IoT device data telemetry and metering.

Real-time Stream Processing

Extract Transform Load

You can use AWS Lambda to perform data validation, filtering, sorting, or other transformations for every data change in a DynamoDB table and load the transformed data to another data store.

Extract Transform Load Processing

You can build serverless backends using AWS Lambda to handle web, mobile, Internet of Things (IoT), and 3rd party API requests.

IOT Backends

You can build backends using AWS Lambda and Amazon Kinesis for Internet of Things (IoT) device data telemetry and analysis

IOT Backends

Mobile Backends

You can build backends using AWS Lambda and Amazon API Gateway to authenticate and process API requests.

Lambda makes it easy to create rich, personalized app experiences

Mobile Backends

Web Applications

By combining AWS Lambda with other AWS services, developers can build powerful web applications that automatically scale up and down and run in a highly available configuration across multiple data centers – with zero administrative effort required for scalability, back-ups or multi-data center redundancy.

Web Applications

References


Version History


Date Description
2017-07-04    Initial Version