SlideShare a Scribd company logo
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
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

More Related Content

PDF
Introducing HiveMQ Cloud
PDF
HiveMQ Cloud - The Cloud Native IoT Messaging Layer
PDF
HiveMQ Cloud Webinar
PDF
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
PPTX
Internet of things at the Edge with Azure IoT Edge by sonujose
PPTX
Azure IoT Edge: a breakthrough platform and service running cloud intelligenc...
PDF
HiveMQ Webinar: Lightweight and scalable IoT Messaging with MQTT
PDF
Lightweight and Scalable IoT Messaging with MQTT
Introducing HiveMQ Cloud
HiveMQ Cloud - The Cloud Native IoT Messaging Layer
HiveMQ Cloud Webinar
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
Internet of things at the Edge with Azure IoT Edge by sonujose
Azure IoT Edge: a breakthrough platform and service running cloud intelligenc...
HiveMQ Webinar: Lightweight and scalable IoT Messaging with MQTT
Lightweight and Scalable IoT Messaging with MQTT

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

PPTX
Living on the (IoT) edge (Sam Vanhoutte @TechdaysNL 2017)
PDF
Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...
PPTX
IoTSummit: Create iot devices connected or on the edge using ai and ml
PDF
Azure IoT Edge
PPTX
Microsoft Azure IoT Hub (Sam Vanhoutte @TechdaysNL 2017)
PPTX
Building Apps with Azure IoT Edge
PDF
Message-Oriented Middleware for Edge Computing Applications
PDF
IoT Meetup HiveMQ and MQTT
PDF
Modernizing the Manufacturing Industry with MQTT and Kafka
PDF
How to Stream IoT MQTT Messages Into the Azure Event Hubs Service
PDF
Revolutionizing IoT Testing - A Sneak Peek of HiveMQ Swarm
PDF
Best Practices Using MQTT to Connect Millions of IoT Devices
PDF
HiveMQ + Kafka: The ideal solution for IoT MQTT data integration
PDF
Modernizing the Manufacturing Industry with Kafka and MQTT
PPTX
Iot with azure | Yogesh Ojha | Global Azure BootCamp
PDF
MQTT.fx on HiveMQ Cloud Testing MQTT in the Cloud
PPTX
Microsoft azure services dedicated for IoT solutions
PDF
Building a reliable and scalable IoT platform with MongoDB and HiveMQ
PDF
Implementing the 5 Pillars of IT Security for MQTT
PDF
Mqtt.fx on hive mq cloud
Living on the (IoT) edge (Sam Vanhoutte @TechdaysNL 2017)
Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...
IoTSummit: Create iot devices connected or on the edge using ai and ml
Azure IoT Edge
Microsoft Azure IoT Hub (Sam Vanhoutte @TechdaysNL 2017)
Building Apps with Azure IoT Edge
Message-Oriented Middleware for Edge Computing Applications
IoT Meetup HiveMQ and MQTT
Modernizing the Manufacturing Industry with MQTT and Kafka
How to Stream IoT MQTT Messages Into the Azure Event Hubs Service
Revolutionizing IoT Testing - A Sneak Peek of HiveMQ Swarm
Best Practices Using MQTT to Connect Millions of IoT Devices
HiveMQ + Kafka: The ideal solution for IoT MQTT data integration
Modernizing the Manufacturing Industry with Kafka and MQTT
Iot with azure | Yogesh Ojha | Global Azure BootCamp
MQTT.fx on HiveMQ Cloud Testing MQTT in the Cloud
Microsoft azure services dedicated for IoT solutions
Building a reliable and scalable IoT platform with MongoDB and HiveMQ
Implementing the 5 Pillars of IT Security for MQTT
Mqtt.fx on hive mq cloud
Ad

More from HiveMQ (20)

PDF
IoT Security Issues and MQTT
PDF
Testing the Scalability of a Robust IoT System with Confidence
PDF
Designing an Edge to Cloud Architecture for IIoT
PDF
What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]
PDF
HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...
PDF
How MQTT 5 Makes Difficult IoT Use Cases Possible
PDF
How to Monitor and Observe IoT and MQTT Applications with HiveMQ
PDF
Connecting the Smart Factory to the Cloud
PDF
Debugging MQTT Client Communications With MQTT.fx and HiveMQ Cloud
PDF
Introduction to MQTT Sparkplug: Plug 'n Play Interoperability for IIoT
PDF
Free Your Manufacturing Data with Apache PLC4X & MQTT
PDF
Build Your Own HiveMQ Extension
PDF
How to Set up, Run and Scale a Secure MQTT Broker on Kubernetes
PDF
Best Practices for Streaming Connected Car Data with MQTT & Kafka
PDF
MQTT - The Key to Scalable Reliable Connected Car Platforms
PDF
Simplified IoT Operations With HiveMQ and Datadog
PDF
4 Paradigm Shifts for the Connected Car of the Future
PDF
HiveMQ + Kafka - The Ideal Solution for IoT MQTT Data Integration
PDF
Building Scalable & Reliable MQTT Clients for Enterprise Computing
PDF
MQTT 5 - Why You Need It and Potential Pitfalls
IoT Security Issues and MQTT
Testing the Scalability of a Robust IoT System with Confidence
Designing an Edge to Cloud Architecture for IIoT
What's New in HiveMQ [Inside the Upcoming HiveMQ 4.7 Release]
HiveMQ & HighByte Presents: Building an Enterprise Unified Namespace (UNS) to...
How MQTT 5 Makes Difficult IoT Use Cases Possible
How to Monitor and Observe IoT and MQTT Applications with HiveMQ
Connecting the Smart Factory to the Cloud
Debugging MQTT Client Communications With MQTT.fx and HiveMQ Cloud
Introduction to MQTT Sparkplug: Plug 'n Play Interoperability for IIoT
Free Your Manufacturing Data with Apache PLC4X & MQTT
Build Your Own HiveMQ Extension
How to Set up, Run and Scale a Secure MQTT Broker on Kubernetes
Best Practices for Streaming Connected Car Data with MQTT & Kafka
MQTT - The Key to Scalable Reliable Connected Car Platforms
Simplified IoT Operations With HiveMQ and Datadog
4 Paradigm Shifts for the Connected Car of the Future
HiveMQ + Kafka - The Ideal Solution for IoT MQTT Data Integration
Building Scalable & Reliable MQTT Clients for Enterprise Computing
MQTT 5 - Why You Need It and Potential Pitfalls
Ad

Recently uploaded (20)

PPT
Teaching material agriculture food technology
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
Cloud computing and distributed systems.
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
KodekX | Application Modernization Development
PDF
Machine learning based COVID-19 study performance prediction
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Big Data Technologies - Introduction.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Teaching material agriculture food technology
Programs and apps: productivity, graphics, security and other tools
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
MYSQL Presentation for SQL database connectivity
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Cloud computing and distributed systems.
Understanding_Digital_Forensics_Presentation.pptx
KodekX | Application Modernization Development
Machine learning based COVID-19 study performance prediction
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Big Data Technologies - Introduction.pptx
Review of recent advances in non-invasive hemoglobin estimation
“AI and Expert System Decision Support & Business Intelligence Systems”
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Empathic Computing: Creating Shared Understanding
Dropbox Q2 2025 Financial Results & Investor Presentation
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf

Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ

  • 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