Azure IoT Edge Architecture

Azure IoT Edge is a cloud service that enables you to remotely manage and monitor IoT solutions. It works by deploying code (called modules) to the edge devices. This document outlines the core architectural components of Azure IoT Edge.

Core Components

Azure IoT Edge is composed of several key components that work together to enable edge intelligence.

IoT Edge Runtime

The IoT Edge runtime is the collection of programs that run on the edge device and manage the workload. It consists of two main parts:

Modules

Modules are the basic building blocks of an IoT Edge solution. They are containers that run specific code, such as:

Modules communicate with each other using a publish-subscribe messaging pattern facilitated by the IoT Edge Hub.

Deployment Manifest

A deployment manifest is a JSON file that defines the modules to be deployed to an IoT Edge device, their configurations, and the routes between them. This manifest is sent from IoT Hub to the IoT Edge Agent, which then orchestrates the deployment.

Architecture Diagram

The following diagram illustrates the typical architecture of an Azure IoT Edge solution:

graph TD A[Azure IoT Hub] -- Deployment Manifest --> B(IoT Edge Runtime); B -- Manages --> C{IoT Edge Agent}; B -- Local Proxy & Routing --> D{IoT Edge Hub}; C -- Deploys & Manages --> E(Module 1: Custom Logic); C -- Deploys & Manages --> F(Module 2: Azure Stream Analytics); C -- Deploys & Manages --> G(Module 3: Machine Learning); D -- Routes Messages --> E; D -- Routes Messages --> F; D -- Routes Messages --> G; E -- Messages --> D; F -- Messages --> D; G -- Messages --> D; D -- Cloud Upload --> A; H[Edge Device Hardware] --> E; H --> F; H --> G;

This diagram shows how IoT Hub orchestrates deployments to the IoT Edge Runtime. The Runtime's Agent manages individual modules, and the Hub handles local messaging and communication back to IoT Hub.

Key Capabilities

Learn More: Explore the IoT Edge Concepts for a deeper understanding of the underlying principles.

Device Management

Device management is a critical aspect of IoT Edge. Azure IoT Hub provides capabilities for:

The IoT Edge Agent plays a crucial role in receiving and applying desired configurations from the cloud.

Understanding this architecture is key to building robust and scalable edge computing solutions with Azure IoT Edge.