aws-architecture
Installation
SKILL.md
AWS Architecture
Architecture patterns for AWS — serverless and long-running.
- Webhook Ingestion Architecture — Webhook pipeline: API GW → SQS FIFO → Routing Lambda → per-type SQS → Handler Lambda. Includes queue naming, payload routing, DLQ strategy, and reference diagrams.
- Microservice Architecture — Recommended directory layout and layer sharing strategy for Python Lambda microservices.
- Environment Target Guard — Alarm when a service calls the wrong environment of an external system, staging instead of production or the reverse: the shared client logs its target, a CloudWatch metric filter counts calls to the wrong one, a standing alarm and a clock-driven reminder alarm notify SNS. Adds a CloudFormation hook as a second layer that catches a flip deployed to an idle function, which no runtime check can see. Ships copy-paste nested stacks for both, composes with queue-triggered-lambda.yml, and includes how to rehearse the alarms from the CLI and with a canary function.
- Long-Running Server Deployment — Deploy pipeline: push → test → image to ECR → migrate → ECS Express Mode (Fargate + ALB), with durable infrastructure in a stack the pipeline never runs. Includes why not serverless or EC2, disposable compute, keyless OIDC, reversible-before-irreversible ordering, and expand/contract migrations.