Azure IoT Development Cookbook

Book description

Over 50 recipes to drive IoT innovation with Microsoft Azure

About This Book

  • Build secure and scalable IoT solutions with Azure IoT platform
  • Learn techniques to build end to end IoT solutions leveraging the Azure IoT platform
  • Filled with practical recipes to help you increase connectivity and automation across IoT devices

Who This Book Is For

If you are an application developer and want to build robust and secure IoT solution for your organization using Azure IoT, then this book is for you.

What You Will Learn

  • Build IoT Solutions using Azure IoT & Services
  • Learn device configuration and communication protocols
  • Understand IoT Suite and Pre-configured solutions
  • Manage Secure Device communications
  • Understand Device management, alerts
  • Introduction with IoT Analytics, reference IoT Architectures
  • Reference Architectures from Industry
  • Pre-Configured IoT Suite solutions

In Detail

Microsoft's end-to-end IoT platform is the most complete IoT offering, empowering enterprises to build and realize value from IoT solutions efficiently. It is important to develop robust and reliable solutions for your organization to leverage IoT services.

This book focuses on how to start building custom solutions using the IoT hub or the preconfigured solution of Azure IoT suite. As a developer, you will be taught how to connect multiple devices to the Azure IoT hub, develop, manage the IoT hub service and integrate the hub with cloud. We will be covering REST APIs along with HTTP, MQTT and AMQP protocols. It also helps you learn Pre-Configured IoT Suite solution.

Moving ahead we will be covering topics like:-Process device-to-cloud messages and cloud-to-device messages using .Net-Direct methods and device management-Query Language, Azure IoT SDK for .Net-Creating and managing, Securing IoT hub, IoT Suite and many more. We will be using windows 10 IoT core, Visual Studio, universal Windows platform. At the end, we will take you through IoT analytics and provide a demo of connecting real device with Azure IoT.

Style and approach

A set of exciting recipes of using Microsoft Azure IoT more effectively.

Table of contents

  1. Preface
    1. What this book covers
    2. What you need for this book
    3. Who this book is for
    4. Sections
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
      5. See also
    5. Conventions
    6. Reader feedback
    7. Customer support
      1. Downloading the example code
      2. Downloading the color images of this book
      3. Errata
      4. Piracy
      5. Questions
  2. Getting Started with the Azure IoT Platform
    1. Introduction
      1. Getting started with the Microsoft Azure IoT platform
        1. Components of the IoT platform
        2. Microsoft Azure IoT platform
    2. Creating Azure IoT Hub from the portal
      1. Getting ready
      2. How to do it...
    3. Creating Azure IoT Hub from the Command Prompt
      1. How to do it...
    4. Creating Azure IoT Hub from PowerShell
      1. How to do it...
    5. Understanding the Azure IoT Suite
      1. How to do it...
      2. How it works...
        1. Pre-configured solutions
    6. Using Azure IoT SDK
      1. Getting ready
      2. How to do it...
      3. See also
    7. Calculating the pricing of IoT Hub
      1. Getting ready
      2. How to do it...
      3. There's more...
      4. See also
  3. Introducing Device Management
    1. Introduction
      1. Understanding IoT Hub endpoints
    2. Device registry operations
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
    3. Device twins
      1. How to do it...
      2. How it works...
      3. There's more...
    4. Device direct methods
      1. How to do it...
      2. How it works...
    5. Device jobs
      1. How to do it...
      2. How it works...
      3. There's more...
    6. IoT Hub query explorer
      1. How to do it...
      2. There's more...
  4. IoT Hub Messaging and Commands
    1. Introduction
    2. Messaging - device-to-cloud
      1. How to do it...
      2. How it works...
      3. There's more...
      4. See also
    3. Processing device-to-cloud messaging
      1. How to do it...
      2. How it works...
      3. There's more...
    4. Messaging - commands and control
      1. How to do it...
      2. How it works...
    5. File uploads with IoT Hub
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
    6. Device firmware updates
      1. How to do it...
      2. How it works...
  5. Azure IoT Communication Protocols
    1. Introduction
    2. Hyper Text Transfer Protocol Secure (HTTPS)
      1. How to do it...
      2. How it works...
    3. Advanced Message Queuing Protocol (AMQP)
      1. How to do it...
      2. How it works...
    4. Using AMQP library to communicate with IoT Hub
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Message Queuing Telemetry Transport Protocol (MQTT)
      1. Getting started
      2. How to do it...
      3. How it works...
      4. There's more...
    6. IoT protocol gateway
      1. Getting started
      2. How to do it...
      3. How it works...
      4. There's more...
    7. Using MQTT .NET library to communicate with IoT Hub
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
    8. Connecting IoT Hub using MQTT client tools
      1. Getting ready
      2. How to do it...
      3. How it works...
    9. How to choose between protocols
      1. Getting ready
      2. How do it...
      3. How it works...
  6. Azure IoT Hub Security and Best Practices
    1. Introduction
    2. Securing a device with IoT Hub
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
    3. Securing a communication
      1. Getting ready
      2. How to do it...
      3. There's more...
    4. IP filtering with IoT Hub
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
    5. IoT Hub access rights
      1. Getting ready
      2. How to do it...
      3. How it works...
    6. Security best practices
      1. How to do it...
      2. There's more...
  7. IoT Suite and Pre-Configured Solutions
    1. Introduction
    2. Creating a Pre-configured solution
      1. Getting ready
      2. How to do it...
      3. How it works...
    3. IoT Suite remote monitoring
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    4. IoT Suite predictive maintenance
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    5. IoT Suite connected factory
      1. Getting ready
      2. How to do it...
      3. How it works...
    6. Customizing an IoT Suite
      1. How to do it...
      2. How it works...
      3. There's more
  8. Azure IoT Analytics
    1. Introduction
      1. Understanding the Azure IoT lifecycle
        1. IoT solution lifecycle
        2. Components of the IoT solution lifecycle
    2. Connecting IoT Hub with Stream Analytics
      1. Getting ready
      2. How to do it...
    3. Real-time dashboard reports for IoT data using Power BI
      1. Getting ready
      2. How to do it...
      3. There's more...
    4. Azure Time Series Insights
      1. Getting ready
      2. How to do it...
    5. IoT Edge analytics using a simulator
      1. Getting ready
      2. How to do it...
    6. Real-time alerts with Azure functions
      1. How to do it...
      2. There's more...
  9. Using Real Devices to Connect and Implement Azure IoT Hub
    1. Install Windows IoT Core on Raspberry Pi
      1. Getting ready
      2. How to do it...
      3. There's more...
    2. Connect and configure IoT Core on Raspberry Pi
      1. Getting ready
      2. How to do it...
      3. There's more...
    3. Demo - smart parking
      1. Getting ready
      2. How to do it...
      3. How it works...
    4. Demo - temperature and humidity
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Using an online Raspberry Pi simulator
      1. How to do it...
  10. Managing the Azure IoT Hub
    1. Introduction
    2. Device explorer for the Azure IoT Hub
      1. Getting ready
      2. How to do it...
    3. Using the IoT Hub command-line tool
      1. How to do it...
      2. There's more...
    4. IoT Hub operation monitoring
      1. Getting ready
      2. How to do it...
      3. There's more...
      4. See also
    5. The diagnostic metrics of the Azure IoT Hub
      1. How to do it...
    6. Scaling your IoT Hub solution
      1. Getting ready
      2. How to do it...
      3. There's more...

Product information

  • Title: Azure IoT Development Cookbook
  • Author(s): Yatish Patil
  • Release date: August 2017
  • Publisher(s): Packt Publishing
  • ISBN: 9781787283008