Announcing PhotonIQ: The New AI CDN For Accelerating Apps, APIs, Websites and Services
Pricing
Log inTalk to an expert

IoT Infrastructure

Introduction

IoT Infrastructure Guide

The Internet of Things (IoT) covers a broad range of industrites and applications. There many IoT use cases which require: 

  • Cloud connectivity (asset tracking, home automation, industrial automation, etc.) using technologies like WiFi or cellular networks like NB-IoT, LTE-M, GSM, etc.
  • Long-range local networks (smart city, smart agriculture, etc.) using technologies like LoRa, Zigbee, Sigfox, etc.
  • Short-range local networks (tracking vital health parameters using wearables, smart door locks, etc.) using technologies like BLE, NFC, ZWave, etc.

While implementation specifics vary across these applications, the fundamentals of IoT infrastructure is the same.

As a result, a solid understanding of IoT infrastructure is an important aspect of building reliable IoT systems across industries. In this article, we’ll take a deep dive on the topic of IoT infrastructure.

Infrastructure Requirements for IoT

At a basic level, IoT refers to any system of interconnected devices that have sensors and embedded processing abilities. Note that devices don’t have to use the Internet. Even locally connected devices interacting and exchanging data are an IoT system.

With that in mind, we can break down the IoT infrastructure required to make an IoT system into these elements.

IoT Infrastructure Elements
IoT Infrastructure ElementDescription
SensorUsed for measuring physical quantities that the IoT device shares over the network
ControllerThe brain of the device; acts as a bridge between the sensor and the network and also performs onboard computations and storage
NetworkThe technology used for exchanging data with either other devices in the system, or the Cloud
CloudComputing, storage and gateway resources accessible over the internet
User-facing applicationsMobile and web applications that allow the user to interact with the IoT system and visualize the data
Data AnalyticsThe tools and resources (often on the Cloud) that enable users to derive insights from the data sent by the IoT system

In addition to these basic IoT infrastructure elements, optional hubs can connect a cluster of IoT devices to the internet. And finally, an attribute spanning all these infrastructure elements is security. In the following sections, we’ll take a closer look at each of these infrastructure elements. 

IoT Sensors

IoT sensors are a vital component of enabling IoT use cases. These sensors can monitor conditions like the temperature of a room using a temperature sensor or track a vehicle via GPS. IoT sensors are usually powered by a battery or external DC power source.

While most IoT systems have sensors, there can be some that don’t need them. For example, if you need to control a smart light using an app, you only need an IoT controller.

IoT Controller

An IoT controller is the brain of an IoT application. It acts as a bridge between the sensor and the network and often performs local computations. Today, IoT controllers are becoming more powerful in terms of storage and compute resources. This evolution is driving the popularity of edge computing, which moves storage and compute closer to data sources (e.g., IoT sensors).

Like IoT sensors, controllers use a battery or external power source.

IoT Network

Next comes the ‘interconnectivity’ part. Without network connectivity, a device is not an IoT device but just a standalone computing device. To create an IoT system, devices must connect to other devices or the cloud.

The types of connectivity vary depending on the application, ranging from cloud connectivity to short-range local connectivity (e.g., BLE). Likewise, different network communication mediums will require different IoT hardware (e.g., Bluetooth, WiFi, or LTE chips).

IoT Cloud

If IoT devices communicate with the cloud, you’ll need an IoT cloud platform. You can either provision your own cloud infrastructure or use a cloud service provider like AWS, Azure, GCP, or Macrometa.

Cloud infrastructure for IoT applications involves not only the traditional data processing (app services, virtual machines, serverless functions, etc.) and storage (databases, cache, etc.) services, but also gateway services to gather incoming data and interact with the devices (HTTP/MQTT server, WebSocket server).

Scale is an essential consideration for cloud infrastructure built for IoT applications, especially for enterprises with millions of devices. This is one of the reasons enterprises may forego in-house server infrastructure and use IoT cloud platforms, since they are more straightforward to scale than in-house physical server infrastructure.

Elements of Infrastructure for an IoT System

User-Facing IoT Applications

Depending on the application, the cloud infrastructure may also need to interface with user-facing applications (mobile or web apps), to enable the end-users to visualize the data and send commands to the devices. Thus, user management (sign up, sign in, forgot password, data APIs, etc.) becomes another consideration for your cloud infrastructure.

In some cases (especially BLE applications), the device may directly communicate with the end-user application without the cloud intermediary.

IoT Analytics

As the number of IoT devices increases, you may also start deriving insights from the data that these devices are dumping on your cloud. Thus, data science and analytics evolve into a subsystem and start taking up infrastructure on the cloud. Over here, infrastructure can be in the form of ETL tools, data warehouses, machine learning resources, etc. 

IoT Security

Finally, let’s discuss the all-pervasive infrastructure attribute: security. Security is an attribute that influences the choice and design of every infrastructure element. Depending on the sensitivity of the data, you may need to secure it in transit and at rest. Thus, you may use HTTPS and not HTTP.

This security requirement may compel you to use a controller with hardware accelerators to perform the otherwise heavy encryption operation. Similarly, you may need to define access control rules for your cloud databases and define network inbound and outbound rules for your servers (so that not anyone can post or get data). When handling users’ personal data, you may need to adhere to the applicable regulations (like GDPR) and conduct regular security audits. You may even need dedicated resources to ensure compliance.

Putting it All Together: The minimum IoT infrastructure for real-world applications

Now that we understand the individual elements, let’s answer the question: “What is the minimum amount of IoT infrastructure required for IoT?”. We’ll use a cloud-connected temperature monitor system for a data center or computer room for this example.

First, you’ll need a thing. For this application, that thing is an IoT temperature sensor, a controller, and WiFi connectivity. We’ll use WiFi as our network medium because you can easily find controllers with built-in WiFi capabilities. 

Next, you will build an MQTT or HTTP server on the cloud that will receive the data packets sent by your thing (sensors spread around your data center) and a database to store the packets. You can run a computation service to trigger notifications if the temperature crosses a threshold. You can optionally run a service to perform analytics on the historical data and report metrics like the mean temperature per day, typical variation in temperature, etc.

You will need a mobile or a desktop app to monitor the live data (and optionally historical data and analytics results).

If this data is for a secure facility, like a testing lab, you must encrypt the database and define its access control. You will need to ensure that all data transmissions are encrypted. You will also need to add user authentication to your app.

With all that, you’ve tied all the IoT infrastructure elements in this article come together to create an IoT system.

Like the Article?

Subscribe to our LinkedIn Newsletter to receive more educational content.

Chapters