Azure IoT Hub Device Allocation Policy

Azure device provisioning service provides the option to link the multiple IoT Hub with one device provisioning service instance which help to allocate the device automatically to the specific IoT hub based on set policy during the device enrollment. There are following policies

  • Static configuration
  • Evenly weighted distribution
  • Lowest latency

Static Configuration

When static allocation policy assigned during the devices enrollment then it gives the option to choose the IoT Hub & based on selected IoT hub device get registered on to the specific IoT hub.
The following flow will gives the idea how it will work

Evenly Weighted Distribution

Evenly distributed policy register the device on IoT hub which has less utilization & load, Let’s say we have ten IoT devices and two linked IoT hubs then five devices will be assigned to one IoT hub and five devices to another IoT hub based on how much available IoT hub utilized.
The following process diagram will gives the clear idea on  evenly distributed policy

Lowest latency

Lowest latency policy allows to allocate the device on IoT hub which is near to to the device location. It means device automatically allocate  to the closest IoT hub ((Datacenter) of device location which will make faster communication between devices and IoT hub.
Following diagram shows how the lowest latency policy works

Hope this article helped you to understand about the azure IoT Hub device allocation policies, in next article we will learn about the azure event hub.

Post a Comment

Protected by Copyscape Online Copyright Protection
Copyright © Compilemode