linux meets azure iot hub - stefan johner · key-takeaways •azure iot hub linux •visual studio...
TRANSCRIPT
![Page 1: Linux meets Azure IoT Hub - Stefan Johner · Key-takeaways •Azure IoT Hub Linux •Visual Studio Code is your friend •SDKs and many other components are Open Source •Direct](https://reader034.vdocuments.mx/reader034/viewer/2022042218/5ec4b24fdb65b153a37876eb/html5/thumbnails/1.jpg)
Get to know Azure IoT Hub from a Linux perspective
Linux meets Azure IoT Hub
@johnerstefanhttps://blog.jhnr.ch
Stefan Johner | Die Schweizerische Post
![Page 2: Linux meets Azure IoT Hub - Stefan Johner · Key-takeaways •Azure IoT Hub Linux •Visual Studio Code is your friend •SDKs and many other components are Open Source •Direct](https://reader034.vdocuments.mx/reader034/viewer/2022042218/5ec4b24fdb65b153a37876eb/html5/thumbnails/2.jpg)
Thank you, sponsors!
![Page 3: Linux meets Azure IoT Hub - Stefan Johner · Key-takeaways •Azure IoT Hub Linux •Visual Studio Code is your friend •SDKs and many other components are Open Source •Direct](https://reader034.vdocuments.mx/reader034/viewer/2022042218/5ec4b24fdb65b153a37876eb/html5/thumbnails/3.jpg)
Disclaimer I am not a Developer No deep dive IoT session Azure IoT Hub basics Simple IoT Demo Use Case
How does it feel working with Azure IoT in a Linux only environment
Get to know Azure IoT Hub
![Page 4: Linux meets Azure IoT Hub - Stefan Johner · Key-takeaways •Azure IoT Hub Linux •Visual Studio Code is your friend •SDKs and many other components are Open Source •Direct](https://reader034.vdocuments.mx/reader034/viewer/2022042218/5ec4b24fdb65b153a37876eb/html5/thumbnails/4.jpg)
Win a MXChipIoT Dev KitTweet with Hashtags #iwantthatdevkit and #AzureSaturday
Tweet with the most Likes will!
![Page 5: Linux meets Azure IoT Hub - Stefan Johner · Key-takeaways •Azure IoT Hub Linux •Visual Studio Code is your friend •SDKs and many other components are Open Source •Direct](https://reader034.vdocuments.mx/reader034/viewer/2022042218/5ec4b24fdb65b153a37876eb/html5/thumbnails/5.jpg)
Azure IoT Hub
![Page 6: Linux meets Azure IoT Hub - Stefan Johner · Key-takeaways •Azure IoT Hub Linux •Visual Studio Code is your friend •SDKs and many other components are Open Source •Direct](https://reader034.vdocuments.mx/reader034/viewer/2022042218/5ec4b24fdb65b153a37876eb/html5/thumbnails/6.jpg)
Azure IoT Device & Cloud Patterns
![Page 7: Linux meets Azure IoT Hub - Stefan Johner · Key-takeaways •Azure IoT Hub Linux •Visual Studio Code is your friend •SDKs and many other components are Open Source •Direct](https://reader034.vdocuments.mx/reader034/viewer/2022042218/5ec4b24fdb65b153a37876eb/html5/thumbnails/7.jpg)
What’s the deal with OSS? Azure does not care if you are running Windows or Linux
IoT Devices are running Linux → Azure Sphere OS
Open Source compontents SDKs IoT Edge IoT Explorer IoT Protocol Gateway
Azure IoT SDKs:
• C
• Python
• NodeJS
• Java
• .Net
![Page 8: Linux meets Azure IoT Hub - Stefan Johner · Key-takeaways •Azure IoT Hub Linux •Visual Studio Code is your friend •SDKs and many other components are Open Source •Direct](https://reader034.vdocuments.mx/reader034/viewer/2022042218/5ec4b24fdb65b153a37876eb/html5/thumbnails/8.jpg)
IoT Hub “Bridge” to other Azure Services Custom Endpoints Declarative Message Routing
Backend/Management for sensors and devices Protocol Support for MQTT, AMQT and HTTPS Libraries for most popular languages and platforms
Cloud-to-Device communication
![Page 9: Linux meets Azure IoT Hub - Stefan Johner · Key-takeaways •Azure IoT Hub Linux •Visual Studio Code is your friend •SDKs and many other components are Open Source •Direct](https://reader034.vdocuments.mx/reader034/viewer/2022042218/5ec4b24fdb65b153a37876eb/html5/thumbnails/9.jpg)
C2D Communications guidance
Option
Scenario
Data Flow
Targets
Frequency
![Page 10: Linux meets Azure IoT Hub - Stefan Johner · Key-takeaways •Azure IoT Hub Linux •Visual Studio Code is your friend •SDKs and many other components are Open Source •Direct](https://reader034.vdocuments.mx/reader034/viewer/2022042218/5ec4b24fdb65b153a37876eb/html5/thumbnails/10.jpg)
Concept of Device Twins
![Page 11: Linux meets Azure IoT Hub - Stefan Johner · Key-takeaways •Azure IoT Hub Linux •Visual Studio Code is your friend •SDKs and many other components are Open Source •Direct](https://reader034.vdocuments.mx/reader034/viewer/2022042218/5ec4b24fdb65b153a37876eb/html5/thumbnails/11.jpg)
Long Term Support Every six months, a new version of LTS is released A version is actively maintained for six months to receive security fxes and critical bug fxes
After a one-year total lifetime, the branch will be removed
![Page 12: Linux meets Azure IoT Hub - Stefan Johner · Key-takeaways •Azure IoT Hub Linux •Visual Studio Code is your friend •SDKs and many other components are Open Source •Direct](https://reader034.vdocuments.mx/reader034/viewer/2022042218/5ec4b24fdb65b153a37876eb/html5/thumbnails/12.jpg)
Pricing and Scale Free, Basic and Standard tier Ofered in three editions: S1, S2 and S3 Total of 8,000 messages a day are free
![Page 13: Linux meets Azure IoT Hub - Stefan Johner · Key-takeaways •Azure IoT Hub Linux •Visual Studio Code is your friend •SDKs and many other components are Open Source •Direct](https://reader034.vdocuments.mx/reader034/viewer/2022042218/5ec4b24fdb65b153a37876eb/html5/thumbnails/13.jpg)
Visual Studio Code is your friend
![Page 14: Linux meets Azure IoT Hub - Stefan Johner · Key-takeaways •Azure IoT Hub Linux •Visual Studio Code is your friend •SDKs and many other components are Open Source •Direct](https://reader034.vdocuments.mx/reader034/viewer/2022042218/5ec4b24fdb65b153a37876eb/html5/thumbnails/14.jpg)
Demo: RaspberryPi Sensor
RaspberryPi with Sense HAT connected to Azure IoT Hub and Time Series Insights
![Page 15: Linux meets Azure IoT Hub - Stefan Johner · Key-takeaways •Azure IoT Hub Linux •Visual Studio Code is your friend •SDKs and many other components are Open Source •Direct](https://reader034.vdocuments.mx/reader034/viewer/2022042218/5ec4b24fdb65b153a37876eb/html5/thumbnails/15.jpg)
Demo Overview
![Page 16: Linux meets Azure IoT Hub - Stefan Johner · Key-takeaways •Azure IoT Hub Linux •Visual Studio Code is your friend •SDKs and many other components are Open Source •Direct](https://reader034.vdocuments.mx/reader034/viewer/2022042218/5ec4b24fdb65b153a37876eb/html5/thumbnails/16.jpg)
Summary
![Page 17: Linux meets Azure IoT Hub - Stefan Johner · Key-takeaways •Azure IoT Hub Linux •Visual Studio Code is your friend •SDKs and many other components are Open Source •Direct](https://reader034.vdocuments.mx/reader034/viewer/2022042218/5ec4b24fdb65b153a37876eb/html5/thumbnails/17.jpg)
Key-takeaways• Azure IoT Hub Linux• Visual Studio Code is your friend• SDKs and many other components are Open Source
• Direct Methods and Device Twins help you manage your things at scale
• Bridge to other Azure services like Time Series Insights
• Check out samples and get started with free tier
![Page 18: Linux meets Azure IoT Hub - Stefan Johner · Key-takeaways •Azure IoT Hub Linux •Visual Studio Code is your friend •SDKs and many other components are Open Source •Direct](https://reader034.vdocuments.mx/reader034/viewer/2022042218/5ec4b24fdb65b153a37876eb/html5/thumbnails/18.jpg)
References● My Raspberry Pi Sensor Sample on Github● Azure IoT Reference Architecture● Azure IoT Hub Documentation● Comparison of Azure IoT Hub vs. Event Hub● Azure IoT SDKs on Github● Raspberry Pi Online Simulator● Azure IoT Samples
![Page 19: Linux meets Azure IoT Hub - Stefan Johner · Key-takeaways •Azure IoT Hub Linux •Visual Studio Code is your friend •SDKs and many other components are Open Source •Direct](https://reader034.vdocuments.mx/reader034/viewer/2022042218/5ec4b24fdb65b153a37876eb/html5/thumbnails/19.jpg)
We appreciate your feedback!
Azure Saturday 2018
https://form.responster.com/yW6Q72