Presentation is loading. Please wait.

Presentation is loading. Please wait.

Get Started Developing with Azure IoT Hub

Similar presentations


Presentation on theme: "Get Started Developing with Azure IoT Hub"— Presentation transcript:

1 Get Started Developing with Azure IoT Hub
6/26/2018 1:00 PM BRK3215 Get Started Developing with Azure IoT Hub Olivier Bloch PM – Azure IoT SDKs © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2 Agenda Intro to Azure IoT Hub ABC for developing with IoT Hub
6/26/2018 1:00 PM Agenda Intro to Azure IoT Hub ABC for developing with IoT Hub Create an IoT Hub instance Device registry Connecting devices Send and receive data Do more… © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

3 Example of an IoT solution
6/26/2018 1:00 PM Example of an IoT solution Devices Azure IoT Suite Remote Monitoring - Basic Back end systems and processes Web App Active Directory Cosmos DB Microservices C# simulator IoT Hub Logic Apps © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4 Azure IoT Hub Microsoft Azure 6/26/2018 1:00 PM Device Device Device
Custom Cloud Gateway Management app Device registry/Management Monitoring Send commands Device Custom Protocols Applications Companion apps Dashboards Controllers Cloud protocol gateway sample Client SDK Device IoT Hub AMQP, MQTT, HTTPS Client SDK CoAP, AllJoyn, OPC,… Device Field Gateway AMQP IoT Edge CoAP, AllJoyn, OPC, … Device Field Gateway Custom Cloud Gateway Management app Device registry/Management Monitoring Send commands VPN/ExpressRoute OPC, HTTP, CoAP,… Cloud protocol gateway sample Client SDK © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

5 IoT Hub ABC IoT Hub Build 2015 6/26/2018 1:00 PM Device Device id
D2C receive endpoint Event processing (hot path) D2C send endpoint C2D queue endpoint Custom endpoints Event processing (hot and cold path) Twin endpoint Methods endpoint C2D send and feedback endpoints Device management, device business logic, Connectivity monitoring Field GW / Cloud GW Device … Twins endpoint Device… Devices Methods endpoint Device … Device identity management Device provisioning and authorization IoT Hub management © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

6 Pick your favorite to create a hub
6/26/2018 1:00 PM Pick your favorite to create a hub IoT Hub Azure Portal ARM template Azure CLI (v2.0 Python) Powershell IoT Hub management © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

7 Demo Creating an IoT Hub with Azure CLI v2 6/26/2018 1:00 PM
© Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

8 Security first! Private Key -> SAS Token x.509 Certificate
6/26/2018 1:00 PM Security first! SSL + Device Authentication Device IoT Hub Device id Client SDKs C Java C# (.Net Standard 1.3) Python Private Key -> SAS Token x.509 Certificate Self Signed CA © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

9 Device registry Unique id for each device
6/26/2018 1:00 PM Device registry IoT Hub Device id { "id":"c303c82b a3e-bddb-b893242a34ba", "eTag":"MA==", "status":"enabled", "authentication": "symmetricKey":{ "primaryKey":"oS2OoIkjsBbje…", "secondaryKey":"27+ZeDZcaLs…“ }, "x509Thumbprint":{ "primaryThumbprint":null, "secondaryThumbprint":null "type":"sas“ } Unique id for each device Unique credentials for authentication Private Key/SAS Token X.509 Certificates Device Twin Device provisioning and authorization Azure Portal Development tools Azure CLI VSCode extension Using a client SDK .Net Node Java Python Device identity management © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

10 Demo Creating and managing device identities 6/26/2018 1:00 PM
© Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

11 ?!! Provisioning at scale IoT Hub 6/26/2018 1:00 PM
Device identity management Device provisioning and authorization © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

12 Device Provisioning Service
6/26/2018 1:00 PM Device Provisioning Service Device DPS IoT Hub Device id © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

13 Device Provisioning Service
6/26/2018 1:00 PM Device Provisioning Service Device DPS IoT Hub Check out session BRK4026 Device id © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

14 Send/receive data IoT Hub Client SDKs .Net Node Java Python Build 2015
6/26/2018 1:00 PM Send/receive data Device Client SDKs C Java C# (.Net Standard 1.3) Python IoT Hub Device id D2C receive endpoint Event processing (hot path) D2C send endpoint C2D queue endpoint C2D send and feedback endpoints Device management, device business logic, Connectivity monitoring Client SDKs .Net Node Java Python © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

15 6/26/2018 1:00 PM Demo Telemetry © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

16 Structured data Device Twins Device Direct Methods
Build 2015 6/26/2018 1:00 PM Structured data Device Twins Last known state of device Desired state configuration Group devices Device Direct Methods Invoke method on device from Cloud “Immediate” response © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

17 Structured data IoT Hub Cloud owned / Device Visible
Build 2015 6/26/2018 1:00 PM Structured data Device IoT Hub Device management, device business logic, Connectivity monitoring Device Twin Properties Properties Cloud owned / Device Visible Desired Desired Device owned / CloudVisible Reported Reported Cloud owned Device metadata Tags Method Invoke device method from Cloud with “immediate” response © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

18 Demo Device Twin and Methods 6/26/2018 1:00 PM
© Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

19 Jobs and Queries Jobs Queries IoT Hub
Build 2015 6/26/2018 1:00 PM Jobs and Queries Devices IoT Hub Device management, device business logic, Connectivity monitoring Jobs Schedule and Broadcast Device Twin Changes Set Desired Properties, Tags, Call Methods Device Twin/Methods Device Twin/Methods Device Twin/Methods Device Twin/Methods Device Twin/Methods Device Twin/Methods Device Twin/Methods Device Twin/Methods Device Twin/Methods Device Twin/Methods Device Twin/Methods Device Twin/Methods Device Twin/Methods Queries Query Across Device Twin State For Business Logic, Reporting and Compliance Device Twin/Methods Device Twin/Methods Device Twin/Methods © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

20 What’s next now that I have data flowing in?
Learn more:

21 Routing telemetry data
Build 2015 6/26/2018 1:00 PM Routing telemetry data Device IoT Hub D2C receive endpoint Event processing (hot path) Header: $content-encoding = "utf-8" $content-type = "application/json" my-message-type = "alert" Routing rules (query) Custom endpoints connectors Event processing (hot and cold path) Service Bus Topics Service Bus Queues Event Hub Storage Blob Body { "Weather":{ "Temperature":50, "Time":"01:23:12Z" } SELECT * FROM Devices WHERE tags.location = "bldg43" my-message-type = "alert" $body.Weather.Temperature > 75 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

22 Demo Simple routing 6/26/2018 1:00 PM
© Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

23 Demo Let’s explore some IoT solutions 6/26/2018 1:00 PM
© Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

24 Azure IoT Starter Kits Quickly build IoT prototypes that leverage Azure IoT H/W bundle +Step-by-step tutorials Created by “Certified for IoT” Partners Learn more:

25 Training for Azure IoT Training provider Class Price
Developing IoT Solutions with Azure IoT Free (auditing) or $99 (certificate of completion) Introduction to Azure IoT Free Azure IoT Essentials IoT for the Enterprise Paid (Free 7-day trial, $19/month afterwards) Internet of Things with Azure Paid (Free 7-day trial, $29/month afterwards) Building IoT Solutions with Azure Paid (Free 7-day trial, $29.95/month afterwards) Learn more:

26 Please evaluate this session
Tech Ready 15 6/26/2018 Please evaluate this session From your Please expand notes window at bottom of slide and read. Then Delete this text box. PC or tablet: visit MyIgnite Phone: download and use the Microsoft Ignite mobile app Your input is important! © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

27 6/26/2018 1:00 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "Get Started Developing with Azure IoT Hub"

Similar presentations


Ads by Google