Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 2.41 KB

iot-hub-get-started-create-hub.md

File metadata and controls

37 lines (28 loc) · 2.41 KB

Create an IoT hub

Create an IoT hub for your simulated device app to connect to. The following steps show you how to complete this task by using the Azure portal.

  1. Sign in to the Azure portal.

  2. In the Jumpbar, click New > Internet of Things > IoT Hub.

    Azure portal Jumpbar

  3. In the IoT hub blade, choose the configuration for your IoT hub.

    IoT hub blade

    1. In the Name box, enter a name for your IoT hub. If the Name is valid and available, a green check mark appears in the Name box.
    2. Select a pricing and scale tier. This tutorial does not require a specific tier. For this tutorial, use the free F1 tier.
    3. In Resource group, either create a resource group, or select an existing one. For more information, see Using resource groups to manage your Azure resources.
    4. In Location, select the location to host your IoT hub. For this tutorial, choose your nearest location.
  4. When you have chosen your IoT hub configuration options, click Create. It can take a few minutes for Azure to create your IoT hub. To check the status, you can monitor the progress on the Startboard or in the Notifications panel.

    New IoT hub status

  5. When the IoT hub has been created successfully, click the new tile for your IoT hub in the Azure portal to open the blade for the new IoT hub. Make a note of the Hostname, and then click Shared access policies.

    New IoT hub blade

  6. In the Shared access policies blade, click the iothubowner policy, and then copy and make note of the IoT Hub connection string in the iothubowner blade. For more information, see Access control in the "IoT Hub developer guide."

    Shared access policies blade