{"id":29869469,"url":"https://github.com/xlegend1024/az-iot-lab","last_synced_at":"2026-04-18T11:06:35.393Z","repository":{"id":307294671,"uuid":"152926500","full_name":"xlegend1024/az-iot-lab","owner":"xlegend1024","description":"Microsoft Azure IoT Hands-on Labs online guides","archived":false,"fork":false,"pushed_at":"2019-03-14T19:50:11.000Z","size":2582,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-30T14:54:58.315Z","etag":null,"topics":["azure","azureiot","hands-on","hands-on-lab","iot","iot-edge"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xlegend1024.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-10-14T00:42:33.000Z","updated_at":"2019-07-21T01:22:00.000Z","dependencies_parsed_at":"2025-07-30T14:55:01.975Z","dependency_job_id":"ae0c49d0-7716-414b-85dc-190e9a0b58ce","html_url":"https://github.com/xlegend1024/az-iot-lab","commit_stats":null,"previous_names":["xlegend1024/az-iot-lab"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/xlegend1024/az-iot-lab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlegend1024%2Faz-iot-lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlegend1024%2Faz-iot-lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlegend1024%2Faz-iot-lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlegend1024%2Faz-iot-lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xlegend1024","download_url":"https://codeload.github.com/xlegend1024/az-iot-lab/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlegend1024%2Faz-iot-lab/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31966218,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","azureiot","hands-on","hands-on-lab","iot","iot-edge"],"created_at":"2025-07-30T16:30:21.635Z","updated_at":"2026-04-18T11:06:35.377Z","avatar_url":"https://github.com/xlegend1024.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Microsoft Azure IoT Hands-on Lab\r\n\r\n## Architecture\r\n\r\n![arch](./images/az-iot-lab-archi.png)\r\n\r\n## Setup Hands-on Lab Environment\r\n\r\n## [00. Create lab environment](https://github.com/xlegend1024/az-iot-hol/blob/master/00CreateLab.md)\r\n\r\n\u003e __Login Windows Server Virtual Machine for rest of Labs__ from now here\r\n\u003e\r\n\u003e Login Windows Server VM and open browser, go to [Azure IoT Hands-on Lab](https://aka.ms/mtcs-iotlab)\r\n\u003e\r\n\u003e Login [Azure Portal](https://portal.azure.com) inside of the VM\r\n\r\n## 01. Create Cloud Gateway\r\n\r\nLogin Windows Server VM, \"**azlab###wvm**\" and __Download__ the sample project from [here](https://github.com/xlegend1024/az-iot-hol/raw/master/AzureIoTDevice/azure-iot-samples-node-master.zip).\r\n\r\n### Lab 1. Create Azure IoT Hub\r\n\r\nCreate Cloud Gateway for a IoT Solution\r\n\r\n### [Lab 2. Device-to-Cloud (D2C)](https://docs.microsoft.com/en-us/azure/iot-hub/quickstart-send-telemetry-node)\r\n\r\nAuthenticate your device application and send data\r\n\r\n## 02. Time Serise Insight\r\n\r\nLet's see what kind of data comes from the device\r\n\r\n### Lab 3. Create Time Serise Insight and Visualize data\r\n\r\nCreate Real-time Dashboard\r\n\r\n### [Lab 4. Cloud-to-Device (C2D)](https://docs.microsoft.com/en-us/azure/iot-hub/quickstart-control-device-node)\r\n\r\nCommanmd and control your device\r\n\r\n## 03. IoT Edge\r\n\r\n### [Lab 5. Deploy IoT Edge](https://docs.microsoft.com/en-us/azure/iot-edge/quickstart-linux)\r\n\r\n[To install IoT Edge Runtime](https://docs.microsoft.com/en-us/azure/iot-edge/how-to-install-iot-edge-linux)\r\n\r\n## 04. Real-time Analytics\r\n\r\nAnalyze stream data in real-time\r\n\r\n### Lab 6. Create Azure Stream Analytics Jobs\r\n\r\nInput/Output Names:\r\n\r\n|Resource|Alias Name|\r\n|---|---|\r\n|Azure IoT Hub|iothub|\r\n|Azure Cosmos DB|cosmosdb|\r\n|Azure Storage Account(Blob)|blob|\r\n|SQL Databse.tbl10mperf|tbl10mperf|\r\n|SQL Database.tblworklogs|tblworklogs|\r\n|SQL Database.tblbagevent|tblbagevent|\r\n\r\n\u003e To save logs in Blob, use following sample\r\n\r\n```text\r\n{datetime:yyyy}/{datetime:MM}/{datetime:dd}/{datetime:HH}/{datetime:mm}\r\n```\r\n\r\n1. To store raw data To:\r\n\r\n    * Use CosmosDB and Blob\r\n    * Store recored by recored\r\n\r\n1. To store aggregated data\r\n\r\n    * Use SQL Database\r\n    * 10 minutes aggregation\r\n\r\n1. Use Stream Analytics Query with following\r\n\r\n    [Stream Analytics Query](https://raw.githubusercontent.com/xlegend1024/az-iot-lab/master/StreamAnalyticJobs/productionline.sql)\r\n\r\n---\r\n\r\n## [IoT Workshop Survey](https://forms.office.com/Pages/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbR0JSaga_FjVEoJdptOgnS7pUQVhFT0lQNEVOMFo5MlM4RzM3SElRRUxXSS4u) ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlegend1024%2Faz-iot-lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxlegend1024%2Faz-iot-lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlegend1024%2Faz-iot-lab/lists"}