URL Shortener on ECS Fargate
In progressA Python/FastAPI URL shortener being built in phases from an empty AWS account, targeting ECS Fargate provisioned by Terraform, with a GitHub Actions pipeline and CloudWatch observability in later phases. Phases 0 and 1 are done: IAM bootstrap, and a multi-stage Docker build running as a non-root user: 230MB versus the 1GB+ a naive single-stage build produces.
The build log is the point. It records the real reasoning (why
root credentials can't be scoped down the way an IAM identity can, why health
checks belong on a dedicated dependency-light route rather than a business-logic
one) and the mistakes as they happened, including a credential exposure that led
to adding gitleaks pre-commit scanning, and the discovery that
gitleaks' AWS rule doesn't flag a bare AKIA key without valid
checksum structure.