Architecture at a Glance
The monitoring stack runs on a single AWS Lightsail instance ($10/month) hosting:
- MQTT broker (Mosquitto) for lightweight device telemetry ingestion
- InfluxDB for time-series storage with configurable retention policies
- Grafana for custom dashboards tuned to the client's operational KPIs
Sensors and edge gateways publish to MQTT topics; a small Node.js bridge writes to InfluxDB. Grafana queries InfluxDB directly — no per-message SaaS fees, no query metering.
Why Not Managed Monitoring?
The client's previous stack charged per device, per message, and per dashboard user. As their footprint grew across multiple sites, costs scaled linearly while value did not. The Lightsail approach provides predictable flat-rate pricing regardless of message volume spikes during peak operations.
Key Design Decisions
- Self-hosted Grafana — full dashboard ownership, no seat licensing
- Immutable config in Git — dashboards and alerts version-controlled and reproducible
- Role-based access — operators see site-level views; management sees cross-site rollups
- Alert routing — critical thresholds push to email and SMS without a third-party incident platform
Related Services
This project aligns with our IoT & Smart Systems practice — custom telemetry, edge integration, and cost-efficient cloud architecture for operational visibility.