Duncan Leung

Aws

01

Idempotent SQS Workers with Postgres UPDATE: The WHERE-Status Pattern

backendgoawspostgres

Most SQS idempotency guides reach for Redis dedupe keys or dedupe tables. If your worker's job ends in a terminal state-machine transition, the row's own status column is already the lock - and one UPDATE statement is the entire safety story.

02

Self-Hosting a Go Binary on AWS EC2

backendgoaws

Deploying a Go service to a single AWS EC2 instance as a hardened systemd service - cross-compiling the binary, copying it across, creating a non-root service user, configuring systemd with the right hardening directives, and handling graceful shutdown.

03

Configuring AWS Email Billing Alerts with CloudWatch

awscloudwatchmonitoring

A detailed guide to setting up automated email billing alerts in AWS using CloudWatch metrics and SNS notifications for cost monitoring.

04

Securing AWS API Gateway Endpoints (Cognito, IAM, API Keys)

awsserverlesssecurity

A guide to implement authentication and authorization in AWS API Gateway, covering Cognito User Pools, IAM roles, and API keys with practical examples.

05

Set Breakpoints to Locally Debug AWS Lambda

awsserverlessdebugging

A step-by-step guide to setting up and using breakpoints for local debugging of AWS Lambda functions, improving serverless development workflow.

06

Reference AWS Lambda API Endpoints in serverless.yml

awsserverless

A detailed guide to using Serverless Framework pseudo parameters for referencing Lambda functions and other AWS resources in your serverless applications.

07

Switching AWS Profiles for Serverless CLI

awsserverless

A guide to set up and switch between multiple AWS profiles when working with AWS CLI and Serverless Framework projects.

08

AWS Amplify TypeScript aws-exports.js

awstypescript

A guide to properly typing and integrating AWS Amplify configuration files in TypeScript projects, with focus on aws-exports.js setup.