The Cloud Outpost
Cloud-Native Deployment Platform
A delivery platform built stage by stage around a URL shortener: tested, containerised and running on local Kubernetes today, with AWS, Terraform and GitOps next.
How it works
- A FastAPI service shortens links, redirects, and counts clicks per day
- A small Docker image that runs as a non-root user; Docker Compose runs it with PostgreSQL
- A local Kubernetes cluster runs two copies of the API, PostgreSQL with its own storage, and a migration job
The problem
Shipping software by hand is slow and risky. I want to show how real teams build, test, ship and run an app, so I am building a delivery platform around a deliberately simple URL shortener, one stage at a time.
Key points
- Separate health checks: only the readiness check touches the database.
- Prometheus metrics labelled by route, so they stay cheap to store.
- 13 automated tests, and database migrations run as their own step.
The result
Built so far: the app is complete and tested, and the whole stack runs on a local Kubernetes cluster from plain manifests, with its database migrated in its own step. The cloud stages come next.
What comes next
Planned, not built yet. Each item moves up into the page once it is in the code.
- Kubernetes hardening: health probes, resource limits, an ingress and autoscaling.
- AWS infrastructure from reusable Terraform modules: a multi-AZ network, EKS, RDS and ECR, torn down and rebuilt from code to control cost.
- CI with GitHub Actions (tests, Trivy image scan, Checkov infrastructure scan) and GitOps delivery with Argo CD.
- No stored cloud keys: GitHub OIDC, IRSA, Secrets Manager and KMS, plus Kyverno and network policies.
- The app as a Helm chart, with Prometheus and Grafana dashboards, alerts, a runbook and rollback drills.
Stack
- Backend
- Data
- Containers
- Monitoring
- Tests and quality