Serverless Developer Guide
Examples:
• Websites — Suppose you are creating a website and you want to host the back-end logic on 
Lambda. You can invoke your Lambda function over HTTP using Amazon API Gateway as the
HTTP endpoint. Now, your web client can invoke the API, and then API Gateway can route 
the request to Lambda. You can also implement route authentication and authorization by 
integrating Amazon Cognito with API Gateway
• Mobile applications — Suppose you have a custom mobile application that produces events. 
You can create a Lambda function to process events published by your custom application. For 
example, you can conﬁgure a Lambda function to process the clicks within your custom mobile 
application.
To implement synchronous processing in similar scenarios, you can use the following AWS services 
together.
• AWS Lambda — For compute processing tasks.
• Amazon API Gateway — For connecting and scaling inbound requests.
• AWS Step Functions — For managing and orchestrating microservice workﬂows.
• Amazon DynamoDB & S3 — For storing and retrieving data and ﬁles.
• Amazon Cognito for authentication and authorization of users.
Streaming
Streaming data lets you to gather analytical insights from your application and process them in 
real-time. Streaming typically presents a unique set of design and architectural challenges.
Lambda and Amazon Kinesis can process real-time streaming data for application activity tracking, 
transaction order processing, click-stream analysis, data cleansing, log ﬁltering, indexing, social 
media analysis, Internet of Things (IoT) device data telemetry, and metering.
• Data and analytics — Suppose you are building an analytics application and storing raw data 
in a DynamoDB table. When you write, update, or delete items in a table, DynamoDB streams 
can publish item update events to a stream associated with the table. In this case, the event data 
provides the item key, event name (such as insert, update, and delete), and other relevant details. 
You can write a Lambda function to generate custom metrics by aggregating raw data.
• Monitoring metrics — Amazon Prime Video monitors metrics from devices worldwide to 
ensure quality-of-service. The team chose Amazon Kinesis Data Streams to deliver video stream 
Streaming 6