URL Shortener on Kubernetes (EKS)
In progressA Python/FastAPI URL shortener being built in phases from an empty AWS account, targeting a Kubernetes cluster on AWS EKS 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, why the mid-build pivot to EKS was worth its control-plane cost) 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.