SlideShare a Scribd company logo
1 of 109
Azure IoT Workshop– 13.10.2017
Azure IoT Workshop
@marco_parenzan
Azure IoT Workshop– 13.10.2017
@marco_parenzan
◇.NET, JavaScript,Azure ad IoT Developer, Trainer
and Consultant
◇Microsoft MVP 2017 for Azure
◇Book Author @ Packt, LSWR
◇Community Lead per 1nn0va
Azure IoT Workshop– 13.10.2017
Azure IoT Workshop– 13.10.2017
Things
IoT Solutions Have a Common Pattern
Insights Actions
Cloud
Gateway
Azure IoT Hub
Azure IoT Workshop– 13.10.2017
IoT Scenario
IoT Hub
(Events and Devices)
Function
(Process)
Function
(Alerts)
Storage
(Storage)
Azure IoT Workshop– 13.10.2017
Azure IoT Workshop– 13.10.2017
Azure IoT Workshop– 13.10.2017
Azure IoT Workshop– 13.10.2017
Azure IoT Workshop– 13.10.2017
Azure IoT Workshop– 13.10.2017
Azure IoT Workshop– 13.10.2017
Disclaimer
◇This is not an electronic course!
◇You are not an electronic geek!
◇I’m not an electronic geek!
◇You cannot avoid these skills in your team
Azure IoT Workshop– 13.10.2017
Warning! We cannot avoid…
Electronic
engineers
Process
engineers
Industrialization
process
Azure IoT Workshop– 13.10.2017
Warning! We are not saying…
Software engineers
can create devices
Azure IoT Workshop– 13.10.2017
We are just saying…
Embedded
world is no
more a niche
Software
engineers can
contribute
Azure IoT Workshop– 13.10.2017
It is no more a niche
Proprietary
Hardware and
tools
Obsolete tools
No software
rules and
quality
Azure IoT Workshop– 13.10.2017
Software engineers can contribute
Methodologies Patterns
(Cloud)
Infrastructure
“Openness” Tools Languages
Azure IoT Workshop– 13.10.2017
Tools
Up to date
compilers
Modern IDEs
SDK (Libraries
and Drivers)
Debuggers Simulators
Azure IoT Workshop– 13.10.2017
Languages
C
Processin
g
Node.js
Python Java C#
Azure IoT Workshop– 13.10.2017
Software Developer Role
Develop and test
the process and
the cloud
infrastructure
Develop and test
the device
software design
Cannot test
sensors and
actuators
Work with
fake/random data
Azure IoT Workshop– 13.10.2017
Azure IoT Workshop– 13.10.2017
Contesto
◇Azienda di Produzione Industriale
■10-50M EURO
◇Presenza world-wide
◇Mercato Pro
■Più sensibili al servizi
■E poi discutiamo del privato
◇Su commessa
■Assorbe I costi iniziali
■E poi discutiamo della serie
10M€
Azure IoT Workshop– 13.10.2017
Industial Stainless Steel Kitchen Applications
Azure IoT Workshop– 13.10.2017
Scenario: resistor performance loss
◇Reference temperature is no more reachable
◇Example
■fry-top: 400°C 300°C
■human cannot verify the temperature
■Mechanical thermostat shows only reference temperature, not current temperature
◇Effects
■Longer cooking
■“Bad” cooking
■Customer impact
■Prelude to break
Azure IoT Workshop– 13.10.2017
Scenario: resistor break
◇Typically after a loose of performances, resistor elements
break (days/weeks)
◇Effects
■Appliance break
■Kitchen mainly slow down (few cooking appliances)
○Kitched typically don’t stop | Many elements in cooking blocks can supply loss
of other elements
■Long time in assistance (no SLA discussed)
■Stop can vary from hours to days
■Final customer impact/reputation
Azure IoT Workshop– 13.10.2017
Required solution
◇Telemetry in industrial cooking plants
◇Intelligent appliances that sends status/operational data
◇Collect data world wide
◇Group by
■Appliances
■Temperature range
■Daily/Seasonal data
■Kitchen/Plant
◇Apply data analysis algorithms
■Final analysis (analyze costs)
■Forecast analysis (prevent uncontrolled failures, manage “planned” failures)
Azure IoT Workshop– 13.10.2017
Proposizione
◇Assolvere ad una esigenza «immediata»
■Manutenzione predittiva
■Manutenzione preventiva
■Abbattere i costi della manutenzione
◇Assolvere ad una esigenza «a lungo termine»
■Offrire nuovi servizi alle aziende
■Permettettere alle aziende di offrire nuovi servizi
■Nuovo modello di business (CAPEXOPEX)
Azure IoT Workshop– 13.10.2017
Industria 4.0
http://www.slideshare.net/alexcurti/piano-industria-40-68702177
Azure IoT Workshop– 13.10.2017
Benefici attesi dall’ Industria 4.0
Azure IoT Workshop– 13.10.2017
Tecnologie abilitanti Industria 4.0
Azure IoT Workshop– 13.10.2017
Azure IoT Workshop– 13.10.2017
Embedded
◇È la tecnologia che rende intelligente un elemento prodotto
◇Permette di creare azione ed interazione LOCALE
◇Usa microprocessori o microcontrollori
◇Microcrontrollori: I/O oriented, Atmel ATmeg328, ESP8266
■I/O, realtime
■GPIO (5V, 3,3V)
◇Microprocessori: ARM Cortex, Intel Quark, Intel Atom
■Gateway
◇Elementi tecnologici di riferimento
■Consumo energetico
◇Si parla spesso di SOC: System On Chip
■Integrazione cost effective
◇Può essere realtime
Azure IoT Workshop– 13.10.2017
I progetti Embedded IoT sono complessi
•conoscenze
Incompatibile con
la infrastruttura
corrente
•conoscenzeTime consuming da
avviare
•Infrastruttura complessa
•Procedure
Difficile da
mantenere
•Costi
•Infrastruttura complessa
Difficile da
scalare
Azure IoT Workshop– 13.10.2017
Makers
◇Board con microcontrolloreArduino
◇Board con microprocessoreRaspberry
◇Prototipazione
■Verifichiamo che l’idea funzioni
◇Focus on:
■Programming, Connecting
■…non sull’elettronica…
◇Non industrial-grade
◇Hanno cambiato il modo di interagire con il mondo embedded
◇Queste schede sono «naturalmente» connesse a Internet
■Implementano sempre uno stack TCP/IP o almeno una connessione esterna evoluta
(USB)
Azure IoT Workshop– 13.10.2017
Boards for makers
Arduino
Azure IoT Workshop– 13.10.2017
Industrial-grade Makers
Arduino
Raspberry
Olimex
Toradex
Azure IoT Workshop– 13.10.2017
Embedded Device
GPIO
Sensors
Actuators
Board
Edge/Local
Processing
State
Azure IoT Workshop– 13.10.2017
IoT Device=Embedded Device + Communication
GPIO Communication
Sensors
Actuators
Board
Edge/Local
Processing
State
Azure IoT Workshop– 13.10.2017
Non solo Raspberry…Industruino
Azure IoT Workshop– 13.10.2017
Energy ManagementVertical Cloud
MA DI CHI SONO I DATI?
Azure IoT Workshop– 13.10.2017
Azure IoT Workshop– 13.10.2017
Alternatives
Costs
Performances
Azure IoT Workshop– 13.10.2017
Performance of Arduino class devices
◇- The absolute performance power of Arduino device is low
■Arduino is a microcontroller-based architecture
■Raspberry Pi is a microprocessor-based architecture
◇+ Pro: Arduino has a light set of running services, light OS
Azure IoT Workshop– 13.10.2017
Cost of Arduino class devices
• +Pro: Arduino cost LESS that Raspberry Pi devices
• - You have less resources and services
Azure IoT Workshop– 13.10.2017
Arduino language
◇Processing (the IDE - https://processing.org/)
◇JavaScript (inspiration of the language and for Processing)
◇C++ (object syntax, usage, not creation)
◇C (raw performance and binary)
Azure IoT Workshop– 13.10.2017
Arduino and Azure IoT Hub
◇Arduino can speak Http, MQTT and AMQP protocols
◇Porting of Azure IoTHub SDK for C
Azure IoT Workshop– 13.10.2017
Starting with Arduino
◇https://github.com/arduino/Arduino/
◇https://www.arduino.cc/en/main/software
◇https://azure.microsoft.com/en-us/develop/iot/starter-kits/
◇https://www.adafruit.com/azure
◇https://www.adafruit.com/product/3032
Azure IoT Workshop– 13.10.2017
Connecting the sensor
10K Ω
P2
+
-
+
-
Azure IoT Workshop– 13.10.2017
+
-
+
-
Connecting the leds
15
Anode(+,longer)
560Ω
560Ω 13
Anode(+,longer)
Azure IoT Workshop– 13.10.2017
The result
Azure IoT Workshop– 13.10.2017
Setup software per lo sviluppo in Azure
◇Git
◇Visual Studio Code
◇Python
◇Node.js
◇nom
Azure IoT Workshop– 13.10.2017
Setup software per Azure
◇Azure CLI 2.0[.19] (https://aka.ms/InstallAzureCliWindows)
◇npm install -g iothub-explorer [1.1.16]
Azure IoT Workshop– 13.10.2017
Setup software per Arduino
◇Arduino 1.8.x (1.8.5) da arduino.cc
◇CP210x USB to UART Bridge (COMx)
https://www.silabs.com/products/development-tools/software/usb-
to-uart-bridge-vcp-drivers
Azure IoT Workshop– 13.10.2017
Setup Azure
◇Dashboard (Azure IoT Workshop)
◇Resource Group (AzureIoTWorkshop)
◇IoT Hub (AzureIoTWorkshop0000xy)
◇Azure Storage (azureiotworkshop00xy) in minuscolo!!!!
◇Function (azureiotworkshop00xy)
Azure IoT Workshop– 13.10.2017
Set current subscription
◇az login
■https://aka.ms/devicelogin
■E incolla il codice
◇az account set --subscription “<subscription name>“
◇az show
Azure IoT Workshop– 13.10.2017
Create device from command line
◇Az iot hub list
◇az iot device create --hub-name azureiotworkshop00xy --device-
id dev1
◇az iot device show-connection-string --hub-name
azureiotworkshopproto --device-id dev1
Azure IoT Workshop– 13.10.2017
Una MCU programmabile Arduino con ESP8266
http://www.instructables.com/id/Programming-ESP8266-ESP-12E-NodeMCU-Using-Arduino-/
https://github.com/esp8266/Arduino/issues/584
Azure IoT Workshop– 13.10.2017
Resistenze, tanto per ricordarsi
Azure IoT Workshop– 13.10.2017
Rilevare la temperatura con un DHT 11
◇https://learn.adafruit.com/dht
Azure IoT Workshop– 13.10.2017
Azure IoT Workshop– 13.10.2017
IoT Scenario
IoT Hub
(Events and Devices)
Function
(Process)
Function
(Alerts)
Storage
(Storage)
Azure IoT Workshop– 13.10.2017
Configuring Azure Services
◇Three functional services
■Azure Blob Storage
■Azure Function App
■Azure IoT Hub
◇One non functional service
■Azure Resource Group
Azure IoT Workshop– 13.10.2017
Why IoT Hub?
◇Devices registration
◇Notification abstraction from implementation (web
sockets/polling)
◇Eterogeneus devices implementation simplified by SDK support
◇Cons
■External tool to manage device registration
Azure IoT Workshop– 13.10.2017
Alternatives to IoT Hub
◇API Apps (App Services)
◇Why not
■Manual registry implementation
■Manual two way communication implementation (with web sockets)
■Manual scaling (at large)
Azure IoT Workshop– 13.10.2017
Why Azure Storage?
◇Persisted data handled as a blob in the storage
■No query requirement
◇Native integration with Functions
■Trigger
Azure IoT Workshop– 13.10.2017
Alternatives to Azure Storage
◇DocumentDb for Json support
◇Why yes
■Native querying support
◇Why not
■Blob support
Azure IoT Workshop– 13.10.2017
Why Azure Function?
◇Unfrequent access to the function
■Subsecond billing
◇Event based solution
■Http Request
■Blob storage
◇Better code organization
■Simple Responsibility Principle: 1 function, 1 responsibility
Azure IoT Workshop– 13.10.2017
Alternatives to Azure Function
◇API Apps (App Services)
◇Why yes
■Mature patterns on class-based development
■Mature ALM with API Apps (Visual Studio experience)
◇Why not
■Classic hosting plan only
■Risk on responsibility coupling (too many responsibilities)
Azure IoT Workshop– 13.10.2017
Azure Resource Group
◇Mandatory service organization
◇Deployment opportunities
■Agile deployment
■Transactional deployment
◇Cons
■Not simple to learn (but full of advantages)
Azure IoT Workshop– 13.10.2017
Azure IoT Workshop– 13.10.2017
IP capable devices
Devices Data processing and analytics
Monitoring
Control
IT solution backend
Presentationandbusiness
connectivity
Existing IoT
devices
Low power devices
Generic IoT RequirementsIp
Capable
Devices
Legacy,NonIpCapable
Devices
???
???
???
???
???
???
Azure IoT Workshop– 13.10.2017
IoTHub messaging protocols
Legacy
Protocol
Low resource
devices
Intermittent
connection
Device
location
Azure IoT Workshop– 13.10.2017
IP capable devices
Field
Gatewa
y
Device connectivity Data processing and analytics
IT solution backend
Cloudgateway
Presentationandbusiness
connectivity
Existing IoT
devices
Low power devices
Generic IoT Solution
Devices
Monitoring
Control
Azure IoT Workshop– 13.10.2017
IoT Hub
Device id
What is Azure IoTHub
Device
C2D queue
endpoint
D2C send
endpoint
Device …
Device …
Device…
IoT Hub
management
Device identity
management
D2C receive
endpoint
Methods
endpoint
Twin
endpoint
Twins endpoint
Devices Methods
endpoint
Custom
endpoints
C2D send and
feedback
endpoints
Event processing
(hot and cold path)
Event processing
(hot path)
Device management, device
business logic,
Connectivity monitoring
Device provisioning
and authorization
Field GW /
Cloud GW
Azure IoT Workshop– 13.10.2017
IoT Hub features
Azure IoT Workshop– 13.10.2017
Azure IoT Workshop– 13.10.2017
Telemetry
sending,
acquiring and
measuring
data
Event
State (or
state event)
Message
Azure IoT Workshop– 13.10.2017
IoT Hub
Device id
Send/receive data
C2D queue
endpoint
D2C send
endpoint D2C receive
endpoint
C2D send and
feedback
endpoints
Event processing
(hot path)
Device
Client SDKs
• C
• Java
• C# (.Net
Standard
1.3)
• Python
Device management, device
business logic,
Connectivity monitoring
Client SDKs
• .Net
• Node
• Java
• Python
Azure IoT Workshop– 13.10.2017
Message
Opaque body
Application
Properties
System
Properties
Azure IoT Workshop– 13.10.2017
IoT Hub Device Management
Device
Twin
Queries
Methods Jobs
Azure IoT Workshop– 13.10.2017
Azure IoT Workshop– 13.10.2017
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
Azure IoT Workshop– 13.10.2017
Azure IoT Workshop– 13.10.2017
Azure IoT Workshop– 13.10.2017
Azure IoT Workshop– 13.10.2017
Querying Device Twins
FROM WHERE
SELECT
GROUP
BY
Azure IoT Workshop– 13.10.2017
Sample queries
◇Devices located in the US configured to send telemetry less
often that every minute
◇Devices which have wifi o wired connectivity
◇Devices where reported and desired properties do not match
Azure IoT Workshop– 13.10.2017
IoT Hub
Structured data
Device
Device management, device
business logic,
Connectivity monitoring
Device Twin
Properties
Tags
Desired
Reported
Properties
Desired
Reported
Method
Azure IoT Workshop– 13.10.2017
Azure IoT Workshop– 13.10.2017
Where does IoT Hub fit in?
Azure IoT Workshop– 13.10.2017
Functions «lifestyle»
◇Per event handling
◇Stateless processing
◇Binding approach
Azure IoT Workshop– 13.10.2017
IoTHub’s EventHub compatible endpoint
Namespace
Azure IoT Workshop– 13.10.2017
IoTHub’s Security Policies
Security Info
SharedAccessKeyNam
e SharedAccessKey
Azure IoT Workshop– 13.10.2017
EventHub-like connection string
◇Endpoint=<EventHubNamespace>;SharedAccessKeyName=<
SharedAccessKeyName>;SharedAccessKey=< SharedAccessKey>
■Add EntityPath=<EventHub name> in case of EventHub Security Policy
Azure IoT Workshop– 13.10.2017
EventHub binding
ConnectionStringEventHub name
Azure IoT Workshop– 13.10.2017
Azure IoT Workshop– 13.10.2017
Azure IoT Workshop– 13.10.2017
Where storing a message
Azure
Storage
Azure
DocumentDb
Azure
EventHub
Azure
Queue
Azure
Service
Bus
Azure SQL
Database
Azure IoT Workshop– 13.10.2017
Then?
◇The message is stored
◇Storage can be the end of the process
◇Or the beginning of the next step
■Intermediate processing (a microservices approach)
■Control/Feedback
◇And you process again in the same way:
■EventProcessor
■Azure Stream Analytics
■Azure Function
Azure IoT Workshop– 13.10.2017
Control the devices
◇Cloud-to-device messaging
■As needed (twin, message, device method)
◇You need to invoke IoT Hub API
■REST API
C# API
■Node.js API
◇Low frequency
◇Function is well suited for this
Azure IoT Workshop– 13.10.2017
Azure IoT Workshop– 13.10.2017
What I choose for my devices?
Azure IoT Workshop– 13.10.2017
Azure IoT Workshop– 13.10.2017
Generate the symmetric key
DEVICE IOT HUB
C:>az iot device create –hub-name <hubname> --device-id <deviceId>
Azure IoT Workshop– 13.10.2017
All devices have different keys
Device Registry
Azure IoT Workshop– 13.10.2017
Authorization with encryption
Encrypt( , , )=
Azure IoT Workshop– 13.10.2017
Authenticated communication
◇Token based authentication
DEVICE IOT HUB
(TCP endpoint)
TCP Connection
Azure IoT Workshop– 13.10.2017
Key invalidation
DEVICE IOT HUB
Azure IoT Workshop– 13.10.2017
Wrap Up

More Related Content

What's hot

Connecting IoT devices to Azure
Connecting IoT devices to AzureConnecting IoT devices to Azure
Connecting IoT devices to AzureGuy Barrette
 
Architecting IoT solutions with Microsoft Azure
Architecting IoT solutions with Microsoft AzureArchitecting IoT solutions with Microsoft Azure
Architecting IoT solutions with Microsoft AzureAlon Fliess
 
Azure IoT (Sam Vanhoutte @NMCT IoT Fest)
Azure IoT (Sam Vanhoutte @NMCT IoT Fest)Azure IoT (Sam Vanhoutte @NMCT IoT Fest)
Azure IoT (Sam Vanhoutte @NMCT IoT Fest)Codit
 
Business Transformation with Microsoft Azure IoT
Business Transformation with Microsoft Azure IoTBusiness Transformation with Microsoft Azure IoT
Business Transformation with Microsoft Azure IoTIlyas F ☁☁☁
 
Azure IoT Platform services - The modern IoT developer toolbox
Azure IoT Platform services - The modern IoT developer toolboxAzure IoT Platform services - The modern IoT developer toolbox
Azure IoT Platform services - The modern IoT developer toolboxMicrosoft Tech Community
 
Architecting Azure IoT Solutions
Architecting Azure IoT SolutionsArchitecting Azure IoT Solutions
Architecting Azure IoT SolutionsGlobalLogic Ukraine
 
What's new for Serverless Computing in Azure
What's new for Serverless Computing in AzureWhat's new for Serverless Computing in Azure
What's new for Serverless Computing in AzureMicrosoft Tech Community
 
Internet of things (IoT) with Azure
Internet of things (IoT) with AzureInternet of things (IoT) with Azure
Internet of things (IoT) with AzureVinoth Rajagopalan
 
Windows IoT: Accelerate the Intelligent Edge with the Windows AI Platform
Windows IoT: Accelerate the Intelligent Edge with the Windows AI PlatformWindows IoT: Accelerate the Intelligent Edge with the Windows AI Platform
Windows IoT: Accelerate the Intelligent Edge with the Windows AI PlatformMicrosoft Tech Community
 
AWS IoT vs Azure IoT
AWS IoT vs Azure IoTAWS IoT vs Azure IoT
AWS IoT vs Azure IoTahmed badr
 
Azure Internet of Things
Azure Internet of ThingsAzure Internet of Things
Azure Internet of ThingsAlon Fliess
 
Windows 10 IoT-Core to Azure IoT Suite
Windows 10 IoT-Core to Azure IoT SuiteWindows 10 IoT-Core to Azure IoT Suite
Windows 10 IoT-Core to Azure IoT SuiteDavid Jones
 
Exploring the Azure IoT Ecosystem
Exploring the Azure IoT EcosystemExploring the Azure IoT Ecosystem
Exploring the Azure IoT EcosystemBizTalk360
 
Microsoft IoT Overview, Vision and Roadmap
Microsoft IoT Overview, Vision and RoadmapMicrosoft IoT Overview, Vision and Roadmap
Microsoft IoT Overview, Vision and RoadmapMicrosoft Tech Community
 

What's hot (19)

Connecting IoT devices to Azure
Connecting IoT devices to AzureConnecting IoT devices to Azure
Connecting IoT devices to Azure
 
Architecting IoT solutions with Microsoft Azure
Architecting IoT solutions with Microsoft AzureArchitecting IoT solutions with Microsoft Azure
Architecting IoT solutions with Microsoft Azure
 
IoT on Azure
IoT on AzureIoT on Azure
IoT on Azure
 
Azure IoT (Sam Vanhoutte @NMCT IoT Fest)
Azure IoT (Sam Vanhoutte @NMCT IoT Fest)Azure IoT (Sam Vanhoutte @NMCT IoT Fest)
Azure IoT (Sam Vanhoutte @NMCT IoT Fest)
 
Azure iot
Azure iotAzure iot
Azure iot
 
Business Transformation with Microsoft Azure IoT
Business Transformation with Microsoft Azure IoTBusiness Transformation with Microsoft Azure IoT
Business Transformation with Microsoft Azure IoT
 
Building Secure IoT Solutions using Azure Sphere
Building Secure IoT Solutions using Azure SphereBuilding Secure IoT Solutions using Azure Sphere
Building Secure IoT Solutions using Azure Sphere
 
Azure IoT Suite
Azure IoT Suite Azure IoT Suite
Azure IoT Suite
 
Azure IoT Platform services - The modern IoT developer toolbox
Azure IoT Platform services - The modern IoT developer toolboxAzure IoT Platform services - The modern IoT developer toolbox
Azure IoT Platform services - The modern IoT developer toolbox
 
Architecting Azure IoT Solutions
Architecting Azure IoT SolutionsArchitecting Azure IoT Solutions
Architecting Azure IoT Solutions
 
What's new for Serverless Computing in Azure
What's new for Serverless Computing in AzureWhat's new for Serverless Computing in Azure
What's new for Serverless Computing in Azure
 
Internet of things (IoT) with Azure
Internet of things (IoT) with AzureInternet of things (IoT) with Azure
Internet of things (IoT) with Azure
 
Windows IoT: Accelerate the Intelligent Edge with the Windows AI Platform
Windows IoT: Accelerate the Intelligent Edge with the Windows AI PlatformWindows IoT: Accelerate the Intelligent Edge with the Windows AI Platform
Windows IoT: Accelerate the Intelligent Edge with the Windows AI Platform
 
AWS IoT vs Azure IoT
AWS IoT vs Azure IoTAWS IoT vs Azure IoT
AWS IoT vs Azure IoT
 
Azure Internet of Things
Azure Internet of ThingsAzure Internet of Things
Azure Internet of Things
 
Azure IoT Hub
Azure IoT HubAzure IoT Hub
Azure IoT Hub
 
Windows 10 IoT-Core to Azure IoT Suite
Windows 10 IoT-Core to Azure IoT SuiteWindows 10 IoT-Core to Azure IoT Suite
Windows 10 IoT-Core to Azure IoT Suite
 
Exploring the Azure IoT Ecosystem
Exploring the Azure IoT EcosystemExploring the Azure IoT Ecosystem
Exploring the Azure IoT Ecosystem
 
Microsoft IoT Overview, Vision and Roadmap
Microsoft IoT Overview, Vision and RoadmapMicrosoft IoT Overview, Vision and Roadmap
Microsoft IoT Overview, Vision and Roadmap
 

Viewers also liked

Illustration & Visual Thinking as an Engagement Tool
Illustration & Visual Thinking as an Engagement ToolIllustration & Visual Thinking as an Engagement Tool
Illustration & Visual Thinking as an Engagement ToolThe Research Thing
 
Costa Farms Case Study : Azure IoT Hub, Azure Functions
Costa Farms Case Study : Azure IoT Hub, Azure FunctionsCosta Farms Case Study : Azure IoT Hub, Azure Functions
Costa Farms Case Study : Azure IoT Hub, Azure FunctionsJoe Raio
 
Vodafone IoT_Prompt Softech case study
Vodafone IoT_Prompt Softech case studyVodafone IoT_Prompt Softech case study
Vodafone IoT_Prompt Softech case studyAshim Goldar
 
ITU-T Study Group 16 Meeting Achievements
ITU-T Study Group 16 Meeting AchievementsITU-T Study Group 16 Meeting Achievements
ITU-T Study Group 16 Meeting AchievementsITU
 
Build 2017 - B8024 - Connected intelligent things with Windows IoT Core and A...
Build 2017 - B8024 - Connected intelligent things with Windows IoT Core and A...Build 2017 - B8024 - Connected intelligent things with Windows IoT Core and A...
Build 2017 - B8024 - Connected intelligent things with Windows IoT Core and A...Windows Developer
 
City of London Police - O2 Customer Story
City of London Police - O2 Customer StoryCity of London Police - O2 Customer Story
City of London Police - O2 Customer StoryO2 Business UK
 
High Quality 360 Video Rendering and Streaming
High Quality 360 Video Rendering and StreamingHigh Quality 360 Video Rendering and Streaming
High Quality 360 Video Rendering and StreamingITU
 
Global Azure Bootcamp 2016 - Real-world Internet of Things Backend with Azure...
Global Azure Bootcamp 2016 - Real-world Internet of Things Backend with Azure...Global Azure Bootcamp 2016 - Real-world Internet of Things Backend with Azure...
Global Azure Bootcamp 2016 - Real-world Internet of Things Backend with Azure...Andri Yadi
 
Intergen Convergence 2017 - Business transformation across the enterprise (NZ...
Intergen Convergence 2017 - Business transformation across the enterprise (NZ...Intergen Convergence 2017 - Business transformation across the enterprise (NZ...
Intergen Convergence 2017 - Business transformation across the enterprise (NZ...Intergen
 
Next Generation Digital Enterprise (Workplace) Technology | Enterprise Digita...
Next Generation Digital Enterprise (Workplace) Technology | Enterprise Digita...Next Generation Digital Enterprise (Workplace) Technology | Enterprise Digita...
Next Generation Digital Enterprise (Workplace) Technology | Enterprise Digita...Dion Hinchcliffe
 
[AI08] 深層学習フレームワーク Chainer × Microsoft で広がる応用
[AI08] 深層学習フレームワーク Chainer × Microsoft で広がる応用[AI08] 深層学習フレームワーク Chainer × Microsoft で広がる応用
[AI08] 深層学習フレームワーク Chainer × Microsoft で広がる応用de:code 2017
 

Viewers also liked (12)

Illustration & Visual Thinking as an Engagement Tool
Illustration & Visual Thinking as an Engagement ToolIllustration & Visual Thinking as an Engagement Tool
Illustration & Visual Thinking as an Engagement Tool
 
Costa Farms Case Study : Azure IoT Hub, Azure Functions
Costa Farms Case Study : Azure IoT Hub, Azure FunctionsCosta Farms Case Study : Azure IoT Hub, Azure Functions
Costa Farms Case Study : Azure IoT Hub, Azure Functions
 
Vodafone IoT_Prompt Softech case study
Vodafone IoT_Prompt Softech case studyVodafone IoT_Prompt Softech case study
Vodafone IoT_Prompt Softech case study
 
ITU-T Study Group 16 Meeting Achievements
ITU-T Study Group 16 Meeting AchievementsITU-T Study Group 16 Meeting Achievements
ITU-T Study Group 16 Meeting Achievements
 
Build 2017 - B8024 - Connected intelligent things with Windows IoT Core and A...
Build 2017 - B8024 - Connected intelligent things with Windows IoT Core and A...Build 2017 - B8024 - Connected intelligent things with Windows IoT Core and A...
Build 2017 - B8024 - Connected intelligent things with Windows IoT Core and A...
 
City of London Police - O2 Customer Story
City of London Police - O2 Customer StoryCity of London Police - O2 Customer Story
City of London Police - O2 Customer Story
 
High Quality 360 Video Rendering and Streaming
High Quality 360 Video Rendering and StreamingHigh Quality 360 Video Rendering and Streaming
High Quality 360 Video Rendering and Streaming
 
Azure IoT Hub
Azure IoT HubAzure IoT Hub
Azure IoT Hub
 
Global Azure Bootcamp 2016 - Real-world Internet of Things Backend with Azure...
Global Azure Bootcamp 2016 - Real-world Internet of Things Backend with Azure...Global Azure Bootcamp 2016 - Real-world Internet of Things Backend with Azure...
Global Azure Bootcamp 2016 - Real-world Internet of Things Backend with Azure...
 
Intergen Convergence 2017 - Business transformation across the enterprise (NZ...
Intergen Convergence 2017 - Business transformation across the enterprise (NZ...Intergen Convergence 2017 - Business transformation across the enterprise (NZ...
Intergen Convergence 2017 - Business transformation across the enterprise (NZ...
 
Next Generation Digital Enterprise (Workplace) Technology | Enterprise Digita...
Next Generation Digital Enterprise (Workplace) Technology | Enterprise Digita...Next Generation Digital Enterprise (Workplace) Technology | Enterprise Digita...
Next Generation Digital Enterprise (Workplace) Technology | Enterprise Digita...
 
[AI08] 深層学習フレームワーク Chainer × Microsoft で広がる応用
[AI08] 深層学習フレームワーク Chainer × Microsoft で広がる応用[AI08] 深層学習フレームワーク Chainer × Microsoft で広がる応用
[AI08] 深層学習フレームワーク Chainer × Microsoft で広がる応用
 

Similar to Azure IoT Workshop

Digital twins IoT - for industry 4.0 (meetup Wireless & Networks, Poznan 12.1...
Digital twins IoT - for industry 4.0 (meetup Wireless & Networks, Poznan 12.1...Digital twins IoT - for industry 4.0 (meetup Wireless & Networks, Poznan 12.1...
Digital twins IoT - for industry 4.0 (meetup Wireless & Networks, Poznan 12.1...Marcin Bielak
 
Cloud-Native .Net des applications containerisées .Net sur Linux, Windows e...
 Cloud-Native .Net des applications containerisées .Net sur Linux, Windows e... Cloud-Native .Net des applications containerisées .Net sur Linux, Windows e...
Cloud-Native .Net des applications containerisées .Net sur Linux, Windows e...VMware Tanzu
 
IoTforReal Seminar slidedeck
IoTforReal Seminar slidedeckIoTforReal Seminar slidedeck
IoTforReal Seminar slidedeckCodit
 
Introduction to Azure Functions
Introduction to Azure FunctionsIntroduction to Azure Functions
Introduction to Azure FunctionsMarco Parenzan
 
#IoTforReal Seminar slidedeck (Codit Belgium - Ghelamco Arena Gent)
#IoTforReal Seminar slidedeck (Codit Belgium - Ghelamco Arena Gent)#IoTforReal Seminar slidedeck (Codit Belgium - Ghelamco Arena Gent)
#IoTforReal Seminar slidedeck (Codit Belgium - Ghelamco Arena Gent)Codit
 
Microsoft's view of the Internet of Things (IoT) by Imran Shafqat
Microsoft's view of the Internet of Things (IoT) by Imran ShafqatMicrosoft's view of the Internet of Things (IoT) by Imran Shafqat
Microsoft's view of the Internet of Things (IoT) by Imran ShafqatAllied Consultants
 
Internet of Things (IoT) reference architecture using Azure -MIC - Lahore
Internet of Things (IoT) reference architecture using Azure -MIC - LahoreInternet of Things (IoT) reference architecture using Azure -MIC - Lahore
Internet of Things (IoT) reference architecture using Azure -MIC - LahoreInformation Technology University
 
NEW LAUNCH! Introducing AWS IoT Analytics - IOT214 - re:Invent 2017
NEW LAUNCH! Introducing AWS IoT Analytics - IOT214 - re:Invent 2017NEW LAUNCH! Introducing AWS IoT Analytics - IOT214 - re:Invent 2017
NEW LAUNCH! Introducing AWS IoT Analytics - IOT214 - re:Invent 2017Amazon Web Services
 
High availability Microsoft vs Oracle
High availability Microsoft vs OracleHigh availability Microsoft vs Oracle
High availability Microsoft vs OracleJacques Kostic
 
HIS 2017 Jonathan Pallant- Delivering quality, time after time
HIS 2017 Jonathan Pallant-  Delivering quality, time after timeHIS 2017 Jonathan Pallant-  Delivering quality, time after time
HIS 2017 Jonathan Pallant- Delivering quality, time after timejamieayre
 
(おそらく)日本最速!_Microsoft Ignite 2019からのHybrid_Edge関連最新トピック紹介
(おそらく)日本最速!_Microsoft Ignite 2019からのHybrid_Edge関連最新トピック紹介(おそらく)日本最速!_Microsoft Ignite 2019からのHybrid_Edge関連最新トピック紹介
(おそらく)日本最速!_Microsoft Ignite 2019からのHybrid_Edge関連最新トピック紹介Masahiko Ebisuda
 
Packaging with InduSoft and CCS-Inc.
Packaging with InduSoft and CCS-Inc.Packaging with InduSoft and CCS-Inc.
Packaging with InduSoft and CCS-Inc.AVEVA
 
IoTSummit - Introduction to IoT Hub
IoTSummit - Introduction to IoT HubIoTSummit - Introduction to IoT Hub
IoTSummit - Introduction to IoT HubMarco Silva
 
Deep Learning for Industrial IoT - MCL316 - re:Invent 2017
Deep Learning for Industrial IoT - MCL316 - re:Invent 2017Deep Learning for Industrial IoT - MCL316 - re:Invent 2017
Deep Learning for Industrial IoT - MCL316 - re:Invent 2017Amazon Web Services
 
R, Spark, Tensorflow, H20.ai Applied to Streaming Analytics
R, Spark, Tensorflow, H20.ai Applied to Streaming AnalyticsR, Spark, Tensorflow, H20.ai Applied to Streaming Analytics
R, Spark, Tensorflow, H20.ai Applied to Streaming AnalyticsKai Wähner
 
How to Leverage Machine Learning (R, Hadoop, Spark, H2O) for Real Time Proces...
How to Leverage Machine Learning (R, Hadoop, Spark, H2O) for Real Time Proces...How to Leverage Machine Learning (R, Hadoop, Spark, H2O) for Real Time Proces...
How to Leverage Machine Learning (R, Hadoop, Spark, H2O) for Real Time Proces...Codemotion
 
Running in the Cloud - First Belgian Azure project
Running in the Cloud - First Belgian Azure projectRunning in the Cloud - First Belgian Azure project
Running in the Cloud - First Belgian Azure projectMaarten Balliauw
 
Running in the Cloud - First Belgian Azure project
Running in the Cloud - First Belgian Azure projectRunning in the Cloud - First Belgian Azure project
Running in the Cloud - First Belgian Azure projectMaarten Balliauw
 
Industry4.0 IoT Vincent Thavonekham - Azure Day Ukraine
Industry4.0 IoT Vincent Thavonekham - Azure Day UkraineIndustry4.0 IoT Vincent Thavonekham - Azure Day Ukraine
Industry4.0 IoT Vincent Thavonekham - Azure Day UkraineFactoVia
 

Similar to Azure IoT Workshop (20)

Digital twins IoT - for industry 4.0 (meetup Wireless & Networks, Poznan 12.1...
Digital twins IoT - for industry 4.0 (meetup Wireless & Networks, Poznan 12.1...Digital twins IoT - for industry 4.0 (meetup Wireless & Networks, Poznan 12.1...
Digital twins IoT - for industry 4.0 (meetup Wireless & Networks, Poznan 12.1...
 
Cloud-Native .Net des applications containerisées .Net sur Linux, Windows e...
 Cloud-Native .Net des applications containerisées .Net sur Linux, Windows e... Cloud-Native .Net des applications containerisées .Net sur Linux, Windows e...
Cloud-Native .Net des applications containerisées .Net sur Linux, Windows e...
 
IoTforReal Seminar slidedeck
IoTforReal Seminar slidedeckIoTforReal Seminar slidedeck
IoTforReal Seminar slidedeck
 
Introduction to Azure Functions
Introduction to Azure FunctionsIntroduction to Azure Functions
Introduction to Azure Functions
 
#IoTforReal Seminar slidedeck (Codit Belgium - Ghelamco Arena Gent)
#IoTforReal Seminar slidedeck (Codit Belgium - Ghelamco Arena Gent)#IoTforReal Seminar slidedeck (Codit Belgium - Ghelamco Arena Gent)
#IoTforReal Seminar slidedeck (Codit Belgium - Ghelamco Arena Gent)
 
Microsoft's view of the Internet of Things (IoT) by Imran Shafqat
Microsoft's view of the Internet of Things (IoT) by Imran ShafqatMicrosoft's view of the Internet of Things (IoT) by Imran Shafqat
Microsoft's view of the Internet of Things (IoT) by Imran Shafqat
 
Internet of Things (IoT) reference architecture using Azure -MIC - Lahore
Internet of Things (IoT) reference architecture using Azure -MIC - LahoreInternet of Things (IoT) reference architecture using Azure -MIC - Lahore
Internet of Things (IoT) reference architecture using Azure -MIC - Lahore
 
Industrial IoT bootcamp
Industrial IoT bootcampIndustrial IoT bootcamp
Industrial IoT bootcamp
 
NEW LAUNCH! Introducing AWS IoT Analytics - IOT214 - re:Invent 2017
NEW LAUNCH! Introducing AWS IoT Analytics - IOT214 - re:Invent 2017NEW LAUNCH! Introducing AWS IoT Analytics - IOT214 - re:Invent 2017
NEW LAUNCH! Introducing AWS IoT Analytics - IOT214 - re:Invent 2017
 
High availability Microsoft vs Oracle
High availability Microsoft vs OracleHigh availability Microsoft vs Oracle
High availability Microsoft vs Oracle
 
HIS 2017 Jonathan Pallant- Delivering quality, time after time
HIS 2017 Jonathan Pallant-  Delivering quality, time after timeHIS 2017 Jonathan Pallant-  Delivering quality, time after time
HIS 2017 Jonathan Pallant- Delivering quality, time after time
 
(おそらく)日本最速!_Microsoft Ignite 2019からのHybrid_Edge関連最新トピック紹介
(おそらく)日本最速!_Microsoft Ignite 2019からのHybrid_Edge関連最新トピック紹介(おそらく)日本最速!_Microsoft Ignite 2019からのHybrid_Edge関連最新トピック紹介
(おそらく)日本最速!_Microsoft Ignite 2019からのHybrid_Edge関連最新トピック紹介
 
Packaging with InduSoft and CCS-Inc.
Packaging with InduSoft and CCS-Inc.Packaging with InduSoft and CCS-Inc.
Packaging with InduSoft and CCS-Inc.
 
IoTSummit - Introduction to IoT Hub
IoTSummit - Introduction to IoT HubIoTSummit - Introduction to IoT Hub
IoTSummit - Introduction to IoT Hub
 
Deep Learning for Industrial IoT - MCL316 - re:Invent 2017
Deep Learning for Industrial IoT - MCL316 - re:Invent 2017Deep Learning for Industrial IoT - MCL316 - re:Invent 2017
Deep Learning for Industrial IoT - MCL316 - re:Invent 2017
 
R, Spark, Tensorflow, H20.ai Applied to Streaming Analytics
R, Spark, Tensorflow, H20.ai Applied to Streaming AnalyticsR, Spark, Tensorflow, H20.ai Applied to Streaming Analytics
R, Spark, Tensorflow, H20.ai Applied to Streaming Analytics
 
How to Leverage Machine Learning (R, Hadoop, Spark, H2O) for Real Time Proces...
How to Leverage Machine Learning (R, Hadoop, Spark, H2O) for Real Time Proces...How to Leverage Machine Learning (R, Hadoop, Spark, H2O) for Real Time Proces...
How to Leverage Machine Learning (R, Hadoop, Spark, H2O) for Real Time Proces...
 
Running in the Cloud - First Belgian Azure project
Running in the Cloud - First Belgian Azure projectRunning in the Cloud - First Belgian Azure project
Running in the Cloud - First Belgian Azure project
 
Running in the Cloud - First Belgian Azure project
Running in the Cloud - First Belgian Azure projectRunning in the Cloud - First Belgian Azure project
Running in the Cloud - First Belgian Azure project
 
Industry4.0 IoT Vincent Thavonekham - Azure Day Ukraine
Industry4.0 IoT Vincent Thavonekham - Azure Day UkraineIndustry4.0 IoT Vincent Thavonekham - Azure Day Ukraine
Industry4.0 IoT Vincent Thavonekham - Azure Day Ukraine
 

More from Marco Parenzan

Azure IoT Central per lo SCADA engineer
Azure IoT Central per lo SCADA engineerAzure IoT Central per lo SCADA engineer
Azure IoT Central per lo SCADA engineerMarco Parenzan
 
Static abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptx
Static abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptxStatic abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptx
Static abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptxMarco Parenzan
 
Azure Synapse Analytics for your IoT Solutions
Azure Synapse Analytics for your IoT SolutionsAzure Synapse Analytics for your IoT Solutions
Azure Synapse Analytics for your IoT SolutionsMarco Parenzan
 
Power BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT Central Power BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT Central Marco Parenzan
 
Power BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT CentralPower BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT CentralMarco Parenzan
 
Power BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT CentralPower BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT CentralMarco Parenzan
 
Developing Actors in Azure with .net
Developing Actors in Azure with .netDeveloping Actors in Azure with .net
Developing Actors in Azure with .netMarco Parenzan
 
Math with .NET for you and Azure
Math with .NET for you and AzureMath with .NET for you and Azure
Math with .NET for you and AzureMarco Parenzan
 
Power BI data flow and Azure IoT Central
Power BI data flow and Azure IoT CentralPower BI data flow and Azure IoT Central
Power BI data flow and Azure IoT CentralMarco Parenzan
 
.net for fun: write a Christmas videogame
.net for fun: write a Christmas videogame.net for fun: write a Christmas videogame
.net for fun: write a Christmas videogameMarco Parenzan
 
Building IoT infrastructure on edge with .net, Raspberry PI and ESP32 to conn...
Building IoT infrastructure on edge with .net, Raspberry PI and ESP32 to conn...Building IoT infrastructure on edge with .net, Raspberry PI and ESP32 to conn...
Building IoT infrastructure on edge with .net, Raspberry PI and ESP32 to conn...Marco Parenzan
 
Anomaly Detection with Azure and .NET
Anomaly Detection with Azure and .NETAnomaly Detection with Azure and .NET
Anomaly Detection with Azure and .NETMarco Parenzan
 
Deploy Microsoft Azure Data Solutions
Deploy Microsoft Azure Data SolutionsDeploy Microsoft Azure Data Solutions
Deploy Microsoft Azure Data SolutionsMarco Parenzan
 
Deep Dive Time Series Anomaly Detection in Azure with dotnet
Deep Dive Time Series Anomaly Detection in Azure with dotnetDeep Dive Time Series Anomaly Detection in Azure with dotnet
Deep Dive Time Series Anomaly Detection in Azure with dotnetMarco Parenzan
 
Anomaly Detection with Azure and .net
Anomaly Detection with Azure and .netAnomaly Detection with Azure and .net
Anomaly Detection with Azure and .netMarco Parenzan
 
Code Generation for Azure with .net
Code Generation for Azure with .netCode Generation for Azure with .net
Code Generation for Azure with .netMarco Parenzan
 
Running Kafka and Spark on Raspberry PI with Azure and some .net magic
Running Kafka and Spark on Raspberry PI with Azure and some .net magicRunning Kafka and Spark on Raspberry PI with Azure and some .net magic
Running Kafka and Spark on Raspberry PI with Azure and some .net magicMarco Parenzan
 
Time Series Anomaly Detection with Azure and .NETT
Time Series Anomaly Detection with Azure and .NETTTime Series Anomaly Detection with Azure and .NETT
Time Series Anomaly Detection with Azure and .NETTMarco Parenzan
 

More from Marco Parenzan (20)

Azure IoT Central per lo SCADA engineer
Azure IoT Central per lo SCADA engineerAzure IoT Central per lo SCADA engineer
Azure IoT Central per lo SCADA engineer
 
Azure Hybrid @ Home
Azure Hybrid @ HomeAzure Hybrid @ Home
Azure Hybrid @ Home
 
Static abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptx
Static abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptxStatic abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptx
Static abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptx
 
Azure Synapse Analytics for your IoT Solutions
Azure Synapse Analytics for your IoT SolutionsAzure Synapse Analytics for your IoT Solutions
Azure Synapse Analytics for your IoT Solutions
 
Power BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT Central Power BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT Central
 
Power BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT CentralPower BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT Central
 
Power BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT CentralPower BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT Central
 
Developing Actors in Azure with .net
Developing Actors in Azure with .netDeveloping Actors in Azure with .net
Developing Actors in Azure with .net
 
Math with .NET for you and Azure
Math with .NET for you and AzureMath with .NET for you and Azure
Math with .NET for you and Azure
 
Power BI data flow and Azure IoT Central
Power BI data flow and Azure IoT CentralPower BI data flow and Azure IoT Central
Power BI data flow and Azure IoT Central
 
.net for fun: write a Christmas videogame
.net for fun: write a Christmas videogame.net for fun: write a Christmas videogame
.net for fun: write a Christmas videogame
 
Building IoT infrastructure on edge with .net, Raspberry PI and ESP32 to conn...
Building IoT infrastructure on edge with .net, Raspberry PI and ESP32 to conn...Building IoT infrastructure on edge with .net, Raspberry PI and ESP32 to conn...
Building IoT infrastructure on edge with .net, Raspberry PI and ESP32 to conn...
 
Anomaly Detection with Azure and .NET
Anomaly Detection with Azure and .NETAnomaly Detection with Azure and .NET
Anomaly Detection with Azure and .NET
 
Deploy Microsoft Azure Data Solutions
Deploy Microsoft Azure Data SolutionsDeploy Microsoft Azure Data Solutions
Deploy Microsoft Azure Data Solutions
 
Deep Dive Time Series Anomaly Detection in Azure with dotnet
Deep Dive Time Series Anomaly Detection in Azure with dotnetDeep Dive Time Series Anomaly Detection in Azure with dotnet
Deep Dive Time Series Anomaly Detection in Azure with dotnet
 
Azure IoT Central
Azure IoT CentralAzure IoT Central
Azure IoT Central
 
Anomaly Detection with Azure and .net
Anomaly Detection with Azure and .netAnomaly Detection with Azure and .net
Anomaly Detection with Azure and .net
 
Code Generation for Azure with .net
Code Generation for Azure with .netCode Generation for Azure with .net
Code Generation for Azure with .net
 
Running Kafka and Spark on Raspberry PI with Azure and some .net magic
Running Kafka and Spark on Raspberry PI with Azure and some .net magicRunning Kafka and Spark on Raspberry PI with Azure and some .net magic
Running Kafka and Spark on Raspberry PI with Azure and some .net magic
 
Time Series Anomaly Detection with Azure and .NETT
Time Series Anomaly Detection with Azure and .NETTTime Series Anomaly Detection with Azure and .NETT
Time Series Anomaly Detection with Azure and .NETT
 

Recently uploaded

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 

Recently uploaded (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 

Azure IoT Workshop

  • 1. Azure IoT Workshop– 13.10.2017 Azure IoT Workshop @marco_parenzan
  • 2. Azure IoT Workshop– 13.10.2017 @marco_parenzan ◇.NET, JavaScript,Azure ad IoT Developer, Trainer and Consultant ◇Microsoft MVP 2017 for Azure ◇Book Author @ Packt, LSWR ◇Community Lead per 1nn0va
  • 4. Azure IoT Workshop– 13.10.2017 Things IoT Solutions Have a Common Pattern Insights Actions Cloud Gateway Azure IoT Hub
  • 5. Azure IoT Workshop– 13.10.2017 IoT Scenario IoT Hub (Events and Devices) Function (Process) Function (Alerts) Storage (Storage)
  • 10. Azure IoT Workshop– 13.10.2017
  • 11. Azure IoT Workshop– 13.10.2017
  • 12. Azure IoT Workshop– 13.10.2017 Disclaimer ◇This is not an electronic course! ◇You are not an electronic geek! ◇I’m not an electronic geek! ◇You cannot avoid these skills in your team
  • 13. Azure IoT Workshop– 13.10.2017 Warning! We cannot avoid… Electronic engineers Process engineers Industrialization process
  • 14. Azure IoT Workshop– 13.10.2017 Warning! We are not saying… Software engineers can create devices
  • 15. Azure IoT Workshop– 13.10.2017 We are just saying… Embedded world is no more a niche Software engineers can contribute
  • 16. Azure IoT Workshop– 13.10.2017 It is no more a niche Proprietary Hardware and tools Obsolete tools No software rules and quality
  • 17. Azure IoT Workshop– 13.10.2017 Software engineers can contribute Methodologies Patterns (Cloud) Infrastructure “Openness” Tools Languages
  • 18. Azure IoT Workshop– 13.10.2017 Tools Up to date compilers Modern IDEs SDK (Libraries and Drivers) Debuggers Simulators
  • 19. Azure IoT Workshop– 13.10.2017 Languages C Processin g Node.js Python Java C#
  • 20. Azure IoT Workshop– 13.10.2017 Software Developer Role Develop and test the process and the cloud infrastructure Develop and test the device software design Cannot test sensors and actuators Work with fake/random data
  • 21. Azure IoT Workshop– 13.10.2017
  • 22. Azure IoT Workshop– 13.10.2017 Contesto ◇Azienda di Produzione Industriale ■10-50M EURO ◇Presenza world-wide ◇Mercato Pro ■Più sensibili al servizi ■E poi discutiamo del privato ◇Su commessa ■Assorbe I costi iniziali ■E poi discutiamo della serie 10M€
  • 23. Azure IoT Workshop– 13.10.2017 Industial Stainless Steel Kitchen Applications
  • 24. Azure IoT Workshop– 13.10.2017 Scenario: resistor performance loss ◇Reference temperature is no more reachable ◇Example ■fry-top: 400°C 300°C ■human cannot verify the temperature ■Mechanical thermostat shows only reference temperature, not current temperature ◇Effects ■Longer cooking ■“Bad” cooking ■Customer impact ■Prelude to break
  • 25. Azure IoT Workshop– 13.10.2017 Scenario: resistor break ◇Typically after a loose of performances, resistor elements break (days/weeks) ◇Effects ■Appliance break ■Kitchen mainly slow down (few cooking appliances) ○Kitched typically don’t stop | Many elements in cooking blocks can supply loss of other elements ■Long time in assistance (no SLA discussed) ■Stop can vary from hours to days ■Final customer impact/reputation
  • 26. Azure IoT Workshop– 13.10.2017 Required solution ◇Telemetry in industrial cooking plants ◇Intelligent appliances that sends status/operational data ◇Collect data world wide ◇Group by ■Appliances ■Temperature range ■Daily/Seasonal data ■Kitchen/Plant ◇Apply data analysis algorithms ■Final analysis (analyze costs) ■Forecast analysis (prevent uncontrolled failures, manage “planned” failures)
  • 27. Azure IoT Workshop– 13.10.2017 Proposizione ◇Assolvere ad una esigenza «immediata» ■Manutenzione predittiva ■Manutenzione preventiva ■Abbattere i costi della manutenzione ◇Assolvere ad una esigenza «a lungo termine» ■Offrire nuovi servizi alle aziende ■Permettettere alle aziende di offrire nuovi servizi ■Nuovo modello di business (CAPEXOPEX)
  • 28. Azure IoT Workshop– 13.10.2017 Industria 4.0 http://www.slideshare.net/alexcurti/piano-industria-40-68702177
  • 29. Azure IoT Workshop– 13.10.2017 Benefici attesi dall’ Industria 4.0
  • 30. Azure IoT Workshop– 13.10.2017 Tecnologie abilitanti Industria 4.0
  • 31. Azure IoT Workshop– 13.10.2017
  • 32. Azure IoT Workshop– 13.10.2017 Embedded ◇È la tecnologia che rende intelligente un elemento prodotto ◇Permette di creare azione ed interazione LOCALE ◇Usa microprocessori o microcontrollori ◇Microcrontrollori: I/O oriented, Atmel ATmeg328, ESP8266 ■I/O, realtime ■GPIO (5V, 3,3V) ◇Microprocessori: ARM Cortex, Intel Quark, Intel Atom ■Gateway ◇Elementi tecnologici di riferimento ■Consumo energetico ◇Si parla spesso di SOC: System On Chip ■Integrazione cost effective ◇Può essere realtime
  • 33. Azure IoT Workshop– 13.10.2017 I progetti Embedded IoT sono complessi •conoscenze Incompatibile con la infrastruttura corrente •conoscenzeTime consuming da avviare •Infrastruttura complessa •Procedure Difficile da mantenere •Costi •Infrastruttura complessa Difficile da scalare
  • 34. Azure IoT Workshop– 13.10.2017 Makers ◇Board con microcontrolloreArduino ◇Board con microprocessoreRaspberry ◇Prototipazione ■Verifichiamo che l’idea funzioni ◇Focus on: ■Programming, Connecting ■…non sull’elettronica… ◇Non industrial-grade ◇Hanno cambiato il modo di interagire con il mondo embedded ◇Queste schede sono «naturalmente» connesse a Internet ■Implementano sempre uno stack TCP/IP o almeno una connessione esterna evoluta (USB)
  • 35. Azure IoT Workshop– 13.10.2017 Boards for makers Arduino
  • 36. Azure IoT Workshop– 13.10.2017 Industrial-grade Makers Arduino Raspberry Olimex Toradex
  • 37. Azure IoT Workshop– 13.10.2017 Embedded Device GPIO Sensors Actuators Board Edge/Local Processing State
  • 38. Azure IoT Workshop– 13.10.2017 IoT Device=Embedded Device + Communication GPIO Communication Sensors Actuators Board Edge/Local Processing State
  • 39. Azure IoT Workshop– 13.10.2017 Non solo Raspberry…Industruino
  • 40. Azure IoT Workshop– 13.10.2017 Energy ManagementVertical Cloud MA DI CHI SONO I DATI?
  • 41. Azure IoT Workshop– 13.10.2017
  • 42. Azure IoT Workshop– 13.10.2017 Alternatives Costs Performances
  • 43. Azure IoT Workshop– 13.10.2017 Performance of Arduino class devices ◇- The absolute performance power of Arduino device is low ■Arduino is a microcontroller-based architecture ■Raspberry Pi is a microprocessor-based architecture ◇+ Pro: Arduino has a light set of running services, light OS
  • 44. Azure IoT Workshop– 13.10.2017 Cost of Arduino class devices • +Pro: Arduino cost LESS that Raspberry Pi devices • - You have less resources and services
  • 45. Azure IoT Workshop– 13.10.2017 Arduino language ◇Processing (the IDE - https://processing.org/) ◇JavaScript (inspiration of the language and for Processing) ◇C++ (object syntax, usage, not creation) ◇C (raw performance and binary)
  • 46. Azure IoT Workshop– 13.10.2017 Arduino and Azure IoT Hub ◇Arduino can speak Http, MQTT and AMQP protocols ◇Porting of Azure IoTHub SDK for C
  • 47. Azure IoT Workshop– 13.10.2017 Starting with Arduino ◇https://github.com/arduino/Arduino/ ◇https://www.arduino.cc/en/main/software ◇https://azure.microsoft.com/en-us/develop/iot/starter-kits/ ◇https://www.adafruit.com/azure ◇https://www.adafruit.com/product/3032
  • 48. Azure IoT Workshop– 13.10.2017 Connecting the sensor 10K Ω P2 + - + -
  • 49. Azure IoT Workshop– 13.10.2017 + - + - Connecting the leds 15 Anode(+,longer) 560Ω 560Ω 13 Anode(+,longer)
  • 50. Azure IoT Workshop– 13.10.2017 The result
  • 51. Azure IoT Workshop– 13.10.2017 Setup software per lo sviluppo in Azure ◇Git ◇Visual Studio Code ◇Python ◇Node.js ◇nom
  • 52. Azure IoT Workshop– 13.10.2017 Setup software per Azure ◇Azure CLI 2.0[.19] (https://aka.ms/InstallAzureCliWindows) ◇npm install -g iothub-explorer [1.1.16]
  • 53. Azure IoT Workshop– 13.10.2017 Setup software per Arduino ◇Arduino 1.8.x (1.8.5) da arduino.cc ◇CP210x USB to UART Bridge (COMx) https://www.silabs.com/products/development-tools/software/usb- to-uart-bridge-vcp-drivers
  • 54. Azure IoT Workshop– 13.10.2017 Setup Azure ◇Dashboard (Azure IoT Workshop) ◇Resource Group (AzureIoTWorkshop) ◇IoT Hub (AzureIoTWorkshop0000xy) ◇Azure Storage (azureiotworkshop00xy) in minuscolo!!!! ◇Function (azureiotworkshop00xy)
  • 55. Azure IoT Workshop– 13.10.2017 Set current subscription ◇az login ■https://aka.ms/devicelogin ■E incolla il codice ◇az account set --subscription “<subscription name>“ ◇az show
  • 56. Azure IoT Workshop– 13.10.2017 Create device from command line ◇Az iot hub list ◇az iot device create --hub-name azureiotworkshop00xy --device- id dev1 ◇az iot device show-connection-string --hub-name azureiotworkshopproto --device-id dev1
  • 57. Azure IoT Workshop– 13.10.2017 Una MCU programmabile Arduino con ESP8266 http://www.instructables.com/id/Programming-ESP8266-ESP-12E-NodeMCU-Using-Arduino-/ https://github.com/esp8266/Arduino/issues/584
  • 58. Azure IoT Workshop– 13.10.2017 Resistenze, tanto per ricordarsi
  • 59. Azure IoT Workshop– 13.10.2017 Rilevare la temperatura con un DHT 11 ◇https://learn.adafruit.com/dht
  • 60. Azure IoT Workshop– 13.10.2017
  • 61. Azure IoT Workshop– 13.10.2017 IoT Scenario IoT Hub (Events and Devices) Function (Process) Function (Alerts) Storage (Storage)
  • 62. Azure IoT Workshop– 13.10.2017 Configuring Azure Services ◇Three functional services ■Azure Blob Storage ■Azure Function App ■Azure IoT Hub ◇One non functional service ■Azure Resource Group
  • 63. Azure IoT Workshop– 13.10.2017 Why IoT Hub? ◇Devices registration ◇Notification abstraction from implementation (web sockets/polling) ◇Eterogeneus devices implementation simplified by SDK support ◇Cons ■External tool to manage device registration
  • 64. Azure IoT Workshop– 13.10.2017 Alternatives to IoT Hub ◇API Apps (App Services) ◇Why not ■Manual registry implementation ■Manual two way communication implementation (with web sockets) ■Manual scaling (at large)
  • 65. Azure IoT Workshop– 13.10.2017 Why Azure Storage? ◇Persisted data handled as a blob in the storage ■No query requirement ◇Native integration with Functions ■Trigger
  • 66. Azure IoT Workshop– 13.10.2017 Alternatives to Azure Storage ◇DocumentDb for Json support ◇Why yes ■Native querying support ◇Why not ■Blob support
  • 67. Azure IoT Workshop– 13.10.2017 Why Azure Function? ◇Unfrequent access to the function ■Subsecond billing ◇Event based solution ■Http Request ■Blob storage ◇Better code organization ■Simple Responsibility Principle: 1 function, 1 responsibility
  • 68. Azure IoT Workshop– 13.10.2017 Alternatives to Azure Function ◇API Apps (App Services) ◇Why yes ■Mature patterns on class-based development ■Mature ALM with API Apps (Visual Studio experience) ◇Why not ■Classic hosting plan only ■Risk on responsibility coupling (too many responsibilities)
  • 69. Azure IoT Workshop– 13.10.2017 Azure Resource Group ◇Mandatory service organization ◇Deployment opportunities ■Agile deployment ■Transactional deployment ◇Cons ■Not simple to learn (but full of advantages)
  • 70. Azure IoT Workshop– 13.10.2017
  • 71. Azure IoT Workshop– 13.10.2017 IP capable devices Devices Data processing and analytics Monitoring Control IT solution backend Presentationandbusiness connectivity Existing IoT devices Low power devices Generic IoT RequirementsIp Capable Devices Legacy,NonIpCapable Devices ??? ??? ??? ??? ??? ???
  • 72. Azure IoT Workshop– 13.10.2017 IoTHub messaging protocols Legacy Protocol Low resource devices Intermittent connection Device location
  • 73. Azure IoT Workshop– 13.10.2017 IP capable devices Field Gatewa y Device connectivity Data processing and analytics IT solution backend Cloudgateway Presentationandbusiness connectivity Existing IoT devices Low power devices Generic IoT Solution Devices Monitoring Control
  • 74. Azure IoT Workshop– 13.10.2017 IoT Hub Device id What is Azure IoTHub Device C2D queue endpoint D2C send endpoint Device … Device … Device… IoT Hub management Device identity management D2C receive endpoint Methods endpoint Twin endpoint Twins endpoint Devices Methods endpoint Custom endpoints C2D send and feedback endpoints Event processing (hot and cold path) Event processing (hot path) Device management, device business logic, Connectivity monitoring Device provisioning and authorization Field GW / Cloud GW
  • 75. Azure IoT Workshop– 13.10.2017 IoT Hub features
  • 76. Azure IoT Workshop– 13.10.2017
  • 77. Azure IoT Workshop– 13.10.2017 Telemetry sending, acquiring and measuring data Event State (or state event) Message
  • 78. Azure IoT Workshop– 13.10.2017 IoT Hub Device id Send/receive data C2D queue endpoint D2C send endpoint D2C receive endpoint C2D send and feedback endpoints Event processing (hot path) Device Client SDKs • C • Java • C# (.Net Standard 1.3) • Python Device management, device business logic, Connectivity monitoring Client SDKs • .Net • Node • Java • Python
  • 79. Azure IoT Workshop– 13.10.2017 Message Opaque body Application Properties System Properties
  • 80. Azure IoT Workshop– 13.10.2017 IoT Hub Device Management Device Twin Queries Methods Jobs
  • 81. Azure IoT Workshop– 13.10.2017
  • 82. Azure IoT Workshop– 13.10.2017 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
  • 83. Azure IoT Workshop– 13.10.2017
  • 84. Azure IoT Workshop– 13.10.2017
  • 85. Azure IoT Workshop– 13.10.2017
  • 86. Azure IoT Workshop– 13.10.2017 Querying Device Twins FROM WHERE SELECT GROUP BY
  • 87. Azure IoT Workshop– 13.10.2017 Sample queries ◇Devices located in the US configured to send telemetry less often that every minute ◇Devices which have wifi o wired connectivity ◇Devices where reported and desired properties do not match
  • 88. Azure IoT Workshop– 13.10.2017 IoT Hub Structured data Device Device management, device business logic, Connectivity monitoring Device Twin Properties Tags Desired Reported Properties Desired Reported Method
  • 89. Azure IoT Workshop– 13.10.2017
  • 90. Azure IoT Workshop– 13.10.2017 Where does IoT Hub fit in?
  • 91. Azure IoT Workshop– 13.10.2017 Functions «lifestyle» ◇Per event handling ◇Stateless processing ◇Binding approach
  • 92. Azure IoT Workshop– 13.10.2017 IoTHub’s EventHub compatible endpoint Namespace
  • 93. Azure IoT Workshop– 13.10.2017 IoTHub’s Security Policies Security Info SharedAccessKeyNam e SharedAccessKey
  • 94. Azure IoT Workshop– 13.10.2017 EventHub-like connection string ◇Endpoint=<EventHubNamespace>;SharedAccessKeyName=< SharedAccessKeyName>;SharedAccessKey=< SharedAccessKey> ■Add EntityPath=<EventHub name> in case of EventHub Security Policy
  • 95. Azure IoT Workshop– 13.10.2017 EventHub binding ConnectionStringEventHub name
  • 96. Azure IoT Workshop– 13.10.2017
  • 97. Azure IoT Workshop– 13.10.2017
  • 98. Azure IoT Workshop– 13.10.2017 Where storing a message Azure Storage Azure DocumentDb Azure EventHub Azure Queue Azure Service Bus Azure SQL Database
  • 99. Azure IoT Workshop– 13.10.2017 Then? ◇The message is stored ◇Storage can be the end of the process ◇Or the beginning of the next step ■Intermediate processing (a microservices approach) ■Control/Feedback ◇And you process again in the same way: ■EventProcessor ■Azure Stream Analytics ■Azure Function
  • 100. Azure IoT Workshop– 13.10.2017 Control the devices ◇Cloud-to-device messaging ■As needed (twin, message, device method) ◇You need to invoke IoT Hub API ■REST API C# API ■Node.js API ◇Low frequency ◇Function is well suited for this
  • 101. Azure IoT Workshop– 13.10.2017
  • 102. Azure IoT Workshop– 13.10.2017 What I choose for my devices?
  • 103. Azure IoT Workshop– 13.10.2017
  • 104. Azure IoT Workshop– 13.10.2017 Generate the symmetric key DEVICE IOT HUB C:>az iot device create –hub-name <hubname> --device-id <deviceId>
  • 105. Azure IoT Workshop– 13.10.2017 All devices have different keys Device Registry
  • 106. Azure IoT Workshop– 13.10.2017 Authorization with encryption Encrypt( , , )=
  • 107. Azure IoT Workshop– 13.10.2017 Authenticated communication ◇Token based authentication DEVICE IOT HUB (TCP endpoint) TCP Connection
  • 108. Azure IoT Workshop– 13.10.2017 Key invalidation DEVICE IOT HUB
  • 109. Azure IoT Workshop– 13.10.2017 Wrap Up