To build an overall IoT solution, a lof of different technologies and skills are needed and the role of an architect is crucial to combine all the different services into a solid solution. In this presentation, you will understand more about the DNA of a typical IoT solution, based on Microsoft Azure. You will see the different pitfalls that come with implementing Industrial IoT solutions.
2. Hello world
sam.vanhoutte@codit.eu
+32 474 849 993
@SamVanhoutte
be.linkedin.com/in/samvanhoutte
4th year Azure MVP
2000 Belgium
2004 France
2013 Portugal
2016 Netherlands
2016 Swiss
2016 UK
Microsoft
Integration
IoT
Integration
API Mgmt
Azure
@CoditCompany 120employees
11. Direct connectivity
➔ Easiest to install and configure
➔ Mixing machine logic with IoT logic
➔ Complexity of IoT (retries, command
handling…) on every machine
➔ Not possible for legacy systems
➔ “Feels” less secure
Connect machines directly with the internet
Azure IoT Hub
12. Cloud gateways
➔ Devices come with embedded connectivity (LoRa,
SigFox…) to a propriatary cloud
➔ Cloud to Cloud integration needed
➔ Forwarding capabilities from platforms available to
➔ Azure IoT, Amazon, custom HTTP endpoints
➔ Easy to start in the cloud
Out of the box cloud connectivity with cloud gateway forwarding
Azure IoT Hub
Protocol Gateway SDK
13. Field gateways
➔ Requires extra hardware
➔ industrial PC, physical gateway
➔ Machine logic seperated from IoT logic
➔ Complexity of IoT in one single place
➔ Retries, command handling…
➔ Way to Internet-enable legacy systems
➔ “Feels” more secure
Connect (multiple) machines through a gateway with the internet
Azure IoT
Gateway SDK
14. Nebulus IoT Gateway design
Nebulus IoT Field Gateway
Microsoft Azure IoT Gateway SDK (module)
Channel
ModBus
Module
Filtering
Module
Compression
Module
IoTHub
Module
Channel
DeviceModel
Module
Identity
Module
IoTHub
Module
Nebulus channels can contain custom modules and standard modules and will be mapped to runtime SDK modules.
pub/sub
DynamicCommandDispatcher
CommandlistenerthatdispatchesC2Dcommandstodifferentmodules
Activation Logic Secure bootstrapper for initial activation & identity logic
Module Repository Manager Downloads and updates modules from the cloud, on new versions
Configuration Manager Listens for configuration updates to the cloud and dispatches to the runtime
Gateway Information Manager Returns information about the health of the device on which the Gateway runs
Port forwarder (remote access) Allows remote connections on the local network for remote desktop & other tools
Device Discovery agent Listens for requests to scan network for devices and reports back to backend
Built and provided by Codit
Provided by Microsoft SDK
Nebulus IoT Gateway is a
supported, full product, using the
Microsoft Azure IoT Gateway SDK
(which is a framework), provided by
Microsoft.
Nebulus IoT Gateway is backed by a
Cloud API that allows customers to
interact with their gateways.
16. Data structures
➔ Canonical data structures needed
➔ Device representation (structure)
➔ Field parameters
➔ Two directions of telemetry
➔ Persist native stream
➔ Normalize towards ‘canonical data structure’
19. Business Rules
➔ Seperate rules evaluation from
action processing
➔ Require flexibility & dynamic
creation
Azure Stream Analytics
Azure Service Fabric
20. Integration
➔ An IoT solution should not be isolated
➔ Integration with other systems
➔ Ticketing systems
➔ Maintenance
➔ Command and control
Azure Logic Apps
Azure Service Bus
& Routes !
22. Device lifecycle Plan
Group devices and control access
according to your organization's needs
Provision
Securely authenticate devices, on-
board for management and provision
for service
Configure
Provide updates, configuration &
applications to assign the purpose of
each device
Monitor
Monitor device inventory, health &
security while providing proactive
remediation of issues
Retire
Replace or decommission devices
after failure or service lifetime
23. Device management, challenges
23
➔ Scale & Automation
➔ Less complex tools which enable management of millions of devices with a
small staff
➔ Open & Compatible
➔ Tools provide tailored management for many different hardware, software,
and protocol platforms
➔ Context aware
➔ Management operations adjust to dynamic conditions: downtime
windows, network/power conditions, usage patterns, and device
geolocation
➔ Serve many roles
➔ Including traditional IT, support for the workflows and processes of admin
and operations roles are crucial (IT + OT)
25. Platform Services
Infrastructure Services
Web Apps
Mobile
Apps
API
Management
API Apps
Logic Apps
Notification
Hubs
Content
Delivery
Network (CDN)
Media
Services
Hybrid
Connections
Service Bus
Storage
Queues
Hybrid
Operations
Backup
StorSimple
Azure Site
Recovery
Import/Export
SQL
Database
DocumentDB
Redis
Cache
Azure
Search
Storage
Tables
Data
Warehouse Azure AD
Health Monitoring
AD Privileged
Identity
Management
Operational
Analytics
Cloud
Services
Batch
RemoteApp
Service
Fabric
Visual Studio
App
Insights
Azure
SDK
VS Online
Domain Services
HDInsight Machine
Learning
Stream
Analytics
Data
Factory
Event
Hubs
Mobile
Engagement
Data
Lake
IoT Hub
Data
Catalog
Security &
Management
Azure Active
Directory
Multi-Factor
Authentication
Automation
Portal
Key Vault
Store/
Marketplace
VM Image Gallery
& VM Depot
Azure AD
B2C
Scheduler
Logic Apps
26. Platform Services
Infrastructure Services
Web Apps
Mobile
Apps
API
Management
API Apps
Logic Apps
Notification
Hubs
Content
Delivery
Network (CDN)
Media
Services
Hybrid
Connections
Service Bus
Storage
Queues
Hybrid
Operations
Backup
StorSimple
Azure Site
Recovery
Import/Export
SQL
Database
DocumentDB
Redis
Cache
Azure
Search
Storage
Tables
Data
Warehouse Azure AD
Health Monitoring
AD Privileged
Identity
Management
Operational
Analytics
Cloud
Services
Batch
RemoteApp
Service
Fabric
Visual Studio
App
Insights
Azure
SDK
VS Online
Domain Services
HDInsight Machine
Learning
Stream
Analytics
Data
Factory
Event
Hubs
Mobile
Engagement
Data
Lake
IoT Hub
Data
Catalog
Security &
Management
Azure Active
Directory
Multi-Factor
Authentication
Automation
Portal
Key Vault
Store/
Marketplace
VM Image Gallery
& VM Depot
Azure AD
B2C
Scheduler
Logic Apps
28. Device metadata & organisation
28
IoT Hub
Twin 0
Tags
Properties
Desired
Reported
Methods
…
Telemetry
Jobs
Queries
Set tags on twins to simplify
the task of finding and
targeting devices
29. Device management & configuration
29
IoT Hub
Twin 0
Tags
Properties
Desired
Reported
Methods
…
Telemetry
Jobs
Queries
Set desired properties on twins
to set common policy across a
large group of devices
30. Device querying & compliance
30
IoT Hub
Twin 0
Tags
Properties
Desired
Reported
Methods
…
Telemetry
Jobs
Query desired and reported
properties to attest device
compliance and surface
problems Queries
31. Device troubleshooting & updating
31
IoT Hub
Twin 0
Tags
Properties
Desired
Reported
Methods
…
Telemetry
Jobs
Queries
Initiate an action directly on a
device or schedule an action
with a job