项目作者: xlegend1024

项目描述 :
Microsoft Azure IoT Hands-on Labs online guides
高级语言: Python
项目地址: git://github.com/xlegend1024/az-iot-lab.git
创建时间: 2018-10-14T00:42:33Z
项目社区:https://github.com/xlegend1024/az-iot-lab

开源协议:

下载


Microsoft Azure IoT Hands-on Lab

Architecture

arch

Setup Hands-on Lab Environment

00. Create lab environment

Login Windows Server Virtual Machine for rest of Labs from now here

Login Windows Server VM and open browser, go to Azure IoT Hands-on Lab

Login Azure Portal inside of the VM

01. Create Cloud Gateway

Login Windows Server VM, “azlab###wvm“ and Download the sample project from here.

Lab 1. Create Azure IoT Hub

Create Cloud Gateway for a IoT Solution

Lab 2. Device-to-Cloud (D2C)

Authenticate your device application and send data

02. Time Serise Insight

Let’s see what kind of data comes from the device

Lab 3. Create Time Serise Insight and Visualize data

Create Real-time Dashboard

Lab 4. Cloud-to-Device (C2D)

Commanmd and control your device

03. IoT Edge

Lab 5. Deploy IoT Edge

To install IoT Edge Runtime

04. Real-time Analytics

Analyze stream data in real-time

Lab 6. Create Azure Stream Analytics Jobs

Input/Output Names:

Resource Alias Name
Azure IoT Hub iothub
Azure Cosmos DB cosmosdb
Azure Storage Account(Blob) blob
SQL Databse.tbl10mperf tbl10mperf
SQL Database.tblworklogs tblworklogs
SQL Database.tblbagevent tblbagevent

To save logs in Blob, use following sample

  1. {datetime:yyyy}/{datetime:MM}/{datetime:dd}/{datetime:HH}/{datetime:mm}
  1. To store raw data To:

    • Use CosmosDB and Blob
    • Store recored by recored
  2. To store aggregated data

    • Use SQL Database
    • 10 minutes aggregation
  3. Use Stream Analytics Query with following

    Stream Analytics Query


IoT Workshop Survey