Let’s calculate the 3-year total storage cost with vs. without tiered data lifecycle management.
Without tiering (all raw data on SSD InfluxDB):
\[V_{\text{3-year}} = 6.5\text{ GB/day} \times 1,095\text{ days} = 7,118\text{ GB} \approx 7.1\text{ TB}\]
Cloud-managed InfluxDB (SSD storage): $0.25/GB/month
\[C_{\text{no-tiering}} = 7,118\text{ GB} \times \$0.25 \times 36\text{ months} = \$64,062\]
With 4-tier lifecycle:
- Hot SSD (7 days raw): 6.5 GB × 7 = 45.5 GB @ $0.25/GB = $11/month
- Warm HDD (23 days raw): 6.5 GB × 23 = 150 GB @ $0.10/GB = $15/month
- Cold S3 (2 years, 5-min agg): 6.5 GB/day ÷ 5 (aggregation) × 730 days = 949 GB @ $0.023/GB = $22/month
- Archive Glacier (1 year so far): 6.5 GB × 365 = 2,373 GB @ $0.004/GB = $9.50/month
\[C_{\text{monthly}} = \$11 + \$15 + \$22 + \$9.50 = \$57.50/\text{month}\]
\[C_{\text{3-year}} = \$57.50 \times 36 = \$2,070\]
Savings: $64,062 - $2,070 = $61,992 (97% cost reduction!)
Break-even for lifecycle automation: Building the data lifecycle pipeline costs ~$8,000 (2 weeks engineering). Pays for itself in 4.6 months. Without tiering, this smart building’s data storage alone would cost $1,780/month — more than most SMB IT budgets!