【 Cloud 】設定 Azure IoT Hub 中的 IoT Edge

【 Cloud 】設定 Azure IoT Hub 中的 IoT Edge

內容

  • 學習目標
  • 前置準備作業
  • 設定 Azure IoT Hub
  • 設定 Azure IoT Edge
  • 取得 Primary Connection String

學習目標

  • 設定 Azure IoT Hub 中的 IoT Edge

前置準備作業


設定 Azure IoT Hub

Step 1. 登入到 Azure


Step 2. 開啟 Azure IoT Hub 服務

  • 在上方搜尋框輸入 iot hub 再點選搜尋結果中的 IoT Hub

    -----2019-12-20---11.16.37


Step 3. 建立 Azure IoT Hub

  • 3.1 點選下方的 Create IoT Hub

    -----2019-12-20---11.19.59

  • 3.2 填寫 Azure IoT Edge 相關資訊

    • Subscription 欄位選擇所要使用哪個訂閱來存取 Azure 服務
    • Resource Group 欄位建立新的資源群組或使用已存在的資源群組
    • Region 欄位選擇所要使用哪個區域的 Azure IoT Hub
    • IoT Hub Name 欄位輸入容易識別的 IoT Hub 名稱
    • 在點選下方的 Next: Size and scale >> 按鈕

    -----2019-12-20---11.22.35

  • 3.3 Pricing and scale tier 請選擇 S1:Standard tier 再點選左下方的 Review + create

    • S1:Standard tier 才能 Azure IoT Edge 功能

    -----2019-12-20---12.57.08

  • 3.4 點選左下方的 Create

    -----2019-12-20---11.30.36

  • 3.5 建立過程

    -----2019-12-20---11.31.33

  • 3.6 點選下方的 Go to resource

    -----2019-12-20---11.34.37


設定 Azure IoT Edge

Step 1. 設定相關資訊

  • 1.1 點選左方 Automatic Device Management 中的 IoT Edge

    -----2019-12-20---11.37.01

  • 1.2 點選上方的 Add an IoT Edge device

    -----2019-12-20---11.38.44

  • 1.3 輸入 Device ID 再點選下方的 Save

    -----2019-12-20---11.40.27


取得 Primary Connection String

Step 1. 取得資訊

  • 點選所建立的 IoT Edge

    -----2019-12-20---11.43.42

  • 取得 Primary Connection String

    • ㊟ 點選右邊的複製按鈕即可複製

    -----2019-12-20---11.45.29


GitHub
List of blogs