Azure IoT hub s2 vs s3

Kiran Khambete 1 Reputation point
2021-03-16T11:30:38.32+00:00

I need to set up Azure IoT hub with capacity of accepting messages 7000000 / Day. As per cost calculator the cap is 6000000. Please clarify if it is per Azure IoT hub unit or across all Azure Iot hub units. These messages are sent by 100000 devices, so based on https://learn.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-quotas-throttling, I should be able to get this with 3 units of s2. Please confirm, or I have to consider 1 unit of s3

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,116 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde 28,386 Reputation points MVP
    2021-03-16T22:18:44.797+00:00

    Hello @Kiran Khambete ,

    Microsoft supports several Tiers regarding the IoT Hub. Each tier is specialized:

    • Free tier; it's small but free and still useable
    • Basic tier; only for ingesting data, therefore cheaper than the Standard tier
    • Standard tier; support all features

    It seems you are investigating the Standard tier.

    There are 3 sizes of IoT Hubs in the Standard tier. It's just a matter of the number of units you want to use.

    An S1 unit supports 400.000 messages per day. Up to 10 S1 units are supported in the S1 tier. So theoretically, the S1 supports up to 4 million messages.

    One S2 tier unit using costs approx 10 times an S1 unit and supports 6 million messages. so you get 2 million more messages a day for the same price!

    The S2 tier also supports up to 10 S2 units. This is also applicable to the S3.

    You are addressing 7.000.000 messages per day.

    This means just 2 S2 Tier units should cover your needs. Then you support 2 x 6 million = 12 million messages per day!

    There are a few things to take into account:

    • An IoT Hub message is in fact a chunk of 4KB (including message body and application properties). If you send a message of 6KB, it will be counted as 2 chunks (thus 2 IoT Hub messages).
    • To be more efficient with the chunks, The Device SDK of Azure IoT Devices also supports sending a batch of messages so the chunks can be consumed more efficiently.
    1 person found this answer helpful.
    0 comments No comments