Azure IoT Hub: Create using Azure Portal

Chris Pietschmann Chris Pietschmann on Jun 29, 2019

Azure IoT Hub provides the cloud messaging service for building Internet of Things (IoT) solutions in the cloud using Microsoft Azure. There are a few other options for messaging services within Microsoft Azure, but the Azure IoT Hub service is the only service that's specifically designed for the unique requrements of IoT solutions. This guide helps you create an Azure IoT Hub service within your Azure Subscription using the Azure Portal. From there, you can start provisioning devices and get building that next great IoT solutions.

Create Azure IoT Hub

Follow these steps to create an Azure IoT Hub service instance within Microsoft Azure:

  1. Login to the Azure Portal (

  2. In the left-side navigation of the Azure Portal, click on Create a resource, this will bring up the Azure Marketplace search.

    Create a resource link is highlighted

  3. Within the New blade for the Azure Marketplace, select the Internet of Things group, then click on IoT Hub.

    The Internet of Things group is selected, with the IoT Hub item selected within it.

    Alternate Option: You can also type IoT Hub into the Search the Marketplace box, then select Azure IoT Hub from within the search results. The search box is highlighted with

  4. On the IoT Hub creation blade, you'll need to start by filling in the required fields within the Basics tab.

    The required fields are highlighted within the IoT Hub creation blade.

    Subscription: Just as with all other resources in Microsoft Azure, you need to select the Azure Subscription to create the resource within.

    Resource Group: An existing or new Resource Group to create needs to be selected. All resources in Azure must be organized into Resource Groups.

    Region: Select the Azure Region to create the Azure IoT Hub instance within. This basically maps to the geographic region and datacenter where this service will be hosted.

    IoT Hub Name: A name must be specified for the Azure IoT Hub instance. This name is used as part of the DNS Name (aka Domain Name) used for the service endpoint of the Azure IoT Hub.

    Tip: As a result of the Azure IoT Hub Name being used as part of the DNS name for the service, it must be unique across all other clients using the Azure IoT Hub service within Microsoft Azure; not just unique within your Azure Subscription or Resource Group.

  5. Once the required fields have been entered, you can click Next: Size and scale to specify those option if necessary.

    Next: Size and scale button is displayed

  6. On the Size and scale tab, there are some options that can be configured for the pricing tier and scalability setting for the Azure IoT Hub. You can leave these at their defaults, or optionally configure them now.

    Size and scale tab content is displayed

    Pricing and scale tier: This setting allows you to set the pricing tier. This affects the overall cost and performance scale for the service. There are several pricing tiers to choose from.

    Number of IoT Hub units: Each IoT Hub unit is like an instance of the scale tier that was selected. You can set 1 or more units depending on how many messages you need to send through the IoT Hub per day.

  7. On the Szie and scale tab, there is also an Advanced Settings option that can be expanded. This enables you to configure the number of **Device-to-Cloud partitions. This configures the number of simultaneous readers of messages within Azure IoT Hub.

    The Advanced Settings are displayed

  8. Once the Size and scale settings are configures as needed, then click the Review + create button to review the settings that have been selected before creating the service instance.

    The Review + create button is displayed

  9. On the Review + create tab, you can review the settings that were chosed to configure the new Azure IoT Hub service instance. The service hasn't been created yet. The purpose of this step is to verify what you are going to create.

    The Review + create tab is displayed

  10. Once all the settings necessary for your Azure IoT Hub service instance are verified, then click Creawte to go ahead and kick off the creation of the service instance.

    The Create button is displayed