AWS

2 posts

Infrastructure as Code for a Multi-Environment AWS System with Cross-Region DR

Managing several environments and cross-region disaster recovery for a containerized business system with Terraform. Seven choices (tool, environment layout, state, accounts, who applies, secrets, DR level), each compared against the common alternatives and where they break, plus a repository layout you can build from.

  • AWS
  • Terraform
  • IaC
  • DevOps
November 13, 2026 · 14 min · 2907 words · Sam Peng
A grid of five infrastructure layers by five environments, each cell a separate Terraform state

An Email-Driven Business Processing Model: A Near-Real-Time Architecture

A general architecture for business processes driven by a shared mailbox — near-real-time processing with Lambda + SQS, decision separated from execution, the mailbox as the source of truth, idempotency and graceful degradation, plus LLM-based intent classification.

  • Architecture
  • Email Processing
  • AWS
  • Lambda
November 13, 2026 · 11 min · 2125 words · Sam Peng
Email-driven business processing model — ingest, SQS and worker