SlideShare a Scribd company logo
1 of 48
Download to read offline
#iotsatpn
saturday 2019
Internet of Things
Architecting Azure (I)IoT solutions
Pietro Brambati, Microsoft
Twitter:@pietrobr
pietrobr@microsoft.com
#iotsatpn
Azure IoT portfolio
Device SDKs Azure Sphere Windows IoT Data Box Edge
Certified
Devices
IoT Edge
Stream
Analytics
Azure ML Azure SQL Functions
Cognitive
Services
IoT Hub Event Hub IoT Hub Device
Provisioning Service
Time Series
Insight (TSI)
Maps
Stream
Analytics
CosmosDB Logic Apps Cognitive / AI Web Apps
PowerBI
Azure IoT Solution Accelerators Azure IoT Central
AzureSecurityCenterforIoT
App Insight Blob Service Bus
#iotsatpn
IoT Logical Architecture
IoT DeviceIoT DeviceIoT Device
IoT DeviceIoT Device
IoT Edge
Device
Cloud
Gateway
Stream
Processing
Data
Transformation
Warm
Store
Cold
Store
UI &
Reporting
User
Management
Business
Integration
Machine
Learning
Fast path – real time processing
Slow path – Batch processing
#iotsatpn
Azure IoT Architecture – simplified view
IoT DeviceIoT DeviceIoT Device
IoT DeviceIoT Device
IoT Edge
Device
Stream Processing UI & Reporting
Machine Learning
Fast path – real time processing
Slow path – Batch processing
Cloud
Gateway
IoT Hub
Data Transformation
Functions
Warm
CosmosDB
Cold
Blob
Azure Stream Analytics Power BI
Business Integration
Logic Apps
User Management
Azure Active Directory
Machine Learning
#iotsatpn
Lambda Architecture
A generic, scalable, robust and fault-tolerant data processing architecture
New
data
Storage
(HDFS)
Real-time
view
Batch layer
Batch view
Batch view
Query
Real-time
view
Pros
Increase throghput
Reduce latency
Negligible errors
Useful with event sourcing
Serving layer
Speed layer
Cons
Different tecnologies
No easy to mantain
Process
(Map Reduce)
Process
(Spark/Storm)
#iotsatpn
Kappa Architecture
Real-time processing of live streaming data - an alternative to Lambda, not a replacement
Pros
Focus on speed
Less code resource
Fewer resources: ML done in real-time
Re-processing only if code changes
Cons
More errors, no batch layer
New
data
Real-time
view
Query
Real-time
view
Serving layer
Process
(Spark/Storm)
Speed layer
#iotsatpn
Slow path – batch processing
Fast path – real-time processing
Azure IoT Logical Architecture – Lambda
Recommended data flow
Cloud
GatewayIoT DeviceIoT DeviceIoT Device
Route
Analyze
(low latency)
Store Display
Action
Analyze
(complex)
Action
Store Display
Partitioning
Message props.
#iotsatpn
Azure IoT Physical Architecture – Lambda
Stateless and Static rules, no reference to external data
Scheduled batch processing (training , Machile Learning)
Real-time device telemetry (visualization)
IoT Hub
IoT DeviceIoT DeviceIoT Device
IoT Hub Route
IoT Hub Route
Event Hub Functions
Logic App
IoT Hub Route
Blob/ADL
(Cold)
Azure ML
CosmosDB
Real-time analytics (Alert, Actions)
Event Hub Functions
When to use:
Processing rule with no history
Records in JSON
Small number of rules required
Define conditions in payload of IoT Hub Route
#iotsatpn
Azure IoT Physical Architecture – Lambda
Statefull and Dynamic rules, ability to reference external data
Scheduled batch processing (training , Machile Learning)
Real-time device telemetry (visualization)
IoT Hub
IoT DeviceIoT DeviceIoT Device
IoT Hub Route Event Hub Functions
Logic App
IoT Hub Route
Storage
(Cold)
Azure ML
CosmosDB
Real-time analytics (Alert, Actions)
Azure Stream
Analytics
FunctionsWhen to use:
Complex analysis: time windows, join
with external data source
Processing logic consists of severval
rules that can grow
Input data in binary format (like Avro)
#iotsatpn
Ops….
#iotsatpn
IoT and Industrial IoT (IIoT)
Industrial ready solutions
IoT
Consumer apps and device
Good Internet connectivity
Well know set of protocols
«Close enough» for good latency
Usually no real-time requirements
Simple application with low-risk impact
Industrial IoT
Industrial apps (agricaulture and manifacturing, etc.)
Low internet connectivity
A «junglue» of communication protocols
lack of interoperability and legacy technologies:
SCADA, M2M, etc
Security is a major complain (e.g take down an
electrical grid)
Must integrate with ERP
Precision is business as usual
Low latency for near-real-time operations
Reliability and Resilence: 20-30 years, e.g. loss of
sensors, loss of connectivity
#iotsatpn
Edge Connectivity
IP-based communication
Device
IoT Client
Device
Device
Device
IoT Client
Device
Device
Field gateway
IoT Client
Cloud
Gateway
(IoT Hub)
AMQP, MQTT, HTTPS
AMQP, MQTT, HTTPS
Custom Cloud
Gateway
Custom protocols
Field gateway OPC, HTTP, CoAP
VPN/ExR
CoAP,AllJoyn, OPC
CoAP,AllJoyn, OPC
#iotsatpn
OPC Unified Architecture(UA)
Local network communication
OPC «Classic»
Object Linking and Embedding for Process Control, first defined in 1995.
A Client/Server based communication architecture
Evolved over the years adding more functionalities (protocols): Data Access, Alarm & Events, etc..
OPC Unified Application
Secure, platform-independent, SOA, in 2008
OPC-UA gateway read from OPC-UA server via Publish/Subscribe (JSON payload over MQTT or AMQP)
#iotsatpn
Field Gateway
(IoT Edge)
OPC UA with Microsoft Technologies
Microsoft invests heavily in OPC-UA by providing several solutions
IoT DeviceIoT Device
Industrial
Device
OPC UA Server
OPC Publisher «Container» Cloud
Gateway
OPC Client
OPC Server
Cert. Store
Telemetry Data Flow Scenario
OCP-UA Publish/Subscribe
#iotsatpn
MIRAI
#iotsatpn
Security
Connected device – some consideration
Inexpensive device trading away cryptographic capability
They should be constrained on local network
used by field gateway
Use device that support cryptographic capabilities
Encryption algorithms
Digital signature
TLS 1.2, DTLS 1.2
Updatable key-store per device and firmware must allow updates
Choose MCU with TPM
Secure boot loader
Sensor to detect intrusion attemps
Use a relay service to remote connect to a device
No direct SSH to it
#iotsatpn
IoT Hub
Ingestion to the cloud
Event processing
Device provisioning
and management
Device business logic,
connectivity monitoring
#iotsatpn
IoT Device Provisioning Service (DPS)
Zero touch, just in time device provisioning to the right IoT Hub
No hard-coding IoT Hub into device at
the factory
Load balancing
Lowest latency
Connect to the right IoT Hub in
Mutitenancy scenario
Roll Certificate (e.g in case of a breach)
Reprovisioning
IoT DeviceIoT Device
IoT Edge
Device
Device Provisioning Service (DPS)
Enrollment List Cloud
Gateway
(IoT Hub)
X509, TPM, Sym. Key
1
2
3
4
5
6
7-8
#iotsatpn
Event Hub
Architecture- event ingestor at high-scale
HTTPS
AMQP
Kafka
Consumer group
Consumer group
Event Producers
MB/s → GB/s
Event Receivers
Each consumer app its own cursor/offset
Durable:
1-7 days for Standard, 90 days Dedicated
#iotsatpn
Event Hub
Scenario : Clean Event Hubs
#iotsatpn
Event Hub
Scenario : Checkpoints
It doesn’t start from the beginning
#iotsatpn
Azure Stream Analytics
event-processing engine
IoT Hubs
Archiving for long term storage/
batch analytics
Real-time dashboard
Stream
Analytics
Automation to kick-off
workflowsMachine LearningReference Data
(Blobs and SQL DB)
Event Hubs
Blobs
Devices &
Gateways
Power BI
Applications
#iotsatpn
Azure Stream Analytics
event-processing engine
Stream UnitInput Stream output Stream
stream
From With
Into
Stream UnitInput Stream output Stream
From With
IntoJoin
#iotsatpn
SAQL
Query Language
Scaling Extensions
WITH
PARTITION BY
OVER
Windowing Extensions
TumblingWindow
HoppingWindow
SlidingWindow
Aggregate Functions
Sum
Count
Avg
Min
Max
StDev
StDevP
Var
VarP
String Functions
Len
Concat
CharIndex
Substring
PatIndex
Temporal Functions
Lag, IsFirst
CollectTop
DML
SELECT
FROM
WHERE
GROUP BY
HAVING
CASE WHEN THEN ELSE
INNER/LEFT OUTER JOIN
UNION
CROSS/OUTER APPLY
CAST
INTO
ORDER BY ASC, DSC
Date and Time Functions
DateName
DatePart
Day
Month
Year
DateTimeFromParts
DateDiff
DateAdd
#iotsatpn
Azure Stream Analytics
Tumbling Window
Tell me the count of tweets per time zone every 10 seconds
1 5 4 26 8 6 5
Time
(secs)
1 5 4 26
8 6
A 10-second Tumbling Window
3 6 1
5 3 6 1
1 5 4 26
1
SELECT TimeZone, COUNT(*) AS Count
FROM TwitterStream TIMESTAMP BY CreatedAt
GROUP BY TimeZone, TumblingWindow(second,10)
#iotsatpn
Azure Stream Analytics
Hoping Window
SELECT Topic, COUNT(*) AS TotalTweets, AVG(SentimentScore)
FROM TwitterStream TIMESTAMP BY CreatedAt
GROUP BY Topic, HoppingWindow(second, 10 , 5)
Every 5 seconds give me the count
of tweets and the average
sentiment score over the last 10
seconds
1 5 4 26 8 7
A 10-second Hopping Window with a 5-second “Hop”
4 26
8 6
5 3 6 1
1 5 4 26
8 6 5 3
6 15 3
#iotsatpn
Azure Stream Analytics
Sliding Window
SELECT Topic, COUNT(*) FROM TwitterStream
TIMESTAMP BY CreatedAt
GROUP BY Topic, SlidingWindow(second, 10)
HAVING COUNT(*) > 10
Give me the count of tweets for all
topics which are tweeted more than
10 times in the last 10 seconds
1 5
A 10-second Sliding Window
8
8
51
9
51 9
1
#iotsatpn
Azure Stream Analytics
Session Window
Tell me the count of
tweets that occur within
5 minutes each other
1 5
A 10-second Sliding Window
9
5
76 8
1
6 7 8
9
#iotsatpn
Event Grid
event routing service for publish and subscribe model
Retry mechanism
Filter to route events
to different endpoints
single endpoint for
SaaS apps. Fine-
grained auth with AAD
Dead-letter
Events != Messages
#iotsatpn
Time Series Insights
Analytics for Industrial IoT
Analytics, storage and visualization service for time series data
Operation Analysis for both warm and cold data
Storage in-memory and SSD
Easy connection with IoT Hub
SQL like filtering and aggregation
Data explorer dashboard and API,
JavaScript library
Latency 30-60 seconds
#iotsatpn
The Edge
#iotsatpn
Why Azure IoT Edge?
#iotsatpn
IoT Edge runtime
Installs and updates workloads on the device.
Maintains Azure IoT Edge security standards on the device.
Ensures that IoT Edge modules are always running.
Reports module health to the cloud for remote monitoring.
Facilitates communication between downstream leaf devices and the IoT Edge device.
Facilitates communication between modules on the IoT Edge device.
Facilitates communication between the IoT Edge device and the cloud
#iotsatpn
IoT Edge runtime
Standard deployment model
Azure IoT Hub
Azure IoT Edge
Device
IoT Edge Runtime
#iotsatpn
IoT Edge runtime
Kubernetes integration
Kubernetes Cluster
Devices
Azure IoT Hub
IoT Edge Runtime
Kubernetes
IoT Edge Runtime
Kubernetes
IoT Edge Runtime
Kubernetes
#iotsatpn
#iotsatpn
9 BILLION new MCU devices
built and deployed every year
Microcontrollers (MCUs)
low-cost, single chip computers
#iotsatpn
Fewer than 1% of MCUs are connected today.
#iotsatpn
Azure Sphere
#iotsatpn
Solution accelerators
#iotsatpn
Azure IoT solution
accelerators
Dashboards, visualization and insights
Completely customizable
Command and control
Device connectivity and management
Predictive Maintenance
Connected FactoryRemote Monitoring
Workflow automation and integration
Preconfigured solutions
End-to-end implementation
Device Simulation
Open-source microservices based architecture
#iotsatpn
#iotsatpn
#iotsatpn
#iotsatpn
Azure IoT central
Analytics, dashboards and visualization
Extensibilities (Flow, Dynamics, Webhooks, etc.)
Monitoring rules and triggered actions
Fully hosted and managed by Microsoft
Device connectivity and management
Risk-free trial with simplified pricing
No cloud development expertise required
#iotsatpn
Summary
IoT projects are complex, but…
Azure Reference Architecture
+ PaaS Service
+ Accelerators
+ IoT edge
+ Edge components
= make them simpler!
#iotsatpn
Grazie e buona continuazione
Pietro Brambati, Microsoft
#iotsatpn
Resources
• Microsoft Azure IoT Reference Architecture pdf
• IoT PaaS Services
• Lambda architecture
• Lamba vs K architecture
• OPC UA Publisher
• Connected Factory solution accelerator walkthrough

More Related Content

What's hot

Creator Ci40 IoT kit & Framework - scalable LWM2M IoT dev platform for business
Creator Ci40 IoT kit & Framework - scalable LWM2M IoT dev platform for businessCreator Ci40 IoT kit & Framework - scalable LWM2M IoT dev platform for business
Creator Ci40 IoT kit & Framework - scalable LWM2M IoT dev platform for businessPaul Evans
 
BRK2122 IOT - From the cloud to the edge
BRK2122 IOT - From the cloud to the edgeBRK2122 IOT - From the cloud to the edge
BRK2122 IOT - From the cloud to the edgeAxel Dittmann
 
Azure IoT suite - A look behind the curtain (Sam Vanhoutte @AZUG Event)
Azure IoT suite - A look behind the curtain (Sam Vanhoutte @AZUG Event)Azure IoT suite - A look behind the curtain (Sam Vanhoutte @AZUG Event)
Azure IoT suite - A look behind the curtain (Sam Vanhoutte @AZUG Event)Codit
 
Demystifying Internet of Things with Azure IoT Suite
Demystifying Internet of Things with Azure IoT SuiteDemystifying Internet of Things with Azure IoT Suite
Demystifying Internet of Things with Azure IoT SuiteWinWire Technologies Inc
 
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
 
Introduction to Azure IoT Suite
Introduction to Azure IoT SuiteIntroduction to Azure IoT Suite
Introduction to Azure IoT SuiteDaniel Toomey
 
Business Transformation with Microsoft Azure IoT
Business Transformation with Microsoft Azure IoTBusiness Transformation with Microsoft Azure IoT
Business Transformation with Microsoft Azure IoTIlyas F ☁☁☁
 
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
 
IoT on Raspberry PI v1.2
IoT on Raspberry PI v1.2IoT on Raspberry PI v1.2
IoT on Raspberry PI v1.2John Staveley
 
Microsoft Azure IoT Hub (Sam Vanhoutte @TechdaysNL 2017)
Microsoft Azure IoT Hub (Sam Vanhoutte @TechdaysNL 2017)Microsoft Azure IoT Hub (Sam Vanhoutte @TechdaysNL 2017)
Microsoft Azure IoT Hub (Sam Vanhoutte @TechdaysNL 2017)Codit
 
Internet of things (IoT) with Azure
Internet of things (IoT) with AzureInternet of things (IoT) with Azure
Internet of things (IoT) with AzureVinoth Rajagopalan
 
Azure IoT End-to-End
Azure IoT End-to-EndAzure IoT End-to-End
Azure IoT End-to-EndMartin Abbott
 

What's hot (20)

Creator Ci40 IoT kit & Framework - scalable LWM2M IoT dev platform for business
Creator Ci40 IoT kit & Framework - scalable LWM2M IoT dev platform for businessCreator Ci40 IoT kit & Framework - scalable LWM2M IoT dev platform for business
Creator Ci40 IoT kit & Framework - scalable LWM2M IoT dev platform for business
 
BRK2122 IOT - From the cloud to the edge
BRK2122 IOT - From the cloud to the edgeBRK2122 IOT - From the cloud to the edge
BRK2122 IOT - From the cloud to the edge
 
Azure IoT suite - A look behind the curtain (Sam Vanhoutte @AZUG Event)
Azure IoT suite - A look behind the curtain (Sam Vanhoutte @AZUG Event)Azure IoT suite - A look behind the curtain (Sam Vanhoutte @AZUG Event)
Azure IoT suite - A look behind the curtain (Sam Vanhoutte @AZUG Event)
 
IoT on azure
IoT on azureIoT on azure
IoT on azure
 
Azure IoT Summary
Azure IoT SummaryAzure IoT Summary
Azure IoT Summary
 
Demystifying Internet of Things with Azure IoT Suite
Demystifying Internet of Things with Azure IoT SuiteDemystifying Internet of Things with Azure IoT Suite
Demystifying Internet of Things with 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
 
IoT on Azure
IoT on AzureIoT on Azure
IoT on Azure
 
Introduction to Azure IoT Suite
Introduction to Azure IoT SuiteIntroduction to Azure IoT Suite
Introduction to Azure IoT Suite
 
Business Transformation with Microsoft Azure IoT
Business Transformation with Microsoft Azure IoTBusiness Transformation with Microsoft Azure IoT
Business Transformation with Microsoft Azure IoT
 
Azure iot
Azure iotAzure iot
Azure iot
 
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...
 
IoT on Raspberry PI v1.2
IoT on Raspberry PI v1.2IoT on Raspberry PI v1.2
IoT on Raspberry PI v1.2
 
IoT on the Edge
IoT on the EdgeIoT on the Edge
IoT on the Edge
 
Microsoft Azure IoT Hub (Sam Vanhoutte @TechdaysNL 2017)
Microsoft Azure IoT Hub (Sam Vanhoutte @TechdaysNL 2017)Microsoft Azure IoT Hub (Sam Vanhoutte @TechdaysNL 2017)
Microsoft Azure IoT Hub (Sam Vanhoutte @TechdaysNL 2017)
 
Azure Sphere
Azure SphereAzure Sphere
Azure Sphere
 
Azure IoT Hub
Azure IoT HubAzure IoT Hub
Azure IoT Hub
 
IoT platforms – comparison Azure IoT vs AWS IoT
IoT platforms – comparison Azure IoT vs AWS IoTIoT platforms – comparison Azure IoT vs AWS IoT
IoT platforms – comparison Azure IoT vs AWS IoT
 
Internet of things (IoT) with Azure
Internet of things (IoT) with AzureInternet of things (IoT) with Azure
Internet of things (IoT) with Azure
 
Azure IoT End-to-End
Azure IoT End-to-EndAzure IoT End-to-End
Azure IoT End-to-End
 

Similar to Architecting Azure (I)IoT Solutions @ IoT Saturday 2019

Windows iot barone
Windows iot baroneWindows iot barone
Windows iot baroneDotNetCampus
 
MICROSOFT E IL MONDO IOT
MICROSOFT E IL MONDO IOTMICROSOFT E IL MONDO IOT
MICROSOFT E IL MONDO IOTDotNetCampus
 
Sensors, data and dashboards
Sensors, data and dashboardsSensors, data and dashboards
Sensors, data and dashboardsMartin Abbott
 
NashTech - Azure IoT Solutions on Microsoft Azure
NashTech - Azure IoT Solutions on Microsoft AzureNashTech - Azure IoT Solutions on Microsoft Azure
NashTech - Azure IoT Solutions on Microsoft AzurePhi Huynh
 
Azure IoT End-to-End
Azure IoT End-to-EndAzure IoT End-to-End
Azure IoT End-to-EndMartin Abbott
 
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
 
Exploring the Azure IoT Ecosystem
Exploring the Azure IoT EcosystemExploring the Azure IoT Ecosystem
Exploring the Azure IoT EcosystemBizTalk360
 
De l’Internet des objets à Power BI en passant par Azure - SharePoint Saturday
De l’Internet des objets à Power BI en passant par Azure - SharePoint SaturdayDe l’Internet des objets à Power BI en passant par Azure - SharePoint Saturday
De l’Internet des objets à Power BI en passant par Azure - SharePoint SaturdayGuy Barrette
 
IoT Masterclass ESGT Santarem - Connecting The Dots
IoT Masterclass ESGT Santarem -  Connecting The DotsIoT Masterclass ESGT Santarem -  Connecting The Dots
IoT Masterclass ESGT Santarem - Connecting The DotsMarco Silva
 
IxorTalk IoT Convention 2018
IxorTalk IoT Convention 2018IxorTalk IoT Convention 2018
IxorTalk IoT Convention 2018Peter Defreyne
 
IoT end-to-end: porta i tuoi dati dal sensore al cloud
IoT end-to-end: porta i tuoi dati dal sensore al cloudIoT end-to-end: porta i tuoi dati dal sensore al cloud
IoT end-to-end: porta i tuoi dati dal sensore al cloudCodemotion
 
Internet of Things and Azure - DevTeach 2016
Internet of Things and Azure - DevTeach 2016Internet of Things and Azure - DevTeach 2016
Internet of Things and Azure - DevTeach 2016Guy Barrette
 
Azure iot edge and AI enabling the intelligent edge
Azure iot edge and AI  enabling the intelligent edgeAzure iot edge and AI  enabling the intelligent edge
Azure iot edge and AI enabling the intelligent edgeMarco Dal Pino
 
Azure Internet of Things
Azure Internet of ThingsAzure Internet of Things
Azure Internet of ThingsAlon Fliess
 
Azure IoT - Global Azure Bootcamp 2019
Azure IoT - Global Azure Bootcamp 2019Azure IoT - Global Azure Bootcamp 2019
Azure IoT - Global Azure Bootcamp 2019Sam Fernando
 
Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...
Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...
Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...Amazon Web Services
 
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech TalksEssential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech TalksAmazon Web Services
 
Azure and Predix
Azure and PredixAzure and Predix
Azure and PredixAltoros
 

Similar to Architecting Azure (I)IoT Solutions @ IoT Saturday 2019 (20)

Windows iot barone
Windows iot baroneWindows iot barone
Windows iot barone
 
MICROSOFT E IL MONDO IOT
MICROSOFT E IL MONDO IOTMICROSOFT E IL MONDO IOT
MICROSOFT E IL MONDO IOT
 
Azure IoT Hub
Azure IoT HubAzure IoT Hub
Azure IoT Hub
 
IoT
IoT IoT
IoT
 
Sensors, data and dashboards
Sensors, data and dashboardsSensors, data and dashboards
Sensors, data and dashboards
 
NashTech - Azure IoT Solutions on Microsoft Azure
NashTech - Azure IoT Solutions on Microsoft AzureNashTech - Azure IoT Solutions on Microsoft Azure
NashTech - Azure IoT Solutions on Microsoft Azure
 
Azure IoT End-to-End
Azure IoT End-to-EndAzure IoT End-to-End
Azure IoT End-to-End
 
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
 
Exploring the Azure IoT Ecosystem
Exploring the Azure IoT EcosystemExploring the Azure IoT Ecosystem
Exploring the Azure IoT Ecosystem
 
De l’Internet des objets à Power BI en passant par Azure - SharePoint Saturday
De l’Internet des objets à Power BI en passant par Azure - SharePoint SaturdayDe l’Internet des objets à Power BI en passant par Azure - SharePoint Saturday
De l’Internet des objets à Power BI en passant par Azure - SharePoint Saturday
 
IoT Masterclass ESGT Santarem - Connecting The Dots
IoT Masterclass ESGT Santarem -  Connecting The DotsIoT Masterclass ESGT Santarem -  Connecting The Dots
IoT Masterclass ESGT Santarem - Connecting The Dots
 
IxorTalk IoT Convention 2018
IxorTalk IoT Convention 2018IxorTalk IoT Convention 2018
IxorTalk IoT Convention 2018
 
IoT end-to-end: porta i tuoi dati dal sensore al cloud
IoT end-to-end: porta i tuoi dati dal sensore al cloudIoT end-to-end: porta i tuoi dati dal sensore al cloud
IoT end-to-end: porta i tuoi dati dal sensore al cloud
 
Internet of Things and Azure - DevTeach 2016
Internet of Things and Azure - DevTeach 2016Internet of Things and Azure - DevTeach 2016
Internet of Things and Azure - DevTeach 2016
 
Azure iot edge and AI enabling the intelligent edge
Azure iot edge and AI  enabling the intelligent edgeAzure iot edge and AI  enabling the intelligent edge
Azure iot edge and AI enabling the intelligent edge
 
Azure Internet of Things
Azure Internet of ThingsAzure Internet of Things
Azure Internet of Things
 
Azure IoT - Global Azure Bootcamp 2019
Azure IoT - Global Azure Bootcamp 2019Azure IoT - Global Azure Bootcamp 2019
Azure IoT - Global Azure Bootcamp 2019
 
Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...
Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...
Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...
 
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech TalksEssential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
 
Azure and Predix
Azure and PredixAzure and Predix
Azure and Predix
 

More from pietrobr

Android and Azure @droidconit 2015
Android and Azure @droidconit 2015Android and Azure @droidconit 2015
Android and Azure @droidconit 2015pietrobr
 
Modern IE @ CSS Day 2015
Modern IE @ CSS Day 2015Modern IE @ CSS Day 2015
Modern IE @ CSS Day 2015pietrobr
 
Il back-end unificato per la vostra applicazione iOS
Il back-end unificato per  la vostra applicazione iOSIl back-end unificato per  la vostra applicazione iOS
Il back-end unificato per la vostra applicazione iOSpietrobr
 
PHPDay 2013: Windows Azure: what's hot
PHPDay 2013: Windows Azure: what's hotPHPDay 2013: Windows Azure: what's hot
PHPDay 2013: Windows Azure: what's hotpietrobr
 
Building a unified back-end for your apps with Azure Mobile Services
Building a unified back-end for your apps with Azure Mobile ServicesBuilding a unified back-end for your apps with Azure Mobile Services
Building a unified back-end for your apps with Azure Mobile Servicespietrobr
 
Windows Azure al DrupalDay Roma 2012
Windows Azure al DrupalDay Roma 2012Windows Azure al DrupalDay Roma 2012
Windows Azure al DrupalDay Roma 2012pietrobr
 
Internet Explorer 9
Internet Explorer 9Internet Explorer 9
Internet Explorer 9pietrobr
 
WebMatrix loves WordPress
WebMatrix loves WordPressWebMatrix loves WordPress
WebMatrix loves WordPresspietrobr
 
PHP Days 2011 - Keynote: Microsoft WebMatrix
PHP Days 2011 - Keynote: Microsoft WebMatrixPHP Days 2011 - Keynote: Microsoft WebMatrix
PHP Days 2011 - Keynote: Microsoft WebMatrixpietrobr
 
PHP Day 2011 PHP goes to the cloud
PHP Day 2011 PHP goes to the cloudPHP Day 2011 PHP goes to the cloud
PHP Day 2011 PHP goes to the cloudpietrobr
 
Word press e iis
Word press e iisWord press e iis
Word press e iispietrobr
 
Ottimizzare WordPress su Windows/IIS
Ottimizzare WordPress su Windows/IISOttimizzare WordPress su Windows/IIS
Ottimizzare WordPress su Windows/IISpietrobr
 
PHP e Windows Azure, SQL Azure
PHP e Windows Azure, SQL AzurePHP e Windows Azure, SQL Azure
PHP e Windows Azure, SQL Azurepietrobr
 
Integrazione PHP e Silverlight 4
Integrazione PHP e Silverlight 4Integrazione PHP e Silverlight 4
Integrazione PHP e Silverlight 4pietrobr
 
Keynote del phpday 2010
Keynote del phpday 2010Keynote del phpday 2010
Keynote del phpday 2010pietrobr
 
Delphi Day 2009 Win7 Dev Overview
Delphi Day 2009 Win7 Dev OverviewDelphi Day 2009 Win7 Dev Overview
Delphi Day 2009 Win7 Dev Overviewpietrobr
 
Php Day 2009:Un Salto Nel Buio
Php Day 2009:Un Salto Nel BuioPhp Day 2009:Un Salto Nel Buio
Php Day 2009:Un Salto Nel Buiopietrobr
 
Php On Windows For Ph Pday 2008
Php On Windows For Ph Pday 2008Php On Windows For Ph Pday 2008
Php On Windows For Ph Pday 2008pietrobr
 

More from pietrobr (19)

Android and Azure @droidconit 2015
Android and Azure @droidconit 2015Android and Azure @droidconit 2015
Android and Azure @droidconit 2015
 
Modern IE @ CSS Day 2015
Modern IE @ CSS Day 2015Modern IE @ CSS Day 2015
Modern IE @ CSS Day 2015
 
Il back-end unificato per la vostra applicazione iOS
Il back-end unificato per  la vostra applicazione iOSIl back-end unificato per  la vostra applicazione iOS
Il back-end unificato per la vostra applicazione iOS
 
PHPDay 2013: Windows Azure: what's hot
PHPDay 2013: Windows Azure: what's hotPHPDay 2013: Windows Azure: what's hot
PHPDay 2013: Windows Azure: what's hot
 
Building a unified back-end for your apps with Azure Mobile Services
Building a unified back-end for your apps with Azure Mobile ServicesBuilding a unified back-end for your apps with Azure Mobile Services
Building a unified back-end for your apps with Azure Mobile Services
 
Windows Azure al DrupalDay Roma 2012
Windows Azure al DrupalDay Roma 2012Windows Azure al DrupalDay Roma 2012
Windows Azure al DrupalDay Roma 2012
 
Internet Explorer 9
Internet Explorer 9Internet Explorer 9
Internet Explorer 9
 
WebMatrix loves WordPress
WebMatrix loves WordPressWebMatrix loves WordPress
WebMatrix loves WordPress
 
PHP Days 2011 - Keynote: Microsoft WebMatrix
PHP Days 2011 - Keynote: Microsoft WebMatrixPHP Days 2011 - Keynote: Microsoft WebMatrix
PHP Days 2011 - Keynote: Microsoft WebMatrix
 
PHP Day 2011 PHP goes to the cloud
PHP Day 2011 PHP goes to the cloudPHP Day 2011 PHP goes to the cloud
PHP Day 2011 PHP goes to the cloud
 
Word press e iis
Word press e iisWord press e iis
Word press e iis
 
Ottimizzare WordPress su Windows/IIS
Ottimizzare WordPress su Windows/IISOttimizzare WordPress su Windows/IIS
Ottimizzare WordPress su Windows/IIS
 
PHP e Windows Azure, SQL Azure
PHP e Windows Azure, SQL AzurePHP e Windows Azure, SQL Azure
PHP e Windows Azure, SQL Azure
 
Integrazione PHP e Silverlight 4
Integrazione PHP e Silverlight 4Integrazione PHP e Silverlight 4
Integrazione PHP e Silverlight 4
 
Keynote del phpday 2010
Keynote del phpday 2010Keynote del phpday 2010
Keynote del phpday 2010
 
Delphi Day 2009 Win7 Dev Overview
Delphi Day 2009 Win7 Dev OverviewDelphi Day 2009 Win7 Dev Overview
Delphi Day 2009 Win7 Dev Overview
 
Php Day 2009:Un Salto Nel Buio
Php Day 2009:Un Salto Nel BuioPhp Day 2009:Un Salto Nel Buio
Php Day 2009:Un Salto Nel Buio
 
Php On Windows For Ph Pday 2008
Php On Windows For Ph Pday 2008Php On Windows For Ph Pday 2008
Php On Windows For Ph Pday 2008
 
Linq e Ef
Linq e EfLinq e Ef
Linq e Ef
 

Recently uploaded

CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Effects of rheological properties on mixing
Effects of rheological properties on mixingEffects of rheological properties on mixing
Effects of rheological properties on mixingviprabot1
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 

Recently uploaded (20)

CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Effects of rheological properties on mixing
Effects of rheological properties on mixingEffects of rheological properties on mixing
Effects of rheological properties on mixing
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 

Architecting Azure (I)IoT Solutions @ IoT Saturday 2019

  • 1. #iotsatpn saturday 2019 Internet of Things Architecting Azure (I)IoT solutions Pietro Brambati, Microsoft Twitter:@pietrobr pietrobr@microsoft.com
  • 2. #iotsatpn Azure IoT portfolio Device SDKs Azure Sphere Windows IoT Data Box Edge Certified Devices IoT Edge Stream Analytics Azure ML Azure SQL Functions Cognitive Services IoT Hub Event Hub IoT Hub Device Provisioning Service Time Series Insight (TSI) Maps Stream Analytics CosmosDB Logic Apps Cognitive / AI Web Apps PowerBI Azure IoT Solution Accelerators Azure IoT Central AzureSecurityCenterforIoT App Insight Blob Service Bus
  • 3. #iotsatpn IoT Logical Architecture IoT DeviceIoT DeviceIoT Device IoT DeviceIoT Device IoT Edge Device Cloud Gateway Stream Processing Data Transformation Warm Store Cold Store UI & Reporting User Management Business Integration Machine Learning Fast path – real time processing Slow path – Batch processing
  • 4. #iotsatpn Azure IoT Architecture – simplified view IoT DeviceIoT DeviceIoT Device IoT DeviceIoT Device IoT Edge Device Stream Processing UI & Reporting Machine Learning Fast path – real time processing Slow path – Batch processing Cloud Gateway IoT Hub Data Transformation Functions Warm CosmosDB Cold Blob Azure Stream Analytics Power BI Business Integration Logic Apps User Management Azure Active Directory Machine Learning
  • 5. #iotsatpn Lambda Architecture A generic, scalable, robust and fault-tolerant data processing architecture New data Storage (HDFS) Real-time view Batch layer Batch view Batch view Query Real-time view Pros Increase throghput Reduce latency Negligible errors Useful with event sourcing Serving layer Speed layer Cons Different tecnologies No easy to mantain Process (Map Reduce) Process (Spark/Storm)
  • 6. #iotsatpn Kappa Architecture Real-time processing of live streaming data - an alternative to Lambda, not a replacement Pros Focus on speed Less code resource Fewer resources: ML done in real-time Re-processing only if code changes Cons More errors, no batch layer New data Real-time view Query Real-time view Serving layer Process (Spark/Storm) Speed layer
  • 7. #iotsatpn Slow path – batch processing Fast path – real-time processing Azure IoT Logical Architecture – Lambda Recommended data flow Cloud GatewayIoT DeviceIoT DeviceIoT Device Route Analyze (low latency) Store Display Action Analyze (complex) Action Store Display Partitioning Message props.
  • 8. #iotsatpn Azure IoT Physical Architecture – Lambda Stateless and Static rules, no reference to external data Scheduled batch processing (training , Machile Learning) Real-time device telemetry (visualization) IoT Hub IoT DeviceIoT DeviceIoT Device IoT Hub Route IoT Hub Route Event Hub Functions Logic App IoT Hub Route Blob/ADL (Cold) Azure ML CosmosDB Real-time analytics (Alert, Actions) Event Hub Functions When to use: Processing rule with no history Records in JSON Small number of rules required Define conditions in payload of IoT Hub Route
  • 9. #iotsatpn Azure IoT Physical Architecture – Lambda Statefull and Dynamic rules, ability to reference external data Scheduled batch processing (training , Machile Learning) Real-time device telemetry (visualization) IoT Hub IoT DeviceIoT DeviceIoT Device IoT Hub Route Event Hub Functions Logic App IoT Hub Route Storage (Cold) Azure ML CosmosDB Real-time analytics (Alert, Actions) Azure Stream Analytics FunctionsWhen to use: Complex analysis: time windows, join with external data source Processing logic consists of severval rules that can grow Input data in binary format (like Avro)
  • 11. #iotsatpn IoT and Industrial IoT (IIoT) Industrial ready solutions IoT Consumer apps and device Good Internet connectivity Well know set of protocols «Close enough» for good latency Usually no real-time requirements Simple application with low-risk impact Industrial IoT Industrial apps (agricaulture and manifacturing, etc.) Low internet connectivity A «junglue» of communication protocols lack of interoperability and legacy technologies: SCADA, M2M, etc Security is a major complain (e.g take down an electrical grid) Must integrate with ERP Precision is business as usual Low latency for near-real-time operations Reliability and Resilence: 20-30 years, e.g. loss of sensors, loss of connectivity
  • 12. #iotsatpn Edge Connectivity IP-based communication Device IoT Client Device Device Device IoT Client Device Device Field gateway IoT Client Cloud Gateway (IoT Hub) AMQP, MQTT, HTTPS AMQP, MQTT, HTTPS Custom Cloud Gateway Custom protocols Field gateway OPC, HTTP, CoAP VPN/ExR CoAP,AllJoyn, OPC CoAP,AllJoyn, OPC
  • 13. #iotsatpn OPC Unified Architecture(UA) Local network communication OPC «Classic» Object Linking and Embedding for Process Control, first defined in 1995. A Client/Server based communication architecture Evolved over the years adding more functionalities (protocols): Data Access, Alarm & Events, etc.. OPC Unified Application Secure, platform-independent, SOA, in 2008 OPC-UA gateway read from OPC-UA server via Publish/Subscribe (JSON payload over MQTT or AMQP)
  • 14. #iotsatpn Field Gateway (IoT Edge) OPC UA with Microsoft Technologies Microsoft invests heavily in OPC-UA by providing several solutions IoT DeviceIoT Device Industrial Device OPC UA Server OPC Publisher «Container» Cloud Gateway OPC Client OPC Server Cert. Store Telemetry Data Flow Scenario OCP-UA Publish/Subscribe
  • 16. #iotsatpn Security Connected device – some consideration Inexpensive device trading away cryptographic capability They should be constrained on local network used by field gateway Use device that support cryptographic capabilities Encryption algorithms Digital signature TLS 1.2, DTLS 1.2 Updatable key-store per device and firmware must allow updates Choose MCU with TPM Secure boot loader Sensor to detect intrusion attemps Use a relay service to remote connect to a device No direct SSH to it
  • 17. #iotsatpn IoT Hub Ingestion to the cloud Event processing Device provisioning and management Device business logic, connectivity monitoring
  • 18. #iotsatpn IoT Device Provisioning Service (DPS) Zero touch, just in time device provisioning to the right IoT Hub No hard-coding IoT Hub into device at the factory Load balancing Lowest latency Connect to the right IoT Hub in Mutitenancy scenario Roll Certificate (e.g in case of a breach) Reprovisioning IoT DeviceIoT Device IoT Edge Device Device Provisioning Service (DPS) Enrollment List Cloud Gateway (IoT Hub) X509, TPM, Sym. Key 1 2 3 4 5 6 7-8
  • 19. #iotsatpn Event Hub Architecture- event ingestor at high-scale HTTPS AMQP Kafka Consumer group Consumer group Event Producers MB/s → GB/s Event Receivers Each consumer app its own cursor/offset Durable: 1-7 days for Standard, 90 days Dedicated
  • 20. #iotsatpn Event Hub Scenario : Clean Event Hubs
  • 21. #iotsatpn Event Hub Scenario : Checkpoints It doesn’t start from the beginning
  • 22. #iotsatpn Azure Stream Analytics event-processing engine IoT Hubs Archiving for long term storage/ batch analytics Real-time dashboard Stream Analytics Automation to kick-off workflowsMachine LearningReference Data (Blobs and SQL DB) Event Hubs Blobs Devices & Gateways Power BI Applications
  • 23. #iotsatpn Azure Stream Analytics event-processing engine Stream UnitInput Stream output Stream stream From With Into Stream UnitInput Stream output Stream From With IntoJoin
  • 24. #iotsatpn SAQL Query Language Scaling Extensions WITH PARTITION BY OVER Windowing Extensions TumblingWindow HoppingWindow SlidingWindow Aggregate Functions Sum Count Avg Min Max StDev StDevP Var VarP String Functions Len Concat CharIndex Substring PatIndex Temporal Functions Lag, IsFirst CollectTop DML SELECT FROM WHERE GROUP BY HAVING CASE WHEN THEN ELSE INNER/LEFT OUTER JOIN UNION CROSS/OUTER APPLY CAST INTO ORDER BY ASC, DSC Date and Time Functions DateName DatePart Day Month Year DateTimeFromParts DateDiff DateAdd
  • 25. #iotsatpn Azure Stream Analytics Tumbling Window Tell me the count of tweets per time zone every 10 seconds 1 5 4 26 8 6 5 Time (secs) 1 5 4 26 8 6 A 10-second Tumbling Window 3 6 1 5 3 6 1 1 5 4 26 1 SELECT TimeZone, COUNT(*) AS Count FROM TwitterStream TIMESTAMP BY CreatedAt GROUP BY TimeZone, TumblingWindow(second,10)
  • 26. #iotsatpn Azure Stream Analytics Hoping Window SELECT Topic, COUNT(*) AS TotalTweets, AVG(SentimentScore) FROM TwitterStream TIMESTAMP BY CreatedAt GROUP BY Topic, HoppingWindow(second, 10 , 5) Every 5 seconds give me the count of tweets and the average sentiment score over the last 10 seconds 1 5 4 26 8 7 A 10-second Hopping Window with a 5-second “Hop” 4 26 8 6 5 3 6 1 1 5 4 26 8 6 5 3 6 15 3
  • 27. #iotsatpn Azure Stream Analytics Sliding Window SELECT Topic, COUNT(*) FROM TwitterStream TIMESTAMP BY CreatedAt GROUP BY Topic, SlidingWindow(second, 10) HAVING COUNT(*) > 10 Give me the count of tweets for all topics which are tweeted more than 10 times in the last 10 seconds 1 5 A 10-second Sliding Window 8 8 51 9 51 9 1
  • 28. #iotsatpn Azure Stream Analytics Session Window Tell me the count of tweets that occur within 5 minutes each other 1 5 A 10-second Sliding Window 9 5 76 8 1 6 7 8 9
  • 29. #iotsatpn Event Grid event routing service for publish and subscribe model Retry mechanism Filter to route events to different endpoints single endpoint for SaaS apps. Fine- grained auth with AAD Dead-letter Events != Messages
  • 30. #iotsatpn Time Series Insights Analytics for Industrial IoT Analytics, storage and visualization service for time series data Operation Analysis for both warm and cold data Storage in-memory and SSD Easy connection with IoT Hub SQL like filtering and aggregation Data explorer dashboard and API, JavaScript library Latency 30-60 seconds
  • 33. #iotsatpn IoT Edge runtime Installs and updates workloads on the device. Maintains Azure IoT Edge security standards on the device. Ensures that IoT Edge modules are always running. Reports module health to the cloud for remote monitoring. Facilitates communication between downstream leaf devices and the IoT Edge device. Facilitates communication between modules on the IoT Edge device. Facilitates communication between the IoT Edge device and the cloud
  • 34. #iotsatpn IoT Edge runtime Standard deployment model Azure IoT Hub Azure IoT Edge Device IoT Edge Runtime
  • 35. #iotsatpn IoT Edge runtime Kubernetes integration Kubernetes Cluster Devices Azure IoT Hub IoT Edge Runtime Kubernetes IoT Edge Runtime Kubernetes IoT Edge Runtime Kubernetes
  • 37. #iotsatpn 9 BILLION new MCU devices built and deployed every year Microcontrollers (MCUs) low-cost, single chip computers
  • 38. #iotsatpn Fewer than 1% of MCUs are connected today.
  • 41. #iotsatpn Azure IoT solution accelerators Dashboards, visualization and insights Completely customizable Command and control Device connectivity and management Predictive Maintenance Connected FactoryRemote Monitoring Workflow automation and integration Preconfigured solutions End-to-end implementation Device Simulation Open-source microservices based architecture
  • 45. #iotsatpn Azure IoT central Analytics, dashboards and visualization Extensibilities (Flow, Dynamics, Webhooks, etc.) Monitoring rules and triggered actions Fully hosted and managed by Microsoft Device connectivity and management Risk-free trial with simplified pricing No cloud development expertise required
  • 46. #iotsatpn Summary IoT projects are complex, but… Azure Reference Architecture + PaaS Service + Accelerators + IoT edge + Edge components = make them simpler!
  • 47. #iotsatpn Grazie e buona continuazione Pietro Brambati, Microsoft
  • 48. #iotsatpn Resources • Microsoft Azure IoT Reference Architecture pdf • IoT PaaS Services • Lambda architecture • Lamba vs K architecture • OPC UA Publisher • Connected Factory solution accelerator walkthrough