Skip to content
IoT Crest

IoT architecture: layers, cloud and edge

By Hamza Rivera, published , 4 min read

Short answer: An IoT architecture sets out where the devices, the network, the processing and the applications sit. The ITU-T Y.2060 reference model, which a 2024 survey in Sensors describes, has four layers: devices, network, service support and application support, and applications. Non-IP devices usually need an intermediary, most often a gateway, to reach the cloud. Processing can sit in the cloud, at the edge, or in fog nodes between them. The survey notes that no proposed architecture is ideal for all domains, and it points to a shift toward hybrid and decentralised models.

IoT architecture explained: the layers of a connected system, how devices reach the cloud through gateways, and where cloud, edge and fog processing sit.

This article covers the layers of a typical IoT system, how IP and non-IP devices connect, what cloud, edge and fog processing each mean, and the protocols at each layer of the stack It does not cover a choice of cloud provider, the cost of each platform, step-by-step deployment, and factory automation standards such as OPC UA in detail

An IoT architecture is the arrangement of a connected system: the devices, the network that carries their data, where the data is processed, and the applications that use it. The number of connected devices is growing fast. The survey cited below reports that more than 15 billion IoT devices were connected by 2023, and that the figure is forecast to almost double by 2030, citing Statista.

This guide draws on a 2024 survey by Dauda, Flauzac and Nolot in Sensors (volume 24, issue 16). It covers the cloud, edge and fog architectures, and the IoT protocols and standards.

The layers of a typical system

The survey describes the ITU-T Y.2060 reference model, with four layers:

  • Device layer. The sensors, actuators and machines that collect data or act on instructions.
  • Network layer. The links between devices and the network, such as Wi-Fi, Bluetooth, Zigbee and cellular.
  • Service support and application support layer. The middle layer. It processes data, manages devices, handles security and passes messages between devices and applications. It often includes edge computing resources. The survey lists MQTT and CoAP among its protocols.
  • Application layer. The software that uses the data, from a simple dashboard to predictive maintenance or an AI decision engine.

How devices reach the cloud

The survey splits devices into two groups by how they connect.

IP-enabled devices have networking built in. They can talk over the internet with TCP/IP or UDP/IP, or with higher-level protocols such as HTTP and REST.

Non-IP devices have no native networking. They need an intermediary, which is usually a gateway. The gateway collects data from the devices using their own or specialised protocols, converts it, and sends it to the cloud over an IP network. Non-IP devices are typically lighter than IP devices, and they may use wired or wireless links.

The survey also says cloud platforms such as AWS IoT, Azure IoT and Google Cloud IoT use edge gateways for device connection, data ingestion, security and management. For how gateways are built and used in factories, see the IoT gateway guide.

Where the processing sits

The survey compares three places for processing.

  • Cloud. Cloud computing gives users access to services such as storage, servers, databases, networking, software and analytics, rented from a provider rather than owned. The survey lists network latency, security and privacy, and data protection among its challenges.
  • Edge. Gateways and the devices themselves. Data is processed and analysed locally, close to where it is generated, instead of travelling long distances. Edge devices have less processing power, memory and energy than cloud servers.
  • Fog. A decentralised layer between the two. It divides the cloud into smaller subnetworks and brings processing closer to the data source. The survey lists reduced latency, better security and privacy, and scalability as its aims.

The survey treats these as paradigms that a design can combine. Its conclusion describes a shift toward hybrid and decentralised models. For the trade-offs in more depth, see the edge computing vs cloud computing guide.

The protocol stack

The survey groups IoT protocols into application protocols and network protocols, and it sorts the application protocols by communication model, such as publish/subscribe, request/response and messaging.

Below the application layer, the transport layer uses TCP or UDP. TCP gives reliable, ordered delivery, which matters for firmware updates. UDP has lower overhead and latency. The survey notes that MQTT runs over TCP and gains its retransmission and acknowledgement. The data link and physical layer includes IEEE 802.15.4 for low-rate wireless personal area networks. For a comparison of the common options, see the IoT protocols guide.

What a good design balances

The survey, citing two other sources, lists scalability, interoperability, security, data management, latency, real-time processing and autonomy as the principles that matter. It says a design should balance scalability, security, latency and cost-effectiveness.

The survey also says that none of the proposed architectures is ideal for all application domains, because each area poses its own set of requirements.

What the survey does not show

The survey reviews published architectures and standards. In our reading, it does not test them against each other or measure cost or performance for any product. It also describes an edge gateway that its authors proposed for dynamic application management, and presents it as their own contribution to edge architecture.

For the wider picture of the parts that make up an industrial system, see what an industrial IoT system is made of. For the device side, see IoT sensors.

Sources

Common questions

What is IoT architecture?

It is the arrangement of the parts of an IoT system: the devices and sensors, the network that carries their data, the place where the data is processed and stored, and the applications that use it. The survey describes it as a complex network of interconnected components that work together to collect, process, analyze, and act upon data generated by IoT devices.

What are the layers of an IoT system?

The survey describes four: the device layer, the network layer, a service support and application support layer that handles processing, device management, security and communication, and the application layer that uses the data.

What is an IoT gateway for?

It connects devices that cannot talk IP directly. It collects their data over their own protocols, translates it, and sends it to the cloud over an IP network. The survey also says cloud platforms use edge gateways for ingestion, security and management.

Is there one best IoT architecture?

No. The survey says none of the proposed architectures is ideal for every domain, because each area has its own requirements. The choice depends on scalability, latency, reliability, security and cost.

Written by Hamza Rivera. Facts in this article follow the editorial policy: each one is behavior that is well established or set by the standard named in the text. A confirmed error is fixed in the article and its Updated date changes.

More from Industrial IoT

All industrial IoT articles

Sponsor an article in this topic

Sponsored articles and in-article link placements for IoT vendors, agencies and SEO buyers. Every sponsored piece is labeled, edited to the same standard as the rest of the site, and placed in the hub its readers already visit. Rates on request.