Reader small image

You're reading from  Azure IoT Development Cookbook

Product typeBook
Published inAug 2017
Reading LevelIntermediate
PublisherPackt
ISBN-139781787283008
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Yatish Patil
Yatish Patil
author image
Yatish Patil

Yatish Patil is currently working with Saviant Consulting as a technical project manager. He has delivered enterprise IoT and analytics applications using Microsoft Azure, ASP.NET, MVC, C#, SQL Server, and NoSQL. He has diverse industrial experience in IT and has worked in a variety of domains, such as utilities, manufacturing, and engineering. He has completed his certification in Developing Azure Solutions in the Microsoft Azure Certification. Yatish was also the technical reviewer for a Microsoft Azure-based technology book Microsoft Azure IaaS Essentials, which teaches guides Microsoft Azure subscribers how to design, configure, and build cloud-based infrastructure using Microsoft Azure. Yatish was among the industry speakers at India IoT Symposium, 2016. He delivered the industry session on remote asset monitoring with Microsoft Azure IoT Suite.
Read more about Yatish Patil

Right arrow

Creating Azure IoT Hub from the portal

Microsoft Azure is a leading PaaS service provider. The Azure IoT Hub is nothing but a fully managed service that enables secure and bidirectional communication with millions of IoT enabled devices using IoT protocols such as HTTPS, AMQP, and MQTT. It helps to connect, control, and manage these devices. Microsoft Azure provides easy-to-easy IoT SDK, which are available in various languages, such as C#, C, Node.js, and so on.

Getting ready

Azure IoT Hub provides:

  • Device identity and registry
  • Device-to-cloud and cloud-to-device communication, including one way or bidirectional
  • It also supports file transfer messages
  • We can query the device store information to find out device properties, firmware versions, and other configurations
  • SDK for most platforms and languages to support development
  • Secure authentication on a per-device basis
  • Monitoring for devices and messages

Azure IoT Hub diagram from Microsoft Azure documentation

How to do it...

To create your first IoT Hub, you will need a Microsoft Azure account. You can easily get registered on Azure.com.

Once you have access, you can follow the steps to create your IoT Hub:

  1. Log in to https://portal.azure.com.
  2. Once you are logged in, click on the New menu:
  1. This blade will show all the Azure services available, we need to expand the Internet of Things and hit the IoT Hub, as shown in the following:
  1. This will come up with a new blade, where we need to fill in the details and hit the button to the create IoT Hub:
    • We will give the Name as IoTHubCookeBook
    • Pricing and scale tier should be F1 - Free
Microsoft Azure provides free tier. This is useful for learning, as well as to evaluate any PoC on how the IoT solution will be developed.
  1. We will select the data center of our choice from the list of the many available.
  2. Partitions: A default value is set when the IoT Hub is created. You can change the number of partitions through this setting:
  1. Hit the Create button and Azure will create the free tier IoT Hub for you in a moment:
Previous PageNext Page
You have been reading a chapter from
Azure IoT Development Cookbook
Published in: Aug 2017Publisher: PacktISBN-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.
undefined
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

Author (1)

author image
Yatish Patil

Yatish Patil is currently working with Saviant Consulting as a technical project manager. He has delivered enterprise IoT and analytics applications using Microsoft Azure, ASP.NET, MVC, C#, SQL Server, and NoSQL. He has diverse industrial experience in IT and has worked in a variety of domains, such as utilities, manufacturing, and engineering. He has completed his certification in Developing Azure Solutions in the Microsoft Azure Certification. Yatish was also the technical reviewer for a Microsoft Azure-based technology book Microsoft Azure IaaS Essentials, which teaches guides Microsoft Azure subscribers how to design, configure, and build cloud-based infrastructure using Microsoft Azure. Yatish was among the industry speakers at India IoT Symposium, 2016. He delivered the industry session on remote asset monitoring with Microsoft Azure IoT Suite.
Read more about Yatish Patil