Scenario: A logistics company wants to deploy GPS trackers on 10,000 delivery vehicles. Each tracker reports location, speed, and engine diagnostics every 30 seconds. The company needs to select a cloud platform and estimate monthly costs for the first year.
Given:
- Fleet size: 10,000 vehicles
- Reporting interval: Every 30 seconds (2 messages/minute per vehicle)
- Payload size: 200 bytes per message (GPS + diagnostics)
- Operating hours: 12 hours/day, 6 days/week
- Retention requirement: 90 days of raw data, 2 years of aggregated data
- Analytics: Real-time dashboards + daily route optimization reports
- Existing infrastructure: Microsoft Azure Active Directory for employee auth
Solution:
Step 1: Calculate message volume
Messages per vehicle per day: - 12 hours × 60 minutes × 2 messages/min = 1,440 messages/vehicle/day
Total daily messages: - 10,000 vehicles × 1,440 = 14.4 million messages/day
Monthly messages (26 operating days): - 14.4M × 26 = 374.4 million messages/month
Step 2: Calculate data volume
Daily data volume: - 14.4M messages × 200 bytes = 2.88 GB/day
Monthly ingest: - 2.88 GB × 26 = 74.88 GB/month
90-day raw storage: - 74.88 GB × 3 months = 224.64 GB
2-year aggregated storage (assume 10:1 compression): - 74.88 GB × 24 months ÷ 10 = 179.7 GB
Step 3: Compare cloud platform pricing
| Message pricing |
$1.00/million msgs |
$0.80/million (S3 tier) |
| Monthly msg cost |
374.4 × $1.00 = $374 |
374.4 × $0.80 = $300 |
| Device registry |
Free (first 500K) |
Included in tier |
| Storage (hot) |
S3: $0.023/GB |
Blob: $0.018/GB |
| Storage cost |
225 GB × $0.023 = $5.18 |
225 GB × $0.018 = $4.05 |
| Stream processing |
Kinesis: ~$150/month |
Stream Analytics: ~$80/month |
| Integration benefit |
None |
Azure AD SSO included |
Step 4: Evaluate platform fit
| Message cost |
$374/month |
$300/month |
Azure wins |
| Auth integration |
Requires Cognito setup |
Native Azure AD |
Azure wins |
| Analytics tools |
QuickSight ($250/mo) |
Power BI (included) |
Azure wins |
| Edge SDK maturity |
Greengrass (mature) |
IoT Edge (mature) |
Tie |
| Scale experience |
Proven at 1M+ devices |
Proven at 1M+ devices |
Tie |
Step 5: Calculate total monthly cost (Azure)
| IoT Hub (S3 tier, 300M msgs) |
$3,000 |
| Additional messages (74.4M × $0.80) |
$60 |
| Blob Storage (hot tier) |
$4.05 |
| Stream Analytics (6 SU) |
$80 |
| Azure Maps (route optimization) |
$450 |
| Power BI Pro (5 analysts) |
$50 |
| Total |
$3,644/month |
Annual cost: $3,644 × 12 = $43,728/year Cost per vehicle: $43,728 ÷ 10,000 = $4.37/vehicle/year
Result: Azure IoT Hub is the recommended platform due to existing Azure AD integration, lower per-message costs, and included Power BI licensing. Total first-year cost is approximately $43,728, or $4.37 per vehicle annually—well within typical fleet management budgets of $10-20/vehicle/year.
Key Insight: Cloud platform selection should prioritize existing infrastructure integration over raw pricing. The Azure AD integration alone saves 40+ hours of authentication setup and ongoing maintenance. When evaluating costs, include the full stack (messaging + storage + analytics + visualization) rather than just the IoT service pricing, as auxiliary services often exceed core messaging costs.