Outcomes
- About $70 a month, against an estimated $200 or more on Fargate.
- Retention up to 90 days for metrics, 30 days for logs and 14 days for traces.
- The 1.33 TB telemetry store retired.
The problem
Teams used a hosted Grafana plan limited to 3 users and 14 days of retention, and metered per series.
An earlier in-house telemetry store on Aurora had grown to 1.33 TB and about $250 to $300 a month.
What I built
- Grafana, Alloy, Prometheus, Loki and Tempo on one private Graviton host, with Docker Compose, digest-pinned images and deploys from the main branch through SSM.
- No new public endpoint: Grafana sits behind Jupiter's sign-in, and OTLP ingest goes through Jupiter with token auth.
- Dashboards locked to code, and 25 alert rules generated across repositories with Discord routing and weekend mute timings.
- Daily EBS snapshots and documented restore runbooks.
- A self-hosted uptime service with 29 monitors and private probes in two regions.
Architecture and stack
- Grafana, Alloy, Prometheus, Loki, Tempo, OpenTelemetry
- AWS: EC2 Graviton, S3, EBS snapshots, SSM
- OpenTofu, Python
- OpenStatus