Azure IoT Edge runs application logic on devices rather than requiring every measurement to be processed in the cloud. Applications are packaged as Docker-compatible Linux containers called modules. A device can run several modules, such as a protocol adapter, a data filter, and an inference service, with messages routed between them and selected results forwarded to Azure IoT Hub. The runtime runs natively on supported Linux platforms; Windows hosts can run Linux workloads through Azure IoT Edge for Linux on Windows, also called EFLOW.
The runtime includes two system modules with distinct responsibilities. The IoT Edge agent, edgeAgent, manages module lifecycle and reports runtime status. The IoT Edge hub, edgeHub, brokers messages between modules, downstream devices, and IoT Hub. A deployment manifest defines module images, container settings, module twin properties, and message routes. Engineers can deploy configurations to an individual device or use automatic deployments with targeting conditions to manage groups of devices.
Local processing continues during a cloud outage when the required modules, configuration, and credentials are already available. EdgeHub can buffer upstream messages and synchronize them after connectivity returns. Configure persistent storage and an appropriate message time-to-live, then size the disk for expected outage duration and telemetry volume. Offline operation does not provide unlimited retention: expired messages and exhausted storage can cause data loss. Initial provisioning, new image downloads, and cloud-originated configuration changes require connectivity to the relevant services.
IoT Edge supports both transparent gateways and translation gateways. In a transparent gateway, downstream devices retain their own IoT Hub identities and connect through edgeHub. Translation requires additional modules to adapt protocols or represent devices that cannot connect using the IoT Hub device model. EdgeHub accepts MQTT and AMQP connections, but it is not a general-purpose MQTT broker supporting arbitrary user-defined topics. Upstream connection multiplexing requires AMQP; choosing MQTT upstream creates separate connections for modules and downstream devices.
Provision each gateway with an IoT Hub identity, either manually or through Azure IoT Hub Device Provisioning Service. Plan device authentication, gateway certificate trust, credential rotation, and registry access before deploying to production. Hardware-backed key protection can strengthen device identity where supported. Restrict container privileges and host mounts, and expose only the network interfaces required by downstream devices and operations tooling.
Production deployments also require host maintenance and capacity planning. Build images for the target processor architecture, constrain module resource consumption, rotate logs, and monitor disk usage, message queues, and module restarts. Module deployments do not replace operating system or runtime patching. Use supported runtime and operating system releases, test updates on a small device cohort, and maintain a recovery path for unreachable gateways.
IoT Edge is a device-focused runtime rather than a Kubernetes platform or a complete local copy of IoT Hub. For new industrial edge-connected architectures, Microsoft recommends evaluating Azure IoT Operations, which uses Azure Arc-enabled Kubernetes. Choose the platform according to the required device footprint, operational model, protocol support, and existing solution dependencies.