techcamps - internet of things
TRANSCRIPT
TechCamp IoT
Nürnberg | Pforzheim | Ulm | Frankfurt |
St.Augustin/Bonn | Trier | Unterschleißheim/München
Overview Internet of ThingsAzure IoT Services
2003
2010
2015
202050* Billion Things
Clemens Vasters, Architect, Microsoft Azure
Home Transportation Health Buildings Cities
Available
Parking Spots
Home Transportation Health Buildings Cities
Position
Starting the air
conditioner
Reserve a
working space
Start the
cleaning
Reducing the
temperature
Home Transportation Health Buildings Cities
Target
Monitors your
health
Recognises a
heart attack
Calls an
ambulance
Transmits an
early diagnosis
to the hospital
Transmits
optimal route to
the ambulance
Home Transportation Health Buildings Cities
Reduce
maintenance
duration Save time
Integrate
various
systems
Optimise
decision
making
process
Automate
processes
Smart Products
Grid
Renewables
Oil/Gas/Coal
Recovery and
Distribution
Points
of Sale
Restaurants
Hotels
Fuel
Stations
Patients
Clinics
Hospitals
Nursing
Homes
Mobile
Care
SafetySecurity
ComfortLighting
Automation
Manufacturing
Integration and
AutomationRemote
Servicing
Predictive and
Reactive
Maintenance
Water
Waste
Pollution
Control
Fire
Emergency
Public
Safety
Law
Enforcement
Letters
Packages
Containers
Tanks Bulkware
Games
Events
Sports
TelevisionStreaming
Traffic Buses
Cars
Trucks
Trains
Vessels
Aircraft
Bikes
Smart
Energy
Smart Pro
Services
Smart
Retail
Smart
Mobility
Smart
Logistics
Smart
Factory
Smart
Cities
Smart
Entertain-
ment
Smart
Health-
care
Smart
Building
Home
Field Gateway
Device
Connectivity & Management
Devic
es
RTO
S,
Linux,
Win
do
ws,
A
nd
roid
, iO
S
Cloud Gateway
Event Hubs
Field Gateway
Protocol Adaptation
Field Gateway
Device
Connectivity & Management
Analytics &
Operationalized Insights
Presentation &
Business Connectivity
Devic
es
RTO
S,
Linux,
Win
do
ws,
A
nd
roid
, iO
S
Protocol Adaptation
Batch Analytics & Visualizations
Azure HDInsight, AzureML, Power BI,
Azure Data Factory
Hot Path Analytics
Azure Stream Analytics, Azure HDInsight Storm
Presentation &
Business Connectivity
App Service, Websites
Dynamics, BizTalk Services, Notification Hubs
Hot Path Business Logic
Service Fabric & Actor Framework
Cloud Gateway
Event Hubs&IoT Hub
Field Gateway
Protocol Adaptation
Devices Device Connectivity Storage AnalyticsPresentation &
Action
Event Hubs SQL DatabaseMachine
LearningApp Service
Service BusTable/Blob
Storage
Stream
AnalyticsPower BI
External Data
SourcesDocumentDB HDInsight
Notification
Hubs
External Data
SourcesData Factory Mobile Services
BizTalk Services
{ }
DataIngest
CommandThat‘s easy …
Ingest rate
Storage
Security
…
That‘s not so easy …
Security
Latency
…
Analyse@ Scale
Big Data
Data in Motion
Telemetry
Ingest
6
machines
20
sensors / machine
X 120
sensors
/
productionline
=
Let‘s do the math …
Telemetry
Ingest
4
productionlines
/
plant
120
sensors /
productionline
X 480
sensors
/
plant
=
Let‘s do the math …
Telemetry
Ingest
480
sensors
/
plant
60
telemetryingests
/
minute
X 1,728,000
ingests
/
hour
=
Let‘s do the math …
Telemetry
Ingest
1,728,000
ingests
/
hour
50
e.g. customers
X 86,400,000
ingests
/
hour
=
On a 24/7 basis
Hyper Scale is needed
Let‘s do the math …
Service Bus
Relay
Queue
Topic
Notification
Event
Hub
Interactive Dashboard(s)Production Line(s)
Data Ingest – Service BusOverview
Service Bus
Interactive Dashboard(s)Production Line(s)
* 1 Mio Producers* 1 GB/sec aggregated
per Event Hub
Event Hub
Reader 1
Reader 2
Reader 3
….
Consumer Group
Throughput Units 1 GB/s writes
2 GB/s reads
Event Hub
Demo Time
How to create an Event Hub
Ingest
Egress
Service BusProduction Line(s)
Telemetry
Event HubTrend
Calculation
Alarm
Engine
Eg
ress
/
Transf
orm
atio
n Storage Dashboard(s)
Data in Motion Data at Rest Data in Motion
Service BusEvent Hub
Stream Analytics
Transform• Temporal Joins
• Filter
• Aggregates
• Projections
• Time Windows
Enrich / Correlate• Other Streams
• Data at Rest
Production Line(s)
Telemetry
Service BusEvent Hub
Storage
Demo
• Stream Analytics
Our toll station has multiple toll booths, where a sensor placed on top of the booth scans an RFID card affixed to the windshield of the vehicles as they pass the toll booth.
The passage of vehicles through these toll stations can be modelled as event streams over which interesting operations can be performed.
Toll Id EntryTime LicensePlate State Make Model Vehicle TypeVehicle
WeightToll Tag
1 2014-09-10 12:01:00.000 JNB 7001 NY Honda CRV 1 1535 7
2 2014-09-10 12:02:00.000 YXZ 1001 NY Toyota Camry 1 1399 4 123456789
…
Toll Id ExitTime LicensePlate
1 2014-09-10T12:03:00.0000000Z JNB 7001
2 2014-09-10T12:03:00.0000000Z YXZ 1001
…
LicensePlate RegistrationId Expired
SVT 6023 285429838 1
XLZ 3463 362715656 0
BAC 1005 876133137 1
RIV 8632 992711956 0
SNY 7188 592133890 0
ELH 9896 678427724 1
…
AzureToll Station
Even
tHu
bAzure
Stream
Analytics
Even
tHu
b
<To
llO
utp
ut>
AMQPCSV
<enter, exit>
entryStream<JSON>
outputStream<JSON>
Web-Service
EventHub
consumer
exitStream<JSON>
Ingest
Egress
Analytics
Interactive Dashboard(s)Production Line(s)
Commands
1:1; 1:n; n:m
Secure & Low Latency
Command & Control
Production Line(s)Dashboard(s)
Command
Open Port
Public IP / Dynamic DNS
Command & Control
Command & Control
Production Line(s)Dashboard(s)
VPN
Command
Production Line(s)Dashboard(s)Cloud
CommandOutbound ConnectionService
Gateway
No active listening (unlike VPN)
Device initiated, outbound connections (like VPN)
Automatic Port Mapping (like VPN)
No open inbound ports; minimized attack surface
Public address
Full defendable
Server platform
Command & ControlService Assisted Communication
http://crossbar.io/iotcookbook/
Devices
tessel.io/start
arduino.cc/en/Guide/Windows
arduino.cc/en/Guide/ArduinoYun
Camera
(CSI)
4 USB Ports
Ethernet port
40 GPIO Pins
HDMI PortCombined audio jack
and composite videoPower
Display
(DSI)
Micro SD
card slot
http://oliviaklose.com/hello-blinky
http://www.hanselman.com/blog/SettingUpWindows10ForIoTOnYourRaspberryPi2.aspx
Resources
http://www.arduino.cc/en/Guide/ArduinoYun
http://start.tessel.io/install
http://oliviaklose.com/hello-blinky/
microsoft.hackster.io
github.com/ms-iot
github.com/dx-ted-emea/iot-labs
github.com/RobertEichenseer/IoT_MasterClass
github.com/dx-ted-emea/azure-tessel
http://www.connectthedots.io
http://oliviaklose.com/iot-cheat-sheet/