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
Login Windows Server VM, "azlab###wvm" and Download the sample project from here.
Create Cloud Gateway for a IoT Solution
Authenticate your device application and send data
Let's see what kind of data comes from the device
Create Real-time Dashboard
Commanmd and control your device
Analyze stream data in real-time
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
{datetime:yyyy}/{datetime:MM}/{datetime:dd}/{datetime:HH}/{datetime:mm}
-
To store raw data To:
- Use CosmosDB and Blob
- Store recored by recored
-
To store aggregated data
- Use SQL Database
- 10 minutes aggregation
-
Use Stream Analytics Query with following