Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
AWS Lambda Durable Functions: From Zero to Hero
New
Rating: 5.0 out of 5(4 ratings)
16 students

AWS Lambda Durable Functions: From Zero to Hero

Build durable serverless workflows with checkpointing, retries, callbacks, AI agents, observability, testing & AWS CDK
Created byRishi Tiwari
Last updated 6/2026
English

What you'll learn

  • Learn AWS Lambda Durable Functions to write stateful, long-running workflows directly in plain JavaScript without complex external tools.
  • Master the checkpoint-and-replay model to understand exactly how AWS Lambda automatically saves progress, exits, and resumes without losing state.
  • Build complex serverless applications including the Saga pattern for automatic rollbacks, parallel API calls, and Human in the loop.
  • Ensure production-grade reliability using AWS CDK for IaC, the native testing framework, and CloudWatch for observability.

Course content

16 sections68 lectures4h 54m total length
  • AWS CLI Installation3:49

    In this lecture, you'll install and configure the AWS CLI and verify your setup.

  • Documentation and Code0:43

    You'll also get access to the Lambda durable functions course GitHub repository, Durable Lambda resources, and official AWS documentation used throughout the course.

  • Cost0:13

Requirements

  • Basic understanding of AWS services including Lambda, S3, DynamoDB and IAM
  • Fundamentals of JavaScript
  • Active AWS account for creating resources

Description

AWS Lambda Durable Functions: From Zero to Hero

You're building a workflow that includes payment confirmation, human approval, and an external API call that takes hours.
Until now, coordinating multi-step asynchronous processes on AWS meant manually stitching together SQS queues, maintaining custom state tables in DynamoDB, or wrestling with massive Step Functions JSON/YAML definitions. Worse, you were constantly fighting the hard 15-minute execution limit of standard stateless Lambda functions.


AWS Lambda Durable Functions introduce a new way to build long-running workflows directly in the code.

This new execution model lets you write long-running, stateful workflows that can run for up to one full year entirely in code. Workflows automatically pause while waiting for payments, human approvals, callbacks, or external events, then resume exactly where they left off without losing state. They survive failures, handle retries natively, and charge you zero compute costs while suspended.

No orchestration glue code. No custom state tables. No workflow spaghetti. Just durable serverless workflows written using the Lambda programming model you already know.

This course takes you from the fundamentals of Durable Functions to building resilient, production-ready serverless systems.


What You'll Learn

  • Checkpoint & Replay Internals

  • Durable Operations & Workflow Design

  • Deterministic Workflow Design & Replay Safety

  • waitForCondition, waitForCallback & Invoke

  • Parallel Execution & Map Operations

  • Retry Strategies & Failure Recovery

  • Idempotency & Execution Semantics (AtLeastOncePerRetry vs AtMostOncePerRetry)

  • Saga Pattern & Distributed Transactions

  • Human in the Loop Workflows

  • Testing Durable Functions

  • CloudWatch Observability & Execution History

  • Infrastructure as Code with AWS CDK


Why Learn From This Course?

This isn't a shallow overview of the documentation.

The curriculum is built by an AWS-certified engineer whose AWS courses have been featured on freeCodeCamp and who contributed bug fixes directly to the official AWS Durable Functions SDK and docs.

You'll learn how Durable Functions behave in real-world environments, inspect execution histories and CloudWatch logs, understand replay behavior, troubleshoot failures, implement retries, and apply production-grade engineering patterns that go far beyond simple demos.


What You Will Build

Project 1: Employee Reimbursement Manager (Human Approval Workflow)

Build a production-style document approval system where employees submit reimbursement requests that require manager approval before processing.

You'll learn how to:

  • Pause workflows for human decisions

  • Implement callback-based approvals

  • Handle approval and rejection paths

  • Track workflow state across long-running executions

  • Build durable business processes that can run for days or weeks

This project demonstrates one of the most common enterprise workflow patterns used in real organizations.


Project 2: QuantaSneaks Drop Platform (Distributed E-Commerce Workflow)

Build a distributed sneaker-drop platform powered by AWS Lambda Durable Functions.

The workflow coordinates multiple Lambda functions, integrates AI-based risk scoring, validates inventory, manages payment processing, and requires human approval for suspicious orders.

You'll learn how to:

  • Coordinate complex multi-step workflows

  • Execute operations in parallel

  • Integrate external services and AI systems

  • Implement human-in-the-loop workflows

  • Apply the Saga Pattern for distributed transactions

  • Automatically compensate payments when orders fail

This project brings together the core concepts of Durable Functions into a realistic production-grade serverless workflow.


Requirements

  • Basic AWS knowledge (Lambda, IAM, CloudWatch)

  • JavaScript fundamentals

  • AWS Account (Free Tier is sufficient)

If you want to master one of AWS's most powerful new serverless capabilities before it becomes mainstream, this course is for you. The window to learn this before it becomes mainstream is right now. Enroll and be ahead of it.

Who this course is for:

  • Backend Developers & AWS Engineers who are tired of over-engineering architectures by stitching together SQS, Step Functions, and DynamoDB just to coordinate a few Lambda functions.
  • AI Engineers building LLM pipelines or human-in-the-loop applications who need workflows that can suspend for hours or days without burning unnecessary compute.
  • AWS Cloud Architects who want to gain a massive competitive edge by mastering a brand-new, game-changing AWS service before it becomes mainstream.
  • Serverless Developers migrating complex Step Functions or custom orchestration code to Lambda Durable Functions.