【 Cloud 】設定 Azure IoT Hub 中的 IoT Edge
內容
- 學習目標
- 前置準備作業
- 設定
Azure IoT Hub - 設定
Azure IoT Edge - 取得
Primary Connection String
學習目標
- 設定
Azure IoT Hub中的IoT Edge
前置準備作業
- 已註冊 Azure 帳號
設定 Azure IoT Hub
Step 1. 登入到 Azure
Step 2. 開啟 Azure IoT Hub 服務
-
在上方搜尋框輸入
iot hub再點選搜尋結果中的IoT Hub
Step 3. 建立 Azure IoT Hub
-
3.1 點選下方的
Create IoT Hub -
3.2 填寫
Azure IoT Edge相關資訊- 在
Subscription欄位選擇所要使用哪個訂閱來存取 Azure 服務 - 在
Resource Group欄位建立新的資源群組或使用已存在的資源群組 - 在
Region欄位選擇所要使用哪個區域的Azure IoT Hub - 在
IoT Hub Name欄位輸入容易識別的IoT Hub名稱 - 在點選下方的
Next: Size and scale >>按鈕
- 在
-
3.3
Pricing and scale tier請選擇S1:Standard tier再點選左下方的Review + create- ㊟
S1:Standard tier才能Azure IoT Edge功能
- ㊟
-
3.4 點選左下方的
Create -
3.5 建立過程
-
3.6 點選下方的
Go to resource
設定 Azure IoT Edge
Step 1. 設定相關資訊
-
1.1 點選左方
Automatic Device Management中的IoT Edge -
1.2 點選上方的
Add an IoT Edge device -
1.3 輸入
Device ID再點選下方的Save
取得 Primary Connection String
Step 1. 取得資訊
-
點選所建立的
IoT Edge -
取得
Primary Connection String- ㊟ 點選右邊的複製按鈕即可複製