cloud-centric internet of things
TRANSCRIPT
Cloud-centric Internet of ThingsLynn Langit
About this Talk
The IoT Landscape
Core IoT Concepts
Cloud Vendor IoT
Lessons Learned
AN IOT STORY…
Did you notice?
User focus
Data flow Devices
Example: Engine Monitoring
The Value of IoT by Industry
Banking & Insurance18%
Manufacturing13%
Healthcare13%
Retail7%
All Others50%
$ 1.9 Trillion – source Gartner
IoT is Big Data Realized
Everyone’s In
AWS Azure
IBM & Other
s
About this Talk
The IoT Landscape
Core IoT Concepts
Cloud Vendor IoT
Lessons Learned
Core IoT Cloud
•User•DeviceCloud
IoT Devices
• Bolt-on IoT (retrofit) • Native IoT
Tip: Start with a hobby device – Intel Edison
IoT Device Types
Send Only Beacons
Send and Receive Smart Jewelry
Process Messages Smart Router
Device Practicalities
Manufacturing Considerations• Simulators• Developer Devices• IoT-enabling existing
devices
Device Management• Device SDKs• Certificates
The Realities of IoT Security
Device Security
In Transit• TLS 2.0
At Rest• Encryption• X.509 Certificates
Who can see your IoT?
Search Term: “IoT”
COMMON PATTERNS FOR IOTSystem Architectures
Building Core Architecture
Cloud Compute
& Data
UI & Services• User Auth• Token Translation
IoT Broker• Messages• Device State
Devices• Authentication• Authorization
IoT Cloud Service Considerations
Code• Async• Microservices • Containers (Docker)
Data• Telemetry or Event data streams• Device Metadata• Predictive AND Business Analytics
Messages Handling Pattern
Connectivity Complexity
Network Protocols
• TCP• MQTT• Restful HTTP• Web Sockets• AMQP• XMPP/Jabber
• UDP• CoAP
Wifi
• BLE / Smart• Bluetooth low-energy
• 6LoWPan• Wifi-Direct• Zigby• Z-Wave
Mesh
Message Queuing Telemetry Transport
Efficient / scalable• Binary format• 2 byte headers
Broker-based• Pub/Sub via topics• QoS• Test with Mosquitto
About MQTT QoS
0
At most once-- Publish“Device Status”
1
At least once-- Publish-- Acknowledge“Commands”
2
Exactly once-- Publish-- Pub Receive-- Pub Release-- Pub Complete“Processing”
About this Talk
The IoT Landscape
Core IoT Concepts
Cloud Vendor IoT
Lessons Learned
PATTERNSCloud Vendor Architectures
Cloud on Fire – Vendors & IoT
AWS, AZURE AND MORECloud Iot Vendors
Azure IoT Services
Brokers – IoT & Event
Devices•Logical Devices•Keys•Commands
Access Policies•Device Authorization
Message Control•TTL•Retention•Logging
Rules•Action Triggers
Azure IoT Portal
Azure Device SDK Example
Azure IoT Solution Pattern
Predictive Analytics via ML
AWS IoT Services
IoT Broker
Things•Logical Devices
Certificates•Device Authentication
Policies• Device
Authorization
Rules•Topic queries•AWS Interaction
Pub/Sub Topics
Rules
AWS IoT Portal
AWS Cli Example
AWS Device SDK Example
AWS IoT Shadow Example
Using Big Relational
IoT Pattern – AWS Example
Comparing Cloud IoT
Vendor Strengths Weaknesses
AWS PricingOpen Protocol Support (MQTT…)AWS Integration (DynamoDB, Kinesis...)
User-to-Device Security
GCP PricingSpeed and ScalabilityUser-to-Device Security
Early Beta
Azure Tooling Integration & SupportDevice Lifecycle Management ToolsPredictive Analytics (ML) Integration
PricingPotential Lock-in
IBM Predictive Analytics (Watson) Integration PricingLock InSecurity Model
About this Talk
The IoT Landscape
Core IoT Concepts
Cloud Vendor IoT
Lessons Learned
Cloud IoT Projects have…
New
Languages & IDEs
Cloud APIs & Tools
Hardware & Protocols
Streaming Event Data
Security Requirements
# 1 Guideline
The cloud IoT ecosystem is young & evolving fast…
Use open protocols & languages to avoid vendor lock-in
The Most Universal IoT Language
Best Practices Reduce Risk
LEAN – single
function MVPs
Pair or Group
Programming
TDD CI/CD
Mob Programming Works
Working Software means
Working on the Cloud
50 Billion Device by 2020!
The Next Generation…
@LYNNLANGITThanks…and, keep learning