Lambda Durable Functions vs Step Functions: 2026 Workflow Orchestrator Comparison

When AWS introduced Lambda Durable Functions in 2026, it honestly caught my attention more than I expected. I’ve never been a huge fan of Step Functions - don’t get me wrong, it works and it’s reliable, but I always found the Amazon States Language JSON definitions clunky to work …

AWS Lambda Unit Testing: Complete Stub Mocking Guide

When working with AWS Lambda functions, unit testing can be a challenge due to the need to mocking all external dependencies, including AWS SDK clients. But also to provide the correct input when calling your Lambda handler functions. To make this easier, I created a small npm package that provides …

Fix InvalidSignature Error in AWS SDK Node.js

Sometimes you run into a weird issue that is hard to debug. This was one of those times. I was working on a Lambda function that was supposed to retrieve a secret from AWS Secrets Manager. However, I kept getting random InvalidSignatureException errors in production.

Serverless Testing: Strategies and Best Practices for AWS

Working in a pure serverless environment presents a distinct set of challenges when testing your software, particularly when multiple services interact with each other. In this post, I will explore some strategies for testing in a serverless environment.

DynamoDB Streams: Extend Retention Beyond 24 Hours

That was kind of a misleading title, but I wanted to get your attention. The truth is that DynamoDB Streams have a maximum retention period of 24 hours and there is no way to extend that. When you do need more than 24 hours the default solution is to use Kinesis Data Streams, which can retain data …

AWS AppSync: Private API with Custom DNS Configuration

In the last year I’ve been working a lot with AppSync and I have to say it didn’t come without challenges. One of the biggest challenges was to create a private AppSync API with a custom domain. This is something that is not natively supported by AWS, but it is possible to achieve it …

DynamoDB TTL: Modify with AWS CDK

Ever tried to update the TTL attribute of a DynamoDB table using the AWS CDK and got a InvalidRequest in CDK or a ValidationException via the CLI? I did, and it took me a while to figure out why. In this post, I’ll explain what happened and how to avoid the same issue in the future. This is a …

AWS VPC Endpoints: Complete Guide with Examples

After posting about Private API Gateway’s with DNS I received the suggestion by Lee Gilmore to elaborate on VPC Endpoints. In this article, I will show you how to use VPC Endpoints to access AWS services without the need to go through the internet.

AWS CDK: Always Set Defaults (Why and How)

We are nearing the end of the year, the time to reflect on the past year and definitely share the things that went “wrong” or in this case the things that could have been done better. This is one of those things that I wish I knew earlier, and I hope it helps you too.