I am using iothub Built-in enpoints for the device to cloud message.
So, is it chargeable for using this built-in endpoint.
Hello @AtifSayeedi-1963 ,
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.
10 people are following this question.