The Azure IoT Handbook

Book description

The essential guide to architecting Azure IoT systems—from provisioning and monitoring IoT sensors to analyzing real-time streaming data

Key Features

  • Develop a complete IoT system in Azure with the help of hands-on examples
  • Discover how to create, secure, and manage an enterprise-wide IoT system
  • Learn how to collect, analyze, and visualize streaming data
  • Purchase of the print or Kindle book includes a free PDF eBook

Book Description

With the rise of cloud-based computing, deploying IoT systems has become more cost-effective for businesses. This transformation has led to developers and architects shouldering the responsibility of creating, managing, and securing these systems, even if they are new to the IoT technology. The Azure IoT Handbook is a comprehensive introduction to quickly bring you up to speed in this rapidly evolving landscape.

Starting with the basic building blocks of any IoT system, this book guides you through mobile device management and data collection using an IoT hub. You’ll explore essential tools for system security and monitoring. Following data collection, you’ll delve into real-time data analytics using Azure Stream Analytics and view real-time streaming on a Power BI dashboard. Packed with real-world examples, this book covers common IoT use as well.

By the end of this IoT book, you’ll know how to design and develop IoT solutions leveraging intelligent edge-to-cloud technologies implemented on Azure.

What you will learn

  • Get to grips with setting up and deploying IoT devices at scale
  • Use Azure IoT Hub for device management and message routing
  • Explore Azure services for analyzing streaming data
  • Uncover effective techniques for visualizing real-time streaming data
  • Delve into the essentials of monitoring and logging to secure your IoT system
  • Gain insights into real-time analytics with Power BI
  • Create workflows and alerts triggered by streaming data

Who this book is for

The Azure IoT Handbook is for cloud developers and architects who want to learn how to establish an IoT solution on the Azure platform. This book is equally valuable for IoT developers transitioning to Azure, encompassing tasks such as aggregating, analyzing, and visualizing real-time data streams. Basic knowledge of the C# and Python programming languages, as well as a practical understanding of data processing will help you make the most of this book. Familiarity with working with cloud-based services is also advantageous.

Table of contents

  1. The Azure IoT Handbook
  2. Contributors
  3. About the author
  4. About the reviewers
  5. Preface
    1. Who this book is for
    2. What this book covers
    3. To get the most out of this book
    4. Download the example code files
    5. Conventions used
    6. Get in touch
    7. Share Your Thoughts
    8. Download a free PDF copy of this book
  6. Part 1: Capturing Data from Remote Devices
  7. Chapter 1: An Introduction to the IoT
    1. Technical requirement
    2. What is the IoT?
    3. What are some common IoT use cases?
    4. What are the components of an IoT system?
      1. Understanding the Azure IoT system
    5. Lab – setting up an IoT hub in Azure
    6. Summary
  8. Chapter 2: Exploring the IoT Hub Service
    1. The features of IoT Hub
    2. Configuring IoT devices
      1. Identity verification
    3. Communicating with IoT devices
      1. Device-to-cloud messaging
      2. Using direct methods
      3. Using a device twin
    4. Managing and monitoring IoT devices
      1. Using the Azure CLI to monitor devices
    5. Setting up Azure Toolkit in Visual Studio Code
    6. Lab – setting up and monitoring IoT devices
    7. Summary
  9. Chapter 3: Provisioning Devices with the Device Provisioning Service
    1. Device provisioning at scale
    2. Managing device provisioning security concerns
    3. Allocation policies in DPS
    4. Deprovisioning and disenrolling devices
    5. Using the device provisioning SDK
    6. Lab – provisioning devices using DPS
      1. Adding an individual enrollment
      2. Adding group enrollments
      3. Using custom policies for device allocation
    7. Summary
  10. Chapter 4: Exploring Device Management and Monitoring
    1. Introducing device twins
      1. Querying devices using device twins
      2. Updating device properties
    2. Communicating with devices
      1. Cloud-to-device messaging
      2. Direct method calls
    3. Automated device management
    4. Monitoring metrics and logs
    5. Lab – Automating IoT device management
    6. Lab – Creating and testing an alert
    7. Summary
  11. Chapter 5: Securing IoT Systems
    1. End-to-end security for IoT
      1. A use case to exemplify how Azure IoT end-to-end security components work together
    2. Microsoft Defender for IoT
      1. Setting up Microsoft Defender for IoT
    3. Microsoft Defender for Cloud
    4. Lab – creating a security alert
    5. Summary
  12. Part 2: Processing the Data
  13. Chapter 6: Creating Message Routing
    1. Exploring the basics and overall process of message routing
    2. Common use cases for using the built-in endpoint in an IoT hub
    3. Common use cases for using custom endpoints in an IoT hub
    4. Message routing queries
    5. Exploring message enrichment
    6. Lab – using message enrichment and custom endpoints
    7. Summary
  14. Chapter 7: Exploring Azure Stream Analytics
    1. Stream analytics use cases
    2. Inputs and outputs
    3. Stream Analytics query language
    4. Running and monitoring jobs
    5. Lab – detecting anomalies with ASA
    6. Summary
  15. Chapter 8: Investigating IoT Data with Azure Data Explorer
    1. What is Azure Data Explorer?
    2. Ingesting streaming data
    3. Visualizing the streaming data
    4. Lab – creating an ADX dashboard
    5. Summary
    6. Further reading
  16. Chapter 9: Exploring IoT Edge Computing
    1. Azure IoT Edge devices
    2. Deploying an IoT Edge device
    3. Exploring EdgeAgent
    4. Exploring EdgeHub
    5. Computing and storage on the edge
    6. Using an edge device as a gateway
    7. Lab – implementing stream analytics on the edge
    8. Summary
  17. Part 3: Processing the Data
  18. Chapter 10: Visualizing Streaming Data in Power BI
    1. Technical requirements
    2. Introducing Power BI?
    3. Exploring Power BI dashboard basics
    4. Types of real-time datasets
    5. Pushing data into datasets
    6. Displaying real-time visuals
    7. Lab – Creating a real-time streaming dashboard
    8. Summary
  19. Chapter 11: Integrating Machine Learning
    1. Understanding ML basics
      1. Creating an ML algorithm in Azure
    2. What are Azure AI and ML services?
    3. Exploring ML on the edge
    4. Combining IoT with ML
    5. Lab – creating an anomaly detection system
    6. Summary
  20. Chapter 12: Responding to Device Events
    1. Event Grid versus Event Hubs
    2. Understanding Event Grid fundamentals
      1. Event Grid architecture
      2. Event Grid key concepts
    3. Exploring common IoT events
    4. Sending IoT events to Event Grid
    5. Responding to events
    6. Subscribing and responding to IoT Hub events
    7. Lab – monitoring device connection and disconnection with Event Grid
    8. Summary
  21. Index
    1. Why subscribe?
  22. Other Books You May Enjoy
    1. Packt is searching for authors like you
    2. Share Your Thoughts
    3. Download a free PDF copy of this book

Product information

  • Title: The Azure IoT Handbook
  • Author(s): Dan Clark
  • Release date: December 2023
  • Publisher(s): Packt Publishing
  • ISBN: 9781837633616