# Azure IoT Edge

Azure IoT Edge is a device runtime for deploying, running, and managing containerized Linux applications close to IoT devices through Azure IoT Hub.

Cloud service · Azure. Updated 2026-11-25. Page: https://blowstack.com/tools/cloud-services-hub/azure-iot-edge

> Azure IoT Edge moves data processing, analytics, and application logic onto local devices and gateways to reduce cloud traffic and support operation during connectivity outages. It combines a device runtime, container-based modules, and cloud management through Azure IoT Hub for deployments ranging from individual gateways to distributed device fleets.

## 8 key features of Azure IoT Edge

1. **Containerized application modules**: Package custom processing, protocol adapters, and inference workloads as Docker-compatible Linux containers. Build images for each target processor architecture and configure resource limits to prevent one module from exhausting the gateway.
2. **Cloud-managed deployments**: Use IoT Hub deployment manifests to specify module images, container options, routes, and desired configuration. Automatic deployments target device groups using conditions, enabling staged releases across a fleet.
3. **Local message routing**: EdgeHub routes messages between module outputs, module inputs, downstream devices, and the cloud using configured routes and filters. Modules can communicate through the broker without implementing direct service discovery.
4. **Offline processing and buffering**: Previously deployed modules can continue local processing while cloud connectivity is unavailable. Configure persistent edgeHub storage and message retention to buffer telemetry within the device's available disk capacity.
5. **Transparent and translation gateways**: Connect downstream IoT Hub devices through a transparent gateway, or deploy translation modules for equipment using other protocols. Transparent gateway deployments require correct device relationships, identities, and certificate trust.
6. **Module twins and status reporting**: Use module twin desired properties for application configuration and reported properties for application state. EdgeAgent reports module runtime status so operators can identify failed or unhealthy deployments remotely.
7. **Device identity and secure provisioning**: Authenticate devices with supported credential mechanisms and use Device Provisioning Service for fleet enrollment. Hardware-backed key protection can be incorporated where the device platform and provisioning configuration support it.
8. **Linux and EFLOW deployment options**: Run the runtime directly on supported Linux systems or use EFLOW on supported Windows hosts. Validate the combination of host operating system, processor architecture, runtime release, and module images before rollout.

## Where Azure IoT Edge is used

1. **Industrial telemetry preprocessing**: Deploy protocol adapters and filtering modules on a factory gateway to normalize machine readings and calculate local aggregates. Send summaries and exceptions to the cloud instead of uploading every raw sample.
2. **Local visual inspection**: Run a containerized image inference workload near production cameras and publish defect events to IoT Hub. Size CPU, memory, and any accelerator resources for the model, and explicitly configure access to cameras and hardware devices.
3. **Intermittently connected sites**: Continue processing sensor measurements on vessels, remote facilities, or mobile equipment during network outages. Buffer selected cloud-bound messages on persistent storage and forward them when connectivity returns.
4. **Gateway access for legacy equipment**: Use custom or partner modules to read protocols such as Modbus or OPC UA and transform the readings into application telemetry. Keep industrial devices on local networks while the gateway provides the controlled cloud connection.
5. **Local data minimization**: Remove identifiers, aggregate measurements, or extract events before sending data to Azure. Configure application logging and module storage as well as message routes so sensitive raw data is not unintentionally retained or transmitted.

## How Azure IoT Edge is priced

- **No separate runtime charge**: The Azure IoT Edge runtime is available at no additional charge. Device hardware, local storage, operating systems, connectivity, and operational maintenance remain the customer's responsibility.
- **Azure IoT Hub capacity**: IoT Edge is available with IoT Hub Free and Standard tiers, not Basic. Free is intended for testing and evaluation; production deployments generally use Standard units, with costs determined by the selected tier, unit count, and applicable message metering.
- **Connected services and module licensing**: Container registries, provisioning operations, monitoring ingestion, cloud storage, and downstream processing can incur separate charges. Commercial modules and Azure services deployed at the edge may also have their own licensing or usage-based pricing.

## Services Azure IoT Edge works with

A common architecture uses Device Provisioning Service to assign gateways to IoT Hub, while Azure Container Registry supplies versioned module images. IoT Hub manages deployment configuration and module twins. On each gateway, protocol adapters feed local filtering, Stream Analytics, or custom inference modules through edgeHub routes. Only selected telemetry and events travel upstream, reducing the amount of raw data that must cross the site connection.

Cloud processing usually begins at IoT Hub. Message routing can forward edge-generated telemetry to Event Hubs for independent consumers, while operational metrics can be collected into Azure Monitor and Log Analytics through a separately configured pipeline. Keep application telemetry, runtime metrics, and container logs distinct so retention, access controls, and alerting match each data type.

Design the integration around connectivity boundaries. Initial provisioning, private registry authentication, image downloads, and deployment changes depend on reachable cloud endpoints. Existing local workloads can continue during outages, but message retention depends on configured expiry and available persistent storage. Test certificate renewal, reconnection, replayed messages, and deployment recovery under realistic network failures before expanding a fleet rollout.

- **[Azure IoT Hub](https://blowstack.com/tools/cloud-services-hub/azure-iot-hub)**: IoT Hub provides device and module identities, module twins, deployment management, and cloud messaging for IoT Edge. For example, target gateways tagged with a pilot environment using an automatic deployment, then route their aggregated temperature messages upstream. Use the Free tier for evaluation or an appropriately sized Standard tier for production.
- **[Azure IoT Hub Device Provisioning Service](https://blowstack.com/tools/cloud-services-hub/azure-iot-hub-device-provisioning-service)**: Device Provisioning Service automates registration and assignment of IoT Edge devices to IoT hubs using configured enrollments and allocation policies. For example, provision a batch of factory gateways with X.509 credentials so each gateway obtains its assigned hub during initial setup. Provisioning requires network access and should be tested alongside credential renewal and device replacement procedures.
- **[Azure Container Registry](https://blowstack.com/tools/cloud-services-hub/azure-container-registry)**: Azure Container Registry stores the Linux container images referenced by IoT Edge deployment manifests. For example, a build pipeline can publish ARM64 and AMD64 images for a filtering module, then update a pilot deployment to use the tested release. Configure registry authentication for private image pulls and ensure gateways can reach the registry when images must be downloaded.
- **[Azure Monitor](https://blowstack.com/tools/cloud-services-hub/azure-monitor)**: IoT Edge metrics can be collected and sent to Azure Monitor through a configured metrics collection pipeline. For example, deploy the IoT Edge metrics collector, send its output to a Log Analytics workspace, and alert on growing message queues or repeated module restarts. Container log forwarding requires its own collection configuration; installing the runtime alone does not ingest all device logs.
- **[Event Hubs](https://blowstack.com/tools/cloud-services-hub/event-hubs)**: IoT Hub can route telemetry received from IoT Edge into an Event Hubs endpoint for downstream stream processing. For example, a gateway can publish one-minute equipment aggregates through IoT Hub while an Event Hubs consumer writes them to an analytics platform. Configure routing properties, consumer checkpointing, and duplicate handling across the full delivery path.
- **[Azure Machine Learning](https://blowstack.com/tools/cloud-services-hub/azure-machine-learning)**: Use Azure Machine Learning to train and manage models, then package the required inference code, model artifacts, and dependencies into an IoT Edge-compatible container. For example, deploy a vibration anomaly model to an industrial gateway and send anomaly scores rather than the full signal to IoT Hub. Cloud training does not automatically make a model edge-ready; validate architecture compatibility, memory use, and inference latency on the target hardware.
- **[Azure Stream Analytics](https://blowstack.com/tools/cloud-services-hub/azure-stream-analytics)**: Azure Stream Analytics on IoT Edge runs supported streaming queries locally as an IoT Edge module, with deployment managed through IoT Hub. For example, calculate a rolling average of temperature readings and emit an event when the average exceeds a configured threshold. Validate edge-specific query support and provision adequate gateway resources before deploying the job.
- **[Azure AI Custom Vision](https://blowstack.com/tools/cloud-services-hub/azure-ai-custom-vision)**: Azure IoT Edge can run an exported Custom Vision model in a module to classify images locally. A gateway can inspect images from a production line without sending every frame to the cloud.
- **[Azure Blob Storage](https://blowstack.com/tools/cloud-services-hub/azure-blob-storage)**: The Azure Blob Storage on IoT Edge module lets other modules write blobs to local storage using Blob Storage APIs. It can automatically upload those blobs to an Azure storage account when connectivity is available.
- **[Azure DevOps](https://blowstack.com/tools/cloud-services-hub/azure-devops)**: Azure Pipelines has dedicated IoT Edge tasks that build and push module images, generate deployment manifests, and roll out modules to devices through IoT Hub. A release pipeline can deploy a change to test gateways before rolling it out to production gateways.
- **[Azure DNS](https://blowstack.com/tools/cloud-services-hub/azure-dns)**: Azure IoT Edge devices using Private Link rely on DNS to resolve configured service endpoints to private IP addresses. Azure DNS Private Resolver can make the relevant Azure private DNS zones resolvable from the on-premises network where the devices run.
- **[Azure Functions](https://blowstack.com/tools/cloud-services-hub/azure-functions)**: Azure IoT Edge can run a containerized C# Azure Functions module locally. The function can receive messages on a module input, filter or transform them, and pass the results to another module through an IoT Edge route.
- **[Azure IoT Central](https://blowstack.com/tools/cloud-services-hub/azure-iot-central)**: Azure IoT Edge devices can connect to IoT Central, where operators assign deployment manifests, view module telemetry, and invoke module commands defined in device templates. An IoT Edge gateway can also forward telemetry from downstream devices to the application.
- **[Azure Marketplace](https://blowstack.com/tools/cloud-services-hub/azure-marketplace)**: Azure Marketplace offers ready-made IoT Edge modules that can be selected for an IoT Edge deployment. The runtime pulls the selected module's container image and runs it on the target device.
- **[Azure portal](https://blowstack.com/tools/cloud-services-hub/azure-portal)**: Azure IoT Edge has dedicated management views in the Azure portal. From an IoT hub, operators can register an Edge device, configure its modules and message routes, and inspect the modules and runtime status reported by the device.
- **[Azure Private Link](https://blowstack.com/tools/cloud-services-hub/azure-private-link)**: Azure IoT Edge can use private endpoints for IoT Hub and other supported Azure services it depends on, such as the registry hosting its module images. When public access is disabled, the device must resolve and use the private endpoints to connect.
- **[Azure role-based access control (Azure RBAC)](https://blowstack.com/tools/cloud-services-hub/azure-role-based-access-control-(azure-rbac))**: Access to cloud-side Azure IoT Edge management operations can be scoped to an IoT hub through Azure RBAC. For example, the IoT Hub Data Contributor role grants an operator access to manage Edge deployments without granting subscription-wide access.
- **[Azure Sphere](https://blowstack.com/tools/cloud-services-hub/azure-sphere)**: An Azure Sphere device can connect through an Azure IoT Edge transparent gateway. The gateway forwards its telemetry to IoT Hub while the Sphere device keeps its own IoT Hub device identity.
- **[Azure Stack Edge](https://blowstack.com/tools/cloud-services-hub/azure-stack-edge)**: Supported Azure Stack Edge configurations use the IoT Edge runtime to run containerized workloads on the appliance. Operators can use IoT Hub to deploy modules that process data locally before sending results to Azure.
- **[Azure Vision in Foundry Tools](https://blowstack.com/tools/cloud-services-hub/azure-vision-in-foundry-tools)**: Azure IoT Edge has hosted the Azure Vision Spatial Analysis container as an IoT Edge module. This deployment processes camera streams on a local gateway and emits events such as people counts without uploading the video stream.
- **[Linux Virtual Machines](https://blowstack.com/tools/cloud-services-hub/linux-virtual-machines)**: Azure IoT Edge has a Linux VM deployment option that installs and configures the runtime on an Ubuntu virtual machine. The VM can then register with IoT Hub and run modules as a test or development Edge device.
- **[Microsoft Defender for IoT](https://blowstack.com/tools/cloud-services-hub/microsoft-defender-for-iot)**: Microsoft Defender for IoT offered a security micro-agent packaged as an IoT Edge module. The module collected security telemetry from the Edge host and sent it upstream through IoT Hub.
- **[Microsoft Entra ID (formerly Azure AD)](https://blowstack.com/tools/cloud-services-hub/microsoft-entra-id-(formerly-azure-ad))**: Operators and automation can use Microsoft Entra ID tokens to authenticate to IoT Hub APIs that manage Azure IoT Edge deployments. This authenticates cloud-side management requests; the Edge runtime still connects with its own device credentials.
- **[Virtual Machines](https://blowstack.com/tools/cloud-services-hub/virtual-machines)**: Azure IoT Edge for Linux on Windows can run on an Azure Windows VM that supports nested virtualization. Its Linux guest runs the Edge modules, allowing a Windows VM to serve as a development or test Edge device.
- **[Windows for IoT](https://blowstack.com/tools/cloud-services-hub/windows-for-iot)**: On supported Windows IoT Enterprise devices, Azure IoT Edge for Linux on Windows runs Linux modules in a managed Linux virtual machine. A gateway can keep its Windows workloads on the host while IoT Edge manages the Linux modules.

## Alternatives to Azure IoT Edge in other clouds

### AWS

**[AWS IoT Greengrass](https://blowstack.com/tools/cloud-services-hub/aws-iot-greengrass)**: AWS IoT Greengrass and Azure IoT Edge run and manage applications on IoT devices that can keep processing data during cloud outages. Greengrass supports Lambda functions, containers, and native processes, while IoT Edge packages workloads as Linux containers; Greengrass bills for Core devices that authenticate during the month, while IoT Edge has no separate runtime charge and cloud costs depend on IoT Hub capacity and usage.

| | Azure IoT Edge | AWS IoT Greengrass |
| --- | --- | --- |
| Workload formats | Docker-compatible Linux containers | Lambda, Docker, native, custom runtimes |
| Billing basis | No runtime fee; IoT Hub tier and usage | Core devices authenticating that month |
| Windows deployment | Linux workloads via EFLOW | Greengrass Core on Windows |

Compared Nov 2026.

## What is Azure IoT Edge

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.
