Daniel Broadhurst
← All writing

AWS

27 Sept 2026 · 6 min read

Direct, SQS, EventBridge or Step Functions? What 160 Lambda Benchmarks Say

I benchmarked four ways to chain AWS Lambda functions for my MSc. Managed orchestration adds a ~1.5 s routing tax, 512 MB is the memory sweet spot, and SQS catches up.

ArticlesAWSServerless

Ink sketch of four railway tracks leaving one station: a direct line, a platform with a queue of parcels, a signal box, and a toll booth where a small figure collects a fee

25 Jun 2023 · 6 min read

Event-Driven Architecture on AWS: EventBridge, Lambda, SNS and SQS

An introduction to event-driven architecture on AWS: how EventBridge, Lambda, SNS and SQS let loosely coupled services communicate through events.

ArticlesAWSEvent Driven ArchitectureServerless

Ink sketch of a little tram line map drawn as a loop with stations; small parcels hop on and off at the stations independently of each other

21 Jun 2023 · 12 min read

AWS Serverless with Node.js 22: Lambda, DynamoDB and SAM

AWS serverless with Node.js 22: build a TypeScript Lambda that writes to DynamoDB with the AWS SDK v3, test it with Vitest and deploy it using AWS SAM.

ArticlesAWSLatest NewsNode.jsServerless

Ink sketch of a single light switch on a wall with a hand flicking it, and a small cloud above lighting up like a bulb

9 Jun 2023 · 11 min read

EventBridge Event Store with DynamoDB and Lambda (Node.js 22)

Build an Amazon EventBridge event store with DynamoDB and a Node.js 22 Lambda using the AWS SDK v3, then deploy it with AWS SAM to trace every event.

ArticlesAWSLatest NewsServerlessTutorial

Ink sketch of a conveyor belt carrying small envelopes that drop one by one into a long neat card-index drawer where every envelope is kept in order

7 Jun 2023 · 9 min read

DynamoDB with TypeScript: Practical Tips

Practical tips for DynamoDB with TypeScript: running DynamoDB locally, modelling data around access patterns and typing your items with interfaces.

ArticlesAWSLatest NewsServerless

Ink sketch of a card-index drawer where every divider tab is shaped like a key, and a hand pulling one card out by its key tab

14 May 2022 · 8 min read

Add Lambda Notifications to an Existing S3 Bucket with SAM

How to add S3 event notifications for Lambda to an existing S3 bucket with AWS SAM and CloudFormation, using a custom resource to manage the configuration.

ArticlesAWSLatest NewsNode.jsTutorial

Ink sketch of a metal bucket with a bell tied to its handle; an object dropping into the bucket makes the bell ring and wakes a small Greek lambda symbol sitting beside it

27 Mar 2022 · 9 min read

AWS Lambda Monorepo with Node.js 22 and pnpm Workspaces

Build an AWS Lambda monorepo with Node.js 22 and pnpm workspaces: share code between functions, bundle with esbuild and deploy nested SAM stacks from CI.

ArticlesAWSLatest NewsNode.jsShowcaseTutorial

Ink sketch of a tidy wooden tool chest with several open drawers, each drawer holding one small Greek lambda symbol like a tool, and one shared drawer in the middle that all the others draw from

20 Oct 2021 · 4 min read

Building a Serverless App using CloudFormation, AWS Amplify and React

Build a serverless web app on AWS with React, Amplify and CloudFormation: Cognito auth, deployment to the cloud and running the app locally.

ArticlesAWSTutorial

Ink sketch of a blueprint unrolled on a drafting table, and a small house assembling itself out of the blueprint's lines

2 Oct 2021 · 6 min read

How to Host WordPress on AWS with CloudFormation

Deploy WordPress on AWS with a CloudFormation template: create the database password, launch the stack, install WordPress and clean up the resources.

ArticlesAWSTutorial

Ink sketch of a stack of building blocks forming a small house that sits on top of a cloud