An IoT platform architecture is the backend blueprint that connects devices to your applications. It covers how devices authenticate, how messages arrive, how data is processed and stored, and how your apps and dashboards read it. Get those pieces in the right order and the system scales. Get them wrong and you rebuild at 10,000 devices.
This guide walks through each component, the choices that matter most, and how to design for production from the start.
TL;DR
- An IoT platform gives you one place to manage many kinds of devices. A bare MQTT broker does not.
- The core path is device, optional gateway, ingestion, processing, storage, then application and API.
- Keep data lean on the device. Enrich it in the cloud.
- Hybrid edge and cloud is the usual model for mature deployments.
- Build security in from day one, including device onboarding and update rollouts.
What an IoT platform is, and how it differs from the wider architecture
IoT architecture describes the whole system: sensors, networks, platform and apps. The platform is the middle part. It is the layer your team builds and runs.
Google Cloud describes an IoT platform as a unified interface for managing a mixed collection of devices. That is the key difference from a standalone MQTT broker. A broker moves messages. A platform also tracks who the devices are, what they are allowed to do and what software they run.
The IET frames it as a processing chain where data is transformed from ingress to egress. That is a useful mental model. Every component either receives, changes, stores or delivers data.
The components, in the order data travels
Devices and gateways
A device can talk straight to the platform if it supports a suitable protocol, transport and payload format. Otherwise it goes through a gateway. University of Stuttgart researchers describe the integration middleware as the core platform component. It receives device data, processes it, passes it to applications and controls devices.
The gateway fills the gaps. Per the same group's field study, a gateway translates between protocols and forwards traffic. Depending on its power, it may also aggregate data before sending it on.
Connectivity and device management
Google's reference design puts an MQTT broker or endpoint at the front, behind a load balancer. Around it sit a credential store, rules engine, authentication and authorization, a device registry, configuration management and update management.
The registry is the part teams skip first and miss most. Without it, you cannot answer simple questions like which devices run which firmware.
Ingestion, processing and storage
Ingestion has one job: take whatever rate the devices send. AWS says the ingestion layer must be highly scalable and handle a high rate of streaming data. Put queues, buffers or messaging services between ingestion and processing. Then the backend scales without affecting devices.
After ingestion, data takes two parallel paths. A published IoT system reference architecture describes stream processing and storage as separate routes to backend apps. It also describes short-term storage tuned for fast access, with retention of hours or days, and long-term archival storage for batch work and audits.
That paper also notes IoT data is often semi-structured and a poor fit for rigid schemas. Plan for variable metadata.
Application and API layer
This is what your users see: dashboards, alerts, a mobile app, a customer portal or a dealer portal. The Cloud Standards Customer Council describes the platform tier as the cloud that receives, processes and analyzes edge data, with API management and visualization. Keep your API stable even when the pipeline behind it changes.
Lean at the edge, rich in the cloud
Devices have small batteries and thin links. Send compact payloads. AWS recommends this approach: keep the device schema optimized for storage and transmission, then enrich with human-readable attributes after ingestion. Store the result in a format tuned to how your app reads it.
In practice:
- Devices send short field codes and raw values.
- The platform decodes them and attaches names, units and customer or site IDs.
- A time-series store holds the enriched records for dashboards.
- Older data is downsampled or archived.
Edge, cloud or both
Three deployment models come up: edge-first, cloud-first and hybrid. HiveMQ calls hybrid the dominant model for mature deployments. It respects the limits of operational equipment and still gives IT teams usable data.
Some data must stay local. The AWS industrial patterns whitepaper explains that system state, configuration and critical alerts need to be consistent and highly available in the local environment. Physics rules out keeping them mainly in the cloud. A factory line should not stop because the internet did.
The same document suggests defining data quality needs in plain terms first. Does data have to arrive in order? Can any be lost? Only then choose protocol settings such as MQTT quality of service.
Protocol choice
HiveMQ describes MQTT as the de facto messaging standard for industrial IoT. It decouples producers from consumers, scales to millions of connections and copes with unreliable links. The same guide says OPC UA leads in brownfield manufacturing, and Modbus, PROFINET and EtherNet/IP remain common. If you connect existing machines, expect a gateway that speaks both worlds.
Security and device management
Security belongs in every layer. AWS advises defense in depth, with several controls rather than one. The Azure reference architecture lists what that covers: secure provisioning, secure connections, secure backend access and encryption of stored data. It also recommends per-device credentials.
For US teams, NIST has worked on onboarding. Its draft guidance describes how a device and the network mutually authenticate, confirm authorization, set up a secure channel and receive network credentials. A companion draft covers continuous monitoring and policy-based checks over the device's life. Trust is not a one-time event at setup.
The same discipline applies to the web side of the platform. Basic website security practices protect the portal your customers log in to.
Updates need a plan too. Foundries.io notes that industrial sites have tight maintenance windows. That favors updates you can stage, verify and roll back. It also favors wave-based rollouts so one bad release does not hit the whole fleet.
Design for scale from the first sprint
Microsoft's reference architecture recommends cloud-native, microservice and serverless designs where each subsystem deploys and scales on its own. That fits IoT well. Ingestion spikes should not force you to scale your billing screen.
A practical checklist for a first production build:
- Define the data flows and their quality needs before choosing tools.
- Pick one device identity scheme and use it everywhere.
- Separate ingestion from processing with a queue.
- Keep raw data briefly and aggregated data longer.
- Version your payload formats so old devices keep working.
- Plan the update and rollback path before the first device ships.
- Build the app layer on a stable API.
Perspective
Most IoT projects we see do not fail on hardware. They fail because nobody owned the whole chain, from firmware to the screen a customer uses.
That is why we build connected device platforms as one project. We scope the device connection, the backend and the app together, and we keep you in the room from concept to launch. You see how data moves and why each choice was made.
Our advice: start with the one decision your users will feel, such as an alert, a report or a control button. Design backward from there. The architecture stays small, and it still has room to grow.
Loic
Build your platform with Westcode
We design and build connected device platforms, mobile apps, web portals and automation for businesses in Canada and the US. If you have a device idea or a pilot that needs to become a product, we can scope the platform and the app development around it.
Tell us what your devices do and who needs to see the data. We will map the architecture with you.
FAQ
What are the main components of an IoT platform?
Devices, an optional gateway, a connectivity endpoint such as an MQTT broker, device management, ingestion, processing, storage and an application layer. Device management covers the registry, credentials and updates. Together they move data from the device to the user and commands back.
Do I need an IoT platform, or is an MQTT broker enough?
A broker is enough to move messages between a few known devices. Once you manage many devices of different types, you need a registry, credentials, configuration and updates. That is when a platform pays off.
Should processing happen at the edge or in the cloud?
Usually both. Keep time-critical and safety-related data local, and send telemetry to the cloud for storage and analysis. Hybrid designs are the common pattern in mature deployments.
How should I store IoT data?
Keep it lean on the device and enrich it after ingestion. Hold recent data in fast storage for a short time and archive the rest for batch analysis and audits. A time-series store suits dashboards.
Sources
- IoT platform product architecture on Google Cloud
- IET guide to IoT data processing chains
- A Detailed Analysis of IoT Platform Architectures, University of Stuttgart
- Comparison of IoT Platform Architectures: A Field Study
- Cloud Customer Architecture for IoT
- AWS Well-Architected IoT Lens
- Internet of Things: System Reference Architecture
- Industrial IoT Architecture Patterns, AWS Whitepaper
- Industrial IoT Solutions guide, HiveMQ
- Microsoft Azure IoT services Reference Architecture
- NIST SP 1800-36B preliminary draft
- NIST SP 1800-36C preliminary draft
- Industrial IoT Device Management, Foundries.io



