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
AWS IoT Core: $1.00/million messages
Azure IoT Hub: $0.80/million on the S3 tier
Monthly message cost
AWS IoT Core: 374.4 x $1.00 = $374
Azure IoT Hub: 374.4 x $0.80 = $300
Device registry
AWS IoT Core: Free for the first 500K devices
Azure IoT Hub: Included in the hub tier
Storage (hot tier)
AWS IoT Core: S3 at $0.023/GB
Azure IoT Hub: Blob Storage at $0.018/GB
Stream processing
AWS IoT Core: Kinesis at about $150/month
Azure IoT Hub: Stream Analytics at about $80/month
Integration benefit
AWS IoT Core: No built-in Azure AD equivalent
Azure IoT Hub: Azure AD SSO included
Step 4: Evaluate platform fit
Message cost
AWS IoT Core: $374/month
Azure IoT Hub: $300/month
Decision: Azure wins
Authentication integration
AWS IoT Core: Requires Cognito setup
Azure IoT Hub: Native Azure AD integration
Decision: Azure wins
Analytics tooling
AWS IoT Core: QuickSight at about $250/month
Azure IoT Hub: Power BI included
Decision: Azure wins
Edge SDK maturity
AWS IoT Core: Greengrass is mature
Azure IoT Hub: IoT Edge is mature
Decision: Tie
Scale experience
AWS IoT Core: Proven at 1M+ devices
Azure IoT Hub: Proven at 1M+ devices
Decision: Tie
Step 5: Calculate total monthly cost (Azure)
- IoT Hub (S3 tier, 300M messages): $3,000
- Additional messages (74.4M x $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.