SlideShare una empresa de Scribd logo
1 de 38
Descargar para leer sin conexión
Copyright © by HiveMQ. All Rights Reserved.
● Independent contractor
● Strong software
engineering experience
● Certified Azure
Solutions Architect
● Focused on IoT, from
concept to the
implementation
● Technical blogger
● Speaker
WELCOME
Christoph Schäbel Kresimir Galic
@schaebo @kgalic1
linkedin.com/in/kresimir-galic
-8664a66a/
www.variant-logic.com
● Practical MQTT expert
with multiple years of
experience in the field
● HiveMQ Core Developer
● Background in scalable
and reliable distributed
systems and robotics
linkedin.com/in/cschaebel
www.hivemq.com
Copyright © by HiveMQ. All Rights Reserved.
IoT Edge
Copyright © by HiveMQ. All Rights Reserved.
WHAT WE WILL TALK ABOUT
• Shifting to the Edge
→ What is edge?
• Azure IoT Edge Concept
→ Cloud managed deployments
→ Containerized environment
• Cloud Managed Deployment of HiveMQ Broker for
M2M Communication
Copyright © by HiveMQ. All Rights Reserved.
What We Call ‘Edge’?
• Edge of network
• Closer to the devices/machines
• Outside of the cloud, but managed by
the cloud
Copyright © by HiveMQ. All Rights Reserved.
Shifting To The Edge
• Cloud
→ Globally available, unlimited compute resources
• IoT
→ Signals from sensors and machines, managed centrally by
cloud
• Edge
→ Intelligence offloaded from the cloud to IoT devices
• AI
→ Intelligence capabilities, in the cloud and on the edge
Copyright © by HiveMQ. All Rights Reserved.
Azure IoT Edge
• Cloud Managed
→ Enables rich management of Azure IoT Edge from Azure
provide a complete solution instead of just an SDK
• Cross Platform
→Containerized environment, enables targeting most popular
edge operating systems such as Windows and Linux
• Portable
→ Enables Dev/Test of edge workloads in the cloud with later
deployment to the edge as part of a continuous integration / continuous
deployment pipeline
• Extensible
→ Deploying custom modules, third party solutions and/or AI
Copyright © by HiveMQ. All Rights Reserved.
MQTT on
the edge
Copyright © by HiveMQ. All Rights Reserved.
MQTT
● Lightweight protocol on top of TCP/IP
● Publish / Subscribe pattern
● De-coupling of sender and receiver
● Instant message delivery
● Open standard
Copyright © by HiveMQ. All Rights Reserved.
MQTT History
Copyright © by HiveMQ. All Rights Reserved.
MQTT 5 Features
• Compatibility and Portability improvements
• Session & Message Expiry
• Shared Subscriptions
→ Load balancing for clients
→ Multiple clients share the same subscription
• User Properties
→ User defined metadata
→ Reduce bandwidth and costs
• Improved Client Feedback
→ More descriptive reason codes and messages
→ Negative acknowledgements
• Request / Response pattern
Copyright © by HiveMQ. All Rights Reserved.
HiveMQ ecosystem
• Enterprise MQTT platform
• Different Editions
→ Commercial with enterprise features and up to 24/7 support
→ Open Source “Community” edition
• Open Source client library
→ built for high-performance
• Enterprise integrations
→ Security
→ Kafka
→ ….
Copyright © by HiveMQ. All Rights Reserved.
Why HiveMQ on the Edge?
• MQTT as open standard
→ Interoperability
→ Vendor neutrality
→ HiveMQ supports 100% MQTT v5
→ Azure has partial MQTT v3.1.1 support
• Independent edge
→ Reliable intra-edge communication, without dependency
on internet connectivity
→ Vendor neutrality
• Control data flow and cost
→ Control which part of the IoT data is sent to the cloud or
analyzed on the edge
→ Reduce bandwidth and costs
Copyright © by HiveMQ. All Rights Reserved.
Why HiveMQ and IoT Edge?
• Bidirectional messaging
→ Direct Communication of components / machines at the
edge with each other
• Simple deployment and maintenance
→ Managed through Azure Cloud UI
→ Simple concepts
• Intelligent Edges
→ (Pre-)analyze data at the edge
→ Utilize Azure AI technologies
• High throughput on the Edge
→ Maintain high-throughput of messages on the edge,
not every message has to go to the cloud
→ Reduce bandwidth and costs
Copyright © by HiveMQ. All Rights Reserved.
Use Cases
Copyright © by HiveMQ. All Rights Reserved.
Intra Machine Communication
• Easy to manage and operate
→ IoT Devices can be provisioned and managed in the cloud
• Efficient intra machine communication
→ Low latency
→ Low overhead
• Early data analysis
→ Machine learning and AI for each machine
• Cost effective
→ Only selected and pre-analyzed data is streamed to the
cloud
Copyright © by HiveMQ. All Rights Reserved.
Inter Machine Communication
• Reliable
→ Factory stays independent of internet connectivity
→ Each building / location can have own communications hub
• Fast
→ Lower latencies in local network
• Interoperable
→ between machines and vendors
due to standard protocol MQTT v5
• Secure
→ Separate security layers for on-premise and cloud
• Intelligent
→ Computing and analysis right at the edge
Copyright © by HiveMQ. All Rights Reserved.
Azure IoT Edge
Concepts
Copyright © by HiveMQ. All Rights Reserved.
Concept - Azure 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
Copyright © by HiveMQ. All Rights Reserved.
Concept - Module
• Module image is a package containing the software that defines a module.
• Module instance is the specific unit of computation running the module image on an IoT Edge device.
→ The module instance is started by the IoT Edge runtime
• Module identity is a piece of information (including security credentials) stored in IoT Hub, that is associated to each
module instance.
• Module twin is a JSON document stored in IoT Hub, that contains state information for a module instance.
• SDKs to develop custom modules in multiple languages (C#, C, Python, Java, Node.JS)
Copyright © by HiveMQ. All Rights Reserved.
Concept - Routing
● Query Language
FROM
/messages/modules/TelemetrySubscri
berModule/outputs/* INTO $upstream
Copyright © by HiveMQ. All Rights Reserved.
Concept - Device Management
Copyright © by HiveMQ. All Rights Reserved.
IoT in the Cloud vs Edge
Copyright © by HiveMQ. All Rights Reserved.
HiveMQ on Azure IoT Edge
Copyright © by HiveMQ. All Rights Reserved.
HiveMQ on Azure IoT Edge
Copyright © by HiveMQ. All Rights Reserved.
Deploying HiveMQ Broker from the Cloud
● Deployment manifest
● Deploying at scale
Copyright © by HiveMQ. All Rights Reserved.
HiveMQ on Azure IoT Edge
Copyright © by HiveMQ. All Rights Reserved.
● Deployment manifest
● Deploying at scale
Deploying Custom Module from the Cloud
Copyright © by HiveMQ. All Rights Reserved.
HiveMQ on Azure IoT Edge
Copyright © by HiveMQ. All Rights Reserved.
Deploying Custom Module from the Cloud
● Subscribing to the dedicated topic
● Topic name can be a part of Module Configuration (Module Twin)
● Using HiveMQ Client Library
Copyright © by HiveMQ. All Rights Reserved.
HiveMQ on Azure IoT Edge
Copyright © by HiveMQ. All Rights Reserved.
Routing Messages and Sending Results to the Cloud
● Sending the message to the module output
● Azure IoT Edge routes decide where the message goes next (another
module, cloud - IoT Hub)
● "TelemetrySubscriberModuleToIoTHub": "FROM
/messages/modules/TelemetrySubscriberModule/outputs/* INTO $upstream"
Copyright © by HiveMQ. All Rights Reserved.
Machine to Machine Communication
• Clients/Machines can leverage HiveMQ client
library or any other MQTT library
• Using HiveMQ broker to leverage MQTT features
• One example is ‘LastWill’ message to determine whether
machine got disconnected for triggering the alarms
through the cloud
• Full code available on GitHub:
https://github.com/kgalic/IoTEdgeM2MWithHiveMQ
• Broker for machines with additional logic embedded
for preprocessing before alarming another machine
Copyright © by HiveMQ. All Rights Reserved.
What’s next?
Copyright © by HiveMQ. All Rights Reserved.
What’s next?
• AI / ML at the edge and in the cloud
→ (Pre-)analyze data at the edge
→ Utilize Azure AI technologies
• Even deeper integration
→ HiveMQ extensions that directly integrate with IoT Edge
• High availability at the edge
→ Deploy HiveMQ clusters
→ Multiple IoT Edge Devices at the same location
• HiveMQ Cloud <-> Azure Cloud
→ Managed MQTT brokers through HiveMQ Cloud
→ Big Data analytics with Azure
Copyright © by HiveMQ. All Rights Reserved.
Resources
MQTT Essentials Series
Evaluate HiveMQ Broker
Try HiveMQ Cloud
Get Started with MQTT
ANY
QUESTIONS?
Reach out to community.hivemq.com
THANK YOU

Más contenido relacionado

Similar a Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ

Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...
Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...
Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...Dominik Obermaier
 
Lightweight and Scalable IoT Messaging with MQTT
Lightweight and Scalable IoT Messaging with MQTTLightweight and Scalable IoT Messaging with MQTT
Lightweight and Scalable IoT Messaging with MQTTHiveMQ
 
HiveMQ Webinar: Lightweight and scalable IoT Messaging with MQTT
HiveMQ Webinar: Lightweight and scalable IoT Messaging with MQTTHiveMQ Webinar: Lightweight and scalable IoT Messaging with MQTT
HiveMQ Webinar: Lightweight and scalable IoT Messaging with MQTTDominik Obermaier
 
How to Use InfluxDB to Visualize and Monitor MQTT Messages in an IIoT System
How to Use InfluxDB to Visualize and Monitor MQTT Messages in an IIoT SystemHow to Use InfluxDB to Visualize and Monitor MQTT Messages in an IIoT System
How to Use InfluxDB to Visualize and Monitor MQTT Messages in an IIoT SystemInfluxData
 
Mqtt.fx on hive mq cloud
Mqtt.fx on hive mq cloudMqtt.fx on hive mq cloud
Mqtt.fx on hive mq cloudMargarethaErber
 
Modernizing the Manufacturing Industry with Kafka and MQTT
Modernizing the Manufacturing Industry with Kafka and MQTT Modernizing the Manufacturing Industry with Kafka and MQTT
Modernizing the Manufacturing Industry with Kafka and MQTT Dominik Obermaier
 
MQTT.fx on HiveMQ Cloud Testing MQTT in the Cloud
MQTT.fx on HiveMQ Cloud Testing MQTT in the CloudMQTT.fx on HiveMQ Cloud Testing MQTT in the Cloud
MQTT.fx on HiveMQ Cloud Testing MQTT in the CloudHiveMQ
 
Kafka Summit 2021 - Why MQTT and Kafka are a match made in heaven
Kafka Summit 2021 - Why MQTT and Kafka are a match made in heavenKafka Summit 2021 - Why MQTT and Kafka are a match made in heaven
Kafka Summit 2021 - Why MQTT and Kafka are a match made in heavenDominik Obermaier
 
A pure Java MQTT Stack for IoT
A pure Java MQTT Stack for IoTA pure Java MQTT Stack for IoT
A pure Java MQTT Stack for IoTDominik Obermaier
 
Simplified IoT Operations With HiveMQ and Datadog
Simplified IoT Operations With HiveMQ and DatadogSimplified IoT Operations With HiveMQ and Datadog
Simplified IoT Operations With HiveMQ and DatadogHiveMQ
 
IoT Data Streaming - Why MQTT and Kafka are a match made in heaven | Dominik ...
IoT Data Streaming - Why MQTT and Kafka are a match made in heaven | Dominik ...IoT Data Streaming - Why MQTT and Kafka are a match made in heaven | Dominik ...
IoT Data Streaming - Why MQTT and Kafka are a match made in heaven | Dominik ...HostedbyConfluent
 
How to Stream IoT MQTT Messages Into the Azure Event Hubs Service
How to Stream IoT MQTT Messages Into the Azure Event Hubs ServiceHow to Stream IoT MQTT Messages Into the Azure Event Hubs Service
How to Stream IoT MQTT Messages Into the Azure Event Hubs ServiceHiveMQ
 
Inntroduction to MQTT Sparkplug with HiveMQ and Opto22
Inntroduction to MQTT Sparkplug with HiveMQ and Opto22Inntroduction to MQTT Sparkplug with HiveMQ and Opto22
Inntroduction to MQTT Sparkplug with HiveMQ and Opto22Dominik Obermaier
 
Back to Basics: An Introduction to MQTT
Back to Basics: An Introduction to MQTTBack to Basics: An Introduction to MQTT
Back to Basics: An Introduction to MQTTHiveMQ
 
IoT Security Issues and MQTT
IoT Security Issues and MQTTIoT Security Issues and MQTT
IoT Security Issues and MQTTHiveMQ
 
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT Dominik Obermaier
 
Introduction to MQTT Sparkplug: Plug 'n Play Interoperability for IIoT
Introduction to MQTT Sparkplug: Plug 'n Play Interoperability for IIoTIntroduction to MQTT Sparkplug: Plug 'n Play Interoperability for IIoT
Introduction to MQTT Sparkplug: Plug 'n Play Interoperability for IIoTHiveMQ
 
Building Scalable & Reliable MQTT Clients for Enterprise Computing
Building Scalable & Reliable MQTT Clients for Enterprise ComputingBuilding Scalable & Reliable MQTT Clients for Enterprise Computing
Building Scalable & Reliable MQTT Clients for Enterprise ComputingHiveMQ
 
Building Scalable & Reliable MQTT Clients for Enterprise Computing
Building Scalable & Reliable MQTT Clients for Enterprise ComputingBuilding Scalable & Reliable MQTT Clients for Enterprise Computing
Building Scalable & Reliable MQTT Clients for Enterprise ComputingSilvioGiebl
 
MQTT 5 - Why You Need It and Potential Pitfalls
MQTT 5 - Why You Need It and Potential PitfallsMQTT 5 - Why You Need It and Potential Pitfalls
MQTT 5 - Why You Need It and Potential PitfallsHiveMQ
 

Similar a Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ (20)

Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...
Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...
Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...
 
Lightweight and Scalable IoT Messaging with MQTT
Lightweight and Scalable IoT Messaging with MQTTLightweight and Scalable IoT Messaging with MQTT
Lightweight and Scalable IoT Messaging with MQTT
 
HiveMQ Webinar: Lightweight and scalable IoT Messaging with MQTT
HiveMQ Webinar: Lightweight and scalable IoT Messaging with MQTTHiveMQ Webinar: Lightweight and scalable IoT Messaging with MQTT
HiveMQ Webinar: Lightweight and scalable IoT Messaging with MQTT
 
How to Use InfluxDB to Visualize and Monitor MQTT Messages in an IIoT System
How to Use InfluxDB to Visualize and Monitor MQTT Messages in an IIoT SystemHow to Use InfluxDB to Visualize and Monitor MQTT Messages in an IIoT System
How to Use InfluxDB to Visualize and Monitor MQTT Messages in an IIoT System
 
Mqtt.fx on hive mq cloud
Mqtt.fx on hive mq cloudMqtt.fx on hive mq cloud
Mqtt.fx on hive mq cloud
 
Modernizing the Manufacturing Industry with Kafka and MQTT
Modernizing the Manufacturing Industry with Kafka and MQTT Modernizing the Manufacturing Industry with Kafka and MQTT
Modernizing the Manufacturing Industry with Kafka and MQTT
 
MQTT.fx on HiveMQ Cloud Testing MQTT in the Cloud
MQTT.fx on HiveMQ Cloud Testing MQTT in the CloudMQTT.fx on HiveMQ Cloud Testing MQTT in the Cloud
MQTT.fx on HiveMQ Cloud Testing MQTT in the Cloud
 
Kafka Summit 2021 - Why MQTT and Kafka are a match made in heaven
Kafka Summit 2021 - Why MQTT and Kafka are a match made in heavenKafka Summit 2021 - Why MQTT and Kafka are a match made in heaven
Kafka Summit 2021 - Why MQTT and Kafka are a match made in heaven
 
A pure Java MQTT Stack for IoT
A pure Java MQTT Stack for IoTA pure Java MQTT Stack for IoT
A pure Java MQTT Stack for IoT
 
Simplified IoT Operations With HiveMQ and Datadog
Simplified IoT Operations With HiveMQ and DatadogSimplified IoT Operations With HiveMQ and Datadog
Simplified IoT Operations With HiveMQ and Datadog
 
IoT Data Streaming - Why MQTT and Kafka are a match made in heaven | Dominik ...
IoT Data Streaming - Why MQTT and Kafka are a match made in heaven | Dominik ...IoT Data Streaming - Why MQTT and Kafka are a match made in heaven | Dominik ...
IoT Data Streaming - Why MQTT and Kafka are a match made in heaven | Dominik ...
 
How to Stream IoT MQTT Messages Into the Azure Event Hubs Service
How to Stream IoT MQTT Messages Into the Azure Event Hubs ServiceHow to Stream IoT MQTT Messages Into the Azure Event Hubs Service
How to Stream IoT MQTT Messages Into the Azure Event Hubs Service
 
Inntroduction to MQTT Sparkplug with HiveMQ and Opto22
Inntroduction to MQTT Sparkplug with HiveMQ and Opto22Inntroduction to MQTT Sparkplug with HiveMQ and Opto22
Inntroduction to MQTT Sparkplug with HiveMQ and Opto22
 
Back to Basics: An Introduction to MQTT
Back to Basics: An Introduction to MQTTBack to Basics: An Introduction to MQTT
Back to Basics: An Introduction to MQTT
 
IoT Security Issues and MQTT
IoT Security Issues and MQTTIoT Security Issues and MQTT
IoT Security Issues and MQTT
 
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
 
Introduction to MQTT Sparkplug: Plug 'n Play Interoperability for IIoT
Introduction to MQTT Sparkplug: Plug 'n Play Interoperability for IIoTIntroduction to MQTT Sparkplug: Plug 'n Play Interoperability for IIoT
Introduction to MQTT Sparkplug: Plug 'n Play Interoperability for IIoT
 
Building Scalable & Reliable MQTT Clients for Enterprise Computing
Building Scalable & Reliable MQTT Clients for Enterprise ComputingBuilding Scalable & Reliable MQTT Clients for Enterprise Computing
Building Scalable & Reliable MQTT Clients for Enterprise Computing
 
Building Scalable & Reliable MQTT Clients for Enterprise Computing
Building Scalable & Reliable MQTT Clients for Enterprise ComputingBuilding Scalable & Reliable MQTT Clients for Enterprise Computing
Building Scalable & Reliable MQTT Clients for Enterprise Computing
 
MQTT 5 - Why You Need It and Potential Pitfalls
MQTT 5 - Why You Need It and Potential PitfallsMQTT 5 - Why You Need It and Potential Pitfalls
MQTT 5 - Why You Need It and Potential Pitfalls
 

Más de HiveMQ

Testing the Scalability of a Robust IoT System with Confidence
Testing the Scalability of a Robust IoT System with ConfidenceTesting the Scalability of a Robust IoT System with Confidence
Testing the Scalability of a Robust IoT System with ConfidenceHiveMQ
 
Designing an Edge to Cloud Architecture for IIoT
Designing an Edge to Cloud Architecture for IIoTDesigning an Edge to Cloud Architecture for IIoT
Designing an Edge to Cloud Architecture for IIoTHiveMQ
 
What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]
What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]
What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]HiveMQ
 
HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...
HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...
HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...HiveMQ
 
How MQTT 5 Makes Difficult IoT Use Cases Possible
How MQTT 5 Makes Difficult IoT Use Cases PossibleHow MQTT 5 Makes Difficult IoT Use Cases Possible
How MQTT 5 Makes Difficult IoT Use Cases PossibleHiveMQ
 
How to Monitor and Observe IoT and MQTT Applications with HiveMQ
How to Monitor and Observe IoT and MQTT Applications with HiveMQ How to Monitor and Observe IoT and MQTT Applications with HiveMQ
How to Monitor and Observe IoT and MQTT Applications with HiveMQ HiveMQ
 
Connecting the Smart Factory to the Cloud
Connecting the Smart Factory to the CloudConnecting the Smart Factory to the Cloud
Connecting the Smart Factory to the CloudHiveMQ
 
Free Your Manufacturing Data with Apache PLC4X & MQTT
Free Your Manufacturing Data with Apache PLC4X & MQTTFree Your Manufacturing Data with Apache PLC4X & MQTT
Free Your Manufacturing Data with Apache PLC4X & MQTTHiveMQ
 
Build Your Own HiveMQ Extension
Build Your Own HiveMQ ExtensionBuild Your Own HiveMQ Extension
Build Your Own HiveMQ ExtensionHiveMQ
 
How to Set up, Run and Scale a Secure MQTT Broker on Kubernetes
How to Set up, Run and Scale a Secure MQTT Broker on KubernetesHow to Set up, Run and Scale a Secure MQTT Broker on Kubernetes
How to Set up, Run and Scale a Secure MQTT Broker on KubernetesHiveMQ
 
MQTT - The Key to Scalable Reliable Connected Car Platforms
MQTT - The Key to Scalable Reliable Connected Car PlatformsMQTT - The Key to Scalable Reliable Connected Car Platforms
MQTT - The Key to Scalable Reliable Connected Car PlatformsHiveMQ
 
Modernizing the Manufacturing Industry with MQTT and Kafka
Modernizing the Manufacturing Industry with MQTT and KafkaModernizing the Manufacturing Industry with MQTT and Kafka
Modernizing the Manufacturing Industry with MQTT and KafkaHiveMQ
 
Implementing the 5 Pillars of IT Security for MQTT
Implementing the 5 Pillars of IT Security for MQTTImplementing the 5 Pillars of IT Security for MQTT
Implementing the 5 Pillars of IT Security for MQTTHiveMQ
 
4 Paradigm Shifts for the Connected Car of the Future
4 Paradigm Shifts for the Connected Car of the Future4 Paradigm Shifts for the Connected Car of the Future
4 Paradigm Shifts for the Connected Car of the FutureHiveMQ
 

Más de HiveMQ (14)

Testing the Scalability of a Robust IoT System with Confidence
Testing the Scalability of a Robust IoT System with ConfidenceTesting the Scalability of a Robust IoT System with Confidence
Testing the Scalability of a Robust IoT System with Confidence
 
Designing an Edge to Cloud Architecture for IIoT
Designing an Edge to Cloud Architecture for IIoTDesigning an Edge to Cloud Architecture for IIoT
Designing an Edge to Cloud Architecture for IIoT
 
What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]
What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]
What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]
 
HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...
HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...
HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...
 
How MQTT 5 Makes Difficult IoT Use Cases Possible
How MQTT 5 Makes Difficult IoT Use Cases PossibleHow MQTT 5 Makes Difficult IoT Use Cases Possible
How MQTT 5 Makes Difficult IoT Use Cases Possible
 
How to Monitor and Observe IoT and MQTT Applications with HiveMQ
How to Monitor and Observe IoT and MQTT Applications with HiveMQ How to Monitor and Observe IoT and MQTT Applications with HiveMQ
How to Monitor and Observe IoT and MQTT Applications with HiveMQ
 
Connecting the Smart Factory to the Cloud
Connecting the Smart Factory to the CloudConnecting the Smart Factory to the Cloud
Connecting the Smart Factory to the Cloud
 
Free Your Manufacturing Data with Apache PLC4X & MQTT
Free Your Manufacturing Data with Apache PLC4X & MQTTFree Your Manufacturing Data with Apache PLC4X & MQTT
Free Your Manufacturing Data with Apache PLC4X & MQTT
 
Build Your Own HiveMQ Extension
Build Your Own HiveMQ ExtensionBuild Your Own HiveMQ Extension
Build Your Own HiveMQ Extension
 
How to Set up, Run and Scale a Secure MQTT Broker on Kubernetes
How to Set up, Run and Scale a Secure MQTT Broker on KubernetesHow to Set up, Run and Scale a Secure MQTT Broker on Kubernetes
How to Set up, Run and Scale a Secure MQTT Broker on Kubernetes
 
MQTT - The Key to Scalable Reliable Connected Car Platforms
MQTT - The Key to Scalable Reliable Connected Car PlatformsMQTT - The Key to Scalable Reliable Connected Car Platforms
MQTT - The Key to Scalable Reliable Connected Car Platforms
 
Modernizing the Manufacturing Industry with MQTT and Kafka
Modernizing the Manufacturing Industry with MQTT and KafkaModernizing the Manufacturing Industry with MQTT and Kafka
Modernizing the Manufacturing Industry with MQTT and Kafka
 
Implementing the 5 Pillars of IT Security for MQTT
Implementing the 5 Pillars of IT Security for MQTTImplementing the 5 Pillars of IT Security for MQTT
Implementing the 5 Pillars of IT Security for MQTT
 
4 Paradigm Shifts for the Connected Car of the Future
4 Paradigm Shifts for the Connected Car of the Future4 Paradigm Shifts for the Connected Car of the Future
4 Paradigm Shifts for the Connected Car of the Future
 

Último

#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
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
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 

Último (20)

#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
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
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 

Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ

  • 1.
  • 2. Copyright © by HiveMQ. All Rights Reserved. ● Independent contractor ● Strong software engineering experience ● Certified Azure Solutions Architect ● Focused on IoT, from concept to the implementation ● Technical blogger ● Speaker WELCOME Christoph Schäbel Kresimir Galic @schaebo @kgalic1 linkedin.com/in/kresimir-galic -8664a66a/ www.variant-logic.com ● Practical MQTT expert with multiple years of experience in the field ● HiveMQ Core Developer ● Background in scalable and reliable distributed systems and robotics linkedin.com/in/cschaebel www.hivemq.com
  • 3. Copyright © by HiveMQ. All Rights Reserved. IoT Edge
  • 4. Copyright © by HiveMQ. All Rights Reserved. WHAT WE WILL TALK ABOUT • Shifting to the Edge → What is edge? • Azure IoT Edge Concept → Cloud managed deployments → Containerized environment • Cloud Managed Deployment of HiveMQ Broker for M2M Communication
  • 5. Copyright © by HiveMQ. All Rights Reserved. What We Call ‘Edge’? • Edge of network • Closer to the devices/machines • Outside of the cloud, but managed by the cloud
  • 6. Copyright © by HiveMQ. All Rights Reserved. Shifting To The Edge • Cloud → Globally available, unlimited compute resources • IoT → Signals from sensors and machines, managed centrally by cloud • Edge → Intelligence offloaded from the cloud to IoT devices • AI → Intelligence capabilities, in the cloud and on the edge
  • 7. Copyright © by HiveMQ. All Rights Reserved. Azure IoT Edge • Cloud Managed → Enables rich management of Azure IoT Edge from Azure provide a complete solution instead of just an SDK • Cross Platform →Containerized environment, enables targeting most popular edge operating systems such as Windows and Linux • Portable → Enables Dev/Test of edge workloads in the cloud with later deployment to the edge as part of a continuous integration / continuous deployment pipeline • Extensible → Deploying custom modules, third party solutions and/or AI
  • 8. Copyright © by HiveMQ. All Rights Reserved. MQTT on the edge
  • 9. Copyright © by HiveMQ. All Rights Reserved. MQTT ● Lightweight protocol on top of TCP/IP ● Publish / Subscribe pattern ● De-coupling of sender and receiver ● Instant message delivery ● Open standard
  • 10. Copyright © by HiveMQ. All Rights Reserved. MQTT History
  • 11. Copyright © by HiveMQ. All Rights Reserved. MQTT 5 Features • Compatibility and Portability improvements • Session & Message Expiry • Shared Subscriptions → Load balancing for clients → Multiple clients share the same subscription • User Properties → User defined metadata → Reduce bandwidth and costs • Improved Client Feedback → More descriptive reason codes and messages → Negative acknowledgements • Request / Response pattern
  • 12. Copyright © by HiveMQ. All Rights Reserved. HiveMQ ecosystem • Enterprise MQTT platform • Different Editions → Commercial with enterprise features and up to 24/7 support → Open Source “Community” edition • Open Source client library → built for high-performance • Enterprise integrations → Security → Kafka → ….
  • 13. Copyright © by HiveMQ. All Rights Reserved. Why HiveMQ on the Edge? • MQTT as open standard → Interoperability → Vendor neutrality → HiveMQ supports 100% MQTT v5 → Azure has partial MQTT v3.1.1 support • Independent edge → Reliable intra-edge communication, without dependency on internet connectivity → Vendor neutrality • Control data flow and cost → Control which part of the IoT data is sent to the cloud or analyzed on the edge → Reduce bandwidth and costs
  • 14. Copyright © by HiveMQ. All Rights Reserved. Why HiveMQ and IoT Edge? • Bidirectional messaging → Direct Communication of components / machines at the edge with each other • Simple deployment and maintenance → Managed through Azure Cloud UI → Simple concepts • Intelligent Edges → (Pre-)analyze data at the edge → Utilize Azure AI technologies • High throughput on the Edge → Maintain high-throughput of messages on the edge, not every message has to go to the cloud → Reduce bandwidth and costs
  • 15. Copyright © by HiveMQ. All Rights Reserved. Use Cases
  • 16. Copyright © by HiveMQ. All Rights Reserved. Intra Machine Communication • Easy to manage and operate → IoT Devices can be provisioned and managed in the cloud • Efficient intra machine communication → Low latency → Low overhead • Early data analysis → Machine learning and AI for each machine • Cost effective → Only selected and pre-analyzed data is streamed to the cloud
  • 17. Copyright © by HiveMQ. All Rights Reserved. Inter Machine Communication • Reliable → Factory stays independent of internet connectivity → Each building / location can have own communications hub • Fast → Lower latencies in local network • Interoperable → between machines and vendors due to standard protocol MQTT v5 • Secure → Separate security layers for on-premise and cloud • Intelligent → Computing and analysis right at the edge
  • 18. Copyright © by HiveMQ. All Rights Reserved. Azure IoT Edge Concepts
  • 19. Copyright © by HiveMQ. All Rights Reserved. Concept - Azure 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
  • 20. Copyright © by HiveMQ. All Rights Reserved. Concept - Module • Module image is a package containing the software that defines a module. • Module instance is the specific unit of computation running the module image on an IoT Edge device. → The module instance is started by the IoT Edge runtime • Module identity is a piece of information (including security credentials) stored in IoT Hub, that is associated to each module instance. • Module twin is a JSON document stored in IoT Hub, that contains state information for a module instance. • SDKs to develop custom modules in multiple languages (C#, C, Python, Java, Node.JS)
  • 21. Copyright © by HiveMQ. All Rights Reserved. Concept - Routing ● Query Language FROM /messages/modules/TelemetrySubscri berModule/outputs/* INTO $upstream
  • 22. Copyright © by HiveMQ. All Rights Reserved. Concept - Device Management
  • 23. Copyright © by HiveMQ. All Rights Reserved. IoT in the Cloud vs Edge
  • 24. Copyright © by HiveMQ. All Rights Reserved. HiveMQ on Azure IoT Edge
  • 25. Copyright © by HiveMQ. All Rights Reserved. HiveMQ on Azure IoT Edge
  • 26. Copyright © by HiveMQ. All Rights Reserved. Deploying HiveMQ Broker from the Cloud ● Deployment manifest ● Deploying at scale
  • 27. Copyright © by HiveMQ. All Rights Reserved. HiveMQ on Azure IoT Edge
  • 28. Copyright © by HiveMQ. All Rights Reserved. ● Deployment manifest ● Deploying at scale Deploying Custom Module from the Cloud
  • 29. Copyright © by HiveMQ. All Rights Reserved. HiveMQ on Azure IoT Edge
  • 30. Copyright © by HiveMQ. All Rights Reserved. Deploying Custom Module from the Cloud ● Subscribing to the dedicated topic ● Topic name can be a part of Module Configuration (Module Twin) ● Using HiveMQ Client Library
  • 31. Copyright © by HiveMQ. All Rights Reserved. HiveMQ on Azure IoT Edge
  • 32. Copyright © by HiveMQ. All Rights Reserved. Routing Messages and Sending Results to the Cloud ● Sending the message to the module output ● Azure IoT Edge routes decide where the message goes next (another module, cloud - IoT Hub) ● "TelemetrySubscriberModuleToIoTHub": "FROM /messages/modules/TelemetrySubscriberModule/outputs/* INTO $upstream"
  • 33. Copyright © by HiveMQ. All Rights Reserved. Machine to Machine Communication • Clients/Machines can leverage HiveMQ client library or any other MQTT library • Using HiveMQ broker to leverage MQTT features • One example is ‘LastWill’ message to determine whether machine got disconnected for triggering the alarms through the cloud • Full code available on GitHub: https://github.com/kgalic/IoTEdgeM2MWithHiveMQ • Broker for machines with additional logic embedded for preprocessing before alarming another machine
  • 34. Copyright © by HiveMQ. All Rights Reserved. What’s next?
  • 35. Copyright © by HiveMQ. All Rights Reserved. What’s next? • AI / ML at the edge and in the cloud → (Pre-)analyze data at the edge → Utilize Azure AI technologies • Even deeper integration → HiveMQ extensions that directly integrate with IoT Edge • High availability at the edge → Deploy HiveMQ clusters → Multiple IoT Edge Devices at the same location • HiveMQ Cloud <-> Azure Cloud → Managed MQTT brokers through HiveMQ Cloud → Big Data analytics with Azure
  • 36. Copyright © by HiveMQ. All Rights Reserved. Resources MQTT Essentials Series Evaluate HiveMQ Broker Try HiveMQ Cloud Get Started with MQTT
  • 37. ANY QUESTIONS? Reach out to community.hivemq.com