Multi-Day Scheduled Task Orchestration with AWS Lambda durable functions

Amazon API Gateway → AWS Lambda durable function → Amazon DynamoDB

Demonstrates a 7-day workflow with scheduled checkpoints using AWS Lambda durable functions.

This pattern demonstrates a 7-day workflow using AWS Lambda durable functions with automatic checkpointing and zero compute cost during wait periods.
Day 1 collects data, Days 2-6 process daily batches with 24-hour waits, and Day 7 generates a final report. Each step is automatically checkpointed.
AWS Lambda durable functions eliminate compute charges during wait states, providing significant cost savings compared to traditional polling approaches.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/lambda-durable-scheduled-tasks-sam

Deploy

sam buildsam deploy --guided


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: sam delete --stack-name lambda-durable-scheduled-tasks.

Created by:

Abhishek Agawane

Abhishek Agawane

I am a Cloud Support Engineer (Serverless) at AWS who loves cloud computing