Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Azure IoT Development Cookbook

You're reading from  Azure IoT Development Cookbook

Product type Book
Published in Aug 2017
Publisher Packt
ISBN-13 9781787283008
Pages 254 pages
Edition 1st Edition
Languages
Author (1):
Yatish Patil Yatish Patil
Profile icon Yatish Patil

Table of Contents (10) Chapters

Preface 1. Getting Started with the Azure IoT Platform 2. Introducing Device Management 3. IoT Hub Messaging and Commands 4. Azure IoT Communication Protocols 5. Azure IoT Hub Security and Best Practices 6. IoT Suite and Pre-Configured Solutions 7. Azure IoT Analytics 8. Using Real Devices to Connect and Implement Azure IoT Hub 9. Managing the Azure IoT Hub

Calculating the pricing of IoT Hub

IoT Hub is offered in four editions: Free, S1, S2, and S3. IoT Hub is generally available. In this section, we will understand the different instance sizes and will apply a calculation to find the pricing of IoT Hub. This will help you to identify the right size, and right cost for your IoT solution.

Getting ready

The pricing table based on Microsoft Azure IoT Hub pricing is as follows:

Instance

Price

Message/Day

Message size

Free

$ 0

8,000

0.5 KB

S1

$ 50

400,000

4 KB

S2

$ 500

6,000,000

4 KB

S3

$ 5,000

300,000,000

4 KB

How to do it...

To find out the what will be the price based on the IoT solution needs we will use the pricing calculator provided by Microsoft Azure:

  1. The price is per size of the IoT Hub instance.
  2. First find out the size and units per size required.
  3. First use the following link to go to Azure pricing calculator:

https://azure.microsoft.com/en-gb/pricing/calculator/

  1. Now select the Azure service for which you want to estimate the price, in our case it is IoT Hub:
Select the service for estimation
  1. Once you have selected IoT Hub service, it will show the estimation area:
IoT Hub selected for price estimation
  1. Select the IoT Hub tier based on the number of messages per day capability you want to build in your IoT solution:
Select the IoT Hub tier
  1. Select the number of units required to full fill your requirement amount of messages per day:
Set the units for selected tier
  1. I have selected S1 tier with 2 units. It will support 800 k messages per day at $100.

There's more...

Let's consider an example to understand how the pricing works.

A device ingests the 1 KB device-to-cloud message size data per minute to the IoT Hub. The solution backend invokes a method (with 512 bytes of payload) on the device every ten minutes to trigger a specific action. The device responds to the method with a result of 200 bytes.

The device consumes 1 message * 60 minutes * 24 hours = 1440 messages per day for the device-to-cloud messages, and 2 requests plus responses * 6 times per hour * 24 hours = 288 messages for the methods, for a total of 1728 messages per day.

See also

You can refer to Microsoft documentation for similar examples; click here https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-pricing.

You have been reading a chapter from
Azure IoT Development Cookbook
Published in: Aug 2017 Publisher: Packt ISBN-13: 9781787283008
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}