Pricing of IoT Hub for using build-in event hub endpoint

Atif Sayeedi 1 Reputation point
2021-11-09T11:52:15.04+00:00

I am using iothub Built-in enpoints for the device to cloud message.

So, is it chargeable for using this built-in endpoint.

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
373 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,091 questions
Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
546 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde 27,181 Reputation points MVP
    2021-11-09T22:22:15.8+00:00

    Hello @Atif Sayeedi ,

    Thanks for submitting this question about Azure IoT Hub pricing.

    The pricing of the IoT Hub is pretty straightforward, it's all about the number of messages sent each day.

    Depending on the tier and number of units, you are allowed to send a number Device-to-Cloud and/or Cloud-to-Device messages.

    For example, an S1 tier with two units makes it possible to exchange 2x400000=800000 messages per day.

    This means, there are no extra costs involved other than the monthly price of the IoT Hub, even if the internal routing is used or multiple consumer groups. Even Device Provisioning service Check out the details here.

    But what means consuming that number of messages?

    The IoT Hub counts each kind of message (eg. D2C, C2D command, DPS enrollment) in its own way.

    For example, a message from a device is calculated in chunks of 4Kb. A message of size 7Kb is calculated as two messages.

    A C2D direct method with a 7KB body that returns an 11KB response is seen as 2+3=5 messages.

    So it's possible to make an assumption about the number of messages needed on a daily basis.

    Again, check out the details for a complete list.

    If you reach the daily limitation, the IoT HUb just stops communication for the remaining number of hours that day.

    You can scale up or down the number of units or even the tier by hand, within minutes.

    I hope this makes it a bit more clear to you.

    0 comments No comments