OmniRetail — Observability Stack

Oct 2026 · eu-west-1 · ~$200–230 / month

Clients
.NET Services
orders-service · product-service
customer-service · user-service
Authorization: Basic
Dev Team
Explore logs · traces · metrics
grafana.omniretail.app
HTTPS + Azure AD
HTTPS :443 — dashboard via Cloudflare · ingest straight to AWS ALB
Cloudflare — WAF · DDoS · TLS · Tunnel — Dashboard only
grafana.omniretail.app
Dashboard · traffic absorbed
at Cloudflare edge
Proxied · Tunnel
Custom error page
Shown on 1033 / 5xx instead of
Cloudflare's default page
grafana-unavailable.html
Tunnel — outbound from cloudflared on EC2 · no inbound port for the dashboard
AWS eu-west-1 — Ingest path · DNS + Load Balancing + TLS
Route 53
ingest.omniretailcore.com
grafana.omniretailcore.com → 301
A → ALB
Application Load Balancer
HTTPS :443 · HTTP→HTTPS :80
Host + path routing
TLS termination
ACM
*.omniretailcore.com
Auto-renewing
Free managed cert
HTTP — ALB security group only
EC2 — m6i.xlarge · 4 vCPU / 16 GB · Amazon Linux 2023 · no Elastic IP (ALB targets by instance ID)
Docker Compose — bridge network
Auth gateway & UI
Nginx 1.27
HTTP Basic Auth
Rate limit: 100 req/s per IP
:3100 · :4318 · :9090
Grafana 11.6
Dashboards · Alerts
Logs · Traces · Metrics
:3000 · via cloudflared
cloudflared
Tunnel connector
Outbound QUIC :7844
→ grafana:3000
Alloy
Log pipeline: drop noise,
label, extract metrics → Loki
/loki/api/v1/*
Backend services
Loki 3.1
Log ingestion
S3 backend
:3100
Tempo 2.6
Trace ingestion
OTLP HTTP · S3
:4318
Prometheus 2.51
Metrics · OTLP receiver
EBS · 180-day retention
:9090
S3 API — same region, no transfer cost
Storage
S3 — loki/
Log chunks
180-day retention · 185-day lifecycle
$0.023 / GB·mo
S3 — tempo/
Trace blocks
180-day retention · 185-day lifecycle
$0.023 / GB·mo
Secrets Manager
Per-service API keys
Read via EC2 instance role
no keys on disk
Cost Analysis
Grafana Cloud vs self-hosted — 1 TB traces · 500 GB logs · 200M requests/mo
Before · Grafana Cloud
$600
per month
  • Loki log ingestion
  • Tempo trace ingestion
  • Prometheus metrics
  • Grafana dashboards
  • Billed per user + ingestion volume
→
~64% cheaper
After · Self-hosted (AWS)
$200–230
per month
  • EC2 m6i.xlarge (on-demand) — ~$156
  • S3 logs + traces — $7–35
  • ALB + ACM — $28
  • EBS 100 GB gp3 — $8
  • No per-seat or per-GB ingestion fees
~$385/mo
Monthly saving
~$4.6k/yr
Annual saving
~$13.9k
3-year saving
180d
Data retention
Monthly spend
Grafana Cloud
$600
Self-hosted
$215

ALB routing rules

Host + Path Target Auth
ingest.omniretailcore.com/loki/* :3100 Nginx → Alloy → Loki Basic
ingest.omniretailcore.com/v1/traces* :4318 Nginx → Tempo Basic
ingest.omniretailcore.com/api/v1/otlp/* :9090 Nginx → Prometheus Basic
ingest.omniretailcore.com/* :3100 Nginx → Loki Basic
Default (any other host) 301 → grafana.omniretail.app —
grafana.omniretail.app Not on ALB — Cloudflare Tunnel → :3000 Azure AD

Security model

Control Detail
Network EC2 ports accept ALB SG only — direct IP blocked
Dashboard Cloudflare Tunnel (outbound only) + Azure AD SSO
Health checks ⚠ ALB checks on /ready get 401 (Basic Auth) — targets show unhealthy, ALB fails open
SSH :22 Platform team IP only — SG locked
Ingest Per-service keys — revoke without downtime
TLS HTTPS everywhere, ACM auto-renews free
IAM Instance role scoped to omniretail-observability bucket only