Posts
Authentication Method Selection Guide
How to pick an authentication approach: sessions, tokens, OAuth/OIDC, passwordless or mTLS, with implementation patterns.
Authorization Model Selection
Choosing between RBAC, ABAC and other authorization models, and when each one is enough.
AWS API Gateway Design Principles
Design principles for API Gateway: what to consider, how to design, and when REST API Gateway is the right choice.
AWS Cost Optimization Checklist
A practical checklist for cutting an AWS bill: EC2, EBS, S3, data transfer, networking and the habits that keep costs down.
AWS DynamoDB: Single-Table Design and Capacity
DynamoDB core features, single-table design, secondary indexes, capacity modes, consistency, cost optimisation and anti-patterns.
S3 Gateway Endpoint: Cut NAT Gateway Data Costs
Route S3 traffic through a gateway VPC endpoint instead of a NAT gateway: setup, access patterns, cost impact and limits.
The 3-2-1 Backup Rule
Keep 3 copies on 2 kinds of media with 1 offsite: an example setup, media choices and the principles that make backups work.
Data-Driven Testing
Separate test logic from test data: benefits, considerations, common patterns and a Jest test.each example.
DevOps Culture
The pillars and practices behind DevOps: collaboration, automation, CI/CD, observability and security, and how to tell a healthy culture from a weak one.
Reducing AWS Public IPv4 Costs
Since February 2024 AWS charges for every public IPv4 address. How to find them, what they cost, and when IPv6, BYOIP or private subnets pay off.