Hands-On Edge Analytics
with Azure IoT
Design and develop IoT applications with edge analytical solutions including Azure IoT Edge
Colin Dow
BIRMINGHAM - MUMBAI
Hands-On Edge Analytics with Azure IoT
Copyright 2020 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author(s), nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
Commissioning Editor: Sunith Shetty
Acquisition Editor: Devika Battike
Content Development Editor: Athikho Sapuni Rishana
Senior Editor: Roshan Kumar
Technical Editor: Manikandan Kurup
Copy Editor: Safis Editing
Project Coordinator: Aishwarya Mohan
Proofreader: Safis Editing
Indexer: Tejal Daruwale Soni
Production Designer: Aparna Bhagat
First published: May 2020
Production reference: 1200520
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham
B3 2PB, UK.
ISBN 978-1-83882-990-2
www.packt.com
I would like to thank my wife, Constance, for her encouragement, support, and assistance; and my sons, Maximillian and Jackson, for their inspiration and optimism. I am forever grateful to them for this unique opportunity.
Colin Dow
Packt.com
Subscribe to our online digital library for full access to over 7,000 books and videos, as well as industry leading tools to help you plan your personal development and advance your career. For more information, please visit our website.
Why subscribe?
Spend less time learning and more time coding with practical eBooks and Videos from over 4,000 industry professionals
Improve your learning with Skill Plans built especially for you
Get a free eBook or video every month
Fully searchable for easy access to vital information
Copy and paste, print, and bookmark content
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.packt.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at customercare@packtpub.com for more details.
At www.packt.com , you can also read a collection of free technical articles, sign up for a range of free newsletters, and receive exclusive discounts and offers on Packt books and eBooks.
Contributors
About the author
Colin Dow is the author of the Packt book Internet of Things Programming Projects. He is also the owner and chief engineer of Sigma Rockets and Aerospace Inc, a model aerospace business. He has enjoyed working with numerous educational facilities and hobbyists in delivering product sales, presentations, and aerospace workshops over the years. He has extensive experience in creating website content, educational documentation, and instructional videos. He has been a programmer since early home computers first caught his eye. He has worked as a software developer for some of Canada's largest companies using technologies such as Python, Java, J2EE, PHP, Pearl, Ruby on Rails, Apache, SOAP web services, and many more.
About the reviewers
Parkash Karki is a principal architect, product development manager, DevOps and cloud practice head, and hardcore IoT enthusiast with years of experience in the IT field. His past experience is mainly in various Microsoft and open source technologies with a current primary focus on DevOps, automation, and the cloud. He has been working on these technologies since they were at quite an early stage. He has contributed to a few other books on IoT as a technical reviewer. He is very passionate about IoT, automation, and AI technologies and keeps on reading, blogging, and trying out different things in these areas.
Yatish Patil works with Saviant Consulting as a program manager. He has delivered enterprise IoT and analytics applications using Microsoft Azure. He has diverse industry experience in IT and has worked in a variety of domains, such as utilities, manufacturing, and engineering. He has completed the Microsoft Azure IoT certification and is the author of Azure IoT Development Cookbook, which focuses on the end-to-end Microsoft Azure IoT platform and pre-configured solutions. He was also the technical reviewer for the book Microsoft Azure IaaS Essentials and Enterprise Internet of Things Handbook. Yatish was among the industry speakers at India IoT Symposium 2016 and delivered a session on remote asset monitoring with Azure IoT Suite.
Packt is searching for authors like you
If you're interested in becoming an author for Packt, please visit authors.packtpub.com and apply today. We have worked with thousands of developers and tech professionals, just like you, to help them share their insight with the global tech community. You can make a general application, apply for a specific hot topic that we are recruiting an author for, or submit your own idea.
Preface
Edge analytics has gained attention as the IoT model for connected devices and is rising in popularity. This guide will give you insights into edge analytics as a data analysis model, and why it's gaining momentum.
You'll begin with the key concepts and components used in an edge analytics app. You'll then delve into communication protocols to understand how sensors send their data to computers or microcontrollers. Next, the book will demonstrate how to design modern edge analytics apps that take advantage of the processing power of modern single-board computers and microcontrollers. Later, you'll explore Microsoft Azure IoT Edge, MicroPython, and the OpenCV visual recognition library. As you progress, you'll cover techniques for processing and AI functionality from the server side to the sensory side of IoT. You'll even explore how to design a smart doorbell system using the technologies you will have learned about. To remove vulnerabilities in the overall edge analytics architecture, you'll discover ways to overcome security and privacy challenges. Finally, you'll use tools to audit and perform real-time monitoring of incoming data and generate alerts for the infrastructure.
Next page