Commit Graph

10 Commits

Author SHA1 Message Date
Chris Rai
9a1da3c540 cost service: add per-VIN estimate derivation from actual metrics
Based on cec-prd-cluster-1 data (2026-02-05):
- Event Hubs: ~90M msgs/hr, ~230GB/hr
- Active VINs: ~3,760
- AKS usage: ~43 cores / ~219GB
- Platform base estimate: ~34 cores / ~175GB
- Per-VIN marginal: ~2.4mc / ~12MB → rounded to 3mc / 10MB
2026-02-05 20:10:07 -05:00
Chris Rai
87f80d356a cost service v13: lower per-VIN estimates to 3mc/10MB
- Per-VIN marginal: 3 millicores / 10MB (was 50mc/80MB)
- Based on ~3000 VINs using ~10 cores / 30GB marginal on top of platform base
- Total fleet now shows realistic: 87 cores / 569GB for 2463 VINs
- Updated README with v13 output
2026-02-05 12:16:22 -05:00
Chris Rai
a813a51696 update README example output with v12 numbers 2026-02-05 10:37:06 -05:00
Chris Rai
27fe5af164 cost service: update estimates from migration plan v1.1
- Platform base: 80 cores / 544GB RAM (from migration plan)
- Cloud rates: $0.35/core-hr, $0.10/GB-hr, $17/15min managed services
- On-prem rates: $0.015/core-hr, $0.004/GB-hr, $1.50/15min
- Based on ~$1M/year Azure spend, ~92% savings with on-prem
- Updated README with migration plan references
2026-02-05 10:30:09 -05:00
Chris Rai
c48ae896a4 cost service: add platform base + per-VIN resource model with CPU/RAM display
- Updated cost model to show: (Platform Base) + (Per-VIN × VINs)
- Platform base: 176 cores / 896GB RAM (Kafka, ClickHouse, MongoDB, Redis, PostgreSQL, gateway, monitoring)
- Per-VIN marginal: 50mc / 82MB per vehicle
- Added RESOURCE USAGE MODEL and COST FORMULA sections to report
- Added CPU (mc) and RAM (MB) columns to TOP COST VEHICLES table
- Updated README with new report output
- virtual-vehicle: documented Vault cert TTL error troubleshooting
2026-02-04 21:18:24 -05:00
Chris Rai
80c7b7caf3 feedback time 2026-02-02 21:38:02 -05:00
Chris Rai
b764df0e2b cost: bump to $100k/mo cloud estimate, update README with live output
- Cloud rates: CPU $0.30/core-hr, Memory $0.08/GB-hr
- Base infra: $10/15min cloud, $0.90/15min on-prem
- On-prem rates unchanged
- ~90% savings projection
- Image: fiskercloud.azurecr.io/cost:v7
2026-02-01 00:24:25 -05:00
Chris Rai
3f7f2d559f cost: bump rates to match actual Azure billing (~$65k/mo)
- Increased CPU/memory rates and per-VIN resource estimates
- Added base infrastructure cost distribution across active VINs
- Updated README with projected costs for 5000 vehicles
- Image: fiskercloud.azurecr.io/cost:v6
2026-02-01 00:19:29 -05:00
Chris Rai
3dccf80a72 Add cost service for per-VIN cost estimation
- Estimates cloud vs on-prem costs per active vehicle
- Queries feature_table_last_shard from ClickHouse (lightweight)
- 85% savings estimate with on-prem (hardware only)
- Deployed to cec-prd-cluster-1 (internal only)
- Text report endpoint at /cost/report
2026-01-31 21:29:59 -05:00
Chris Rai
1a890d8940 Add cost service for per-VIN cost estimation 2026-01-31 20:29:07 -05:00