Skip to main content
main-content
Top

About this book

Discover how every solution in some way related to the IoT needs a platform and how to create that platform. This book is about being agile and reducing time to market without breaking the bank. It is about designing something that you can scale incrementally without having to do a lot of rework and potentially disrupting your current state of the work.
So the key questions are: what does it take, how long does it take, and how much does it take to build your own IoT platform? Build Your Own IoT Platform answers these questions and provides you with step-by-step guidance on how to build your own IoT platform. The author bursts the bubble of IoT platforms and highlights what the core of an IoT platform looks like. There are must-haves and there are nice-to-haves; this book will distinguish the two and focus on how to build the must-haves.
Building your own IoT platform is not only the biggest cost saver, but also can be a satisfying learning experience, giving you control over your project.
What You Will LearnArchitect an interconnected system
Develop a flexible architecture
Create a redundant communication platform
Prioritize system requirements with a bottom-up approach

Who This Book Is For
IoT developers and development teams in small- to medium-sized companies. Basic to intermediate programming skills are required.

Table of Contents

Chapter 1. So… You Want to Build Your Own!

Abstract
It’s good that you are keen on building your own IoT platform, or at least you are interested about knowing what it takes to build one. For either reason, it is important to understand what an IoT platform essentially means in the general sense. First, let’s look at what IoT means.
Anand Tamboli

Chapter 2. The Building Blocks of an IoT Solution

Abstract
The overall hype around IoT has unexpectedly hindered the understanding of how it works. If you ask 20 people about how it works, you will get 20 answers. Most of those answers would cover how outcomes of IoT or manifested IoT solutions work; not the way IoT works. There is a lot of technology under the hood that makes IoT possible.
Anand Tamboli

Chapter 3. The Essentials for Building Your Own Platform

Abstract
Before we start the core activity of building the platform, it is important to lay down a solid foundation. This will not only keep our platform scalable and solid in the long run, but it will also help us to clearly articulate current and future technical requirements. In this chapter, we will
Anand Tamboli

Chapter 4. Let’s Create Our Platform Wish List

Abstract
Although it may be easier to work as we go, having the requirements defined in advance (as many as possible) will help us create the required platform fabric faster and more efficiently.
Anand Tamboli

Chapter 5. Here We Go!

Abstract
With the wish list of requirements and a detailed understanding of the block-level architecture of our IoT platform, it is time to kick off the work.
Anand Tamboli

Chapter 6. The Message Broker

Abstract
In Chapter 4, we chose MQTT as our messaging protocol. We are going to use the Mosquitto program as a broker for this purpose. In this chapter, we elaborate more on MQTT and cover the following:
Anand Tamboli

Chapter 7. Building the Critical Components

Abstract
We began our IoT platform-building journey with the end in mind. That is, we first conceived what our own IoT platform would be like and its high-level contents (refer to Figure 3-1 in Chapter 3). So far, we have established a fully functional cloud instance and the message broker.
Anand Tamboli

Chapter 8. Configuring the Message Broker

Abstract
Until now, the message broker and the cloud instance were in a functional state. We added core capabilities to our IoT platform with data access APIs. In this chapter, we modify the configuration of our MQTT broker and make it more useful, especially from an interoperability point of view. In this chapter, we will
Anand Tamboli

Chapter 9. Creating a REST Interface

Abstract
Since we are ready with the foundation for building meaningful APIs on top of it, in this chapter, we will
Anand Tamboli

Chapter 10. Rule Engine and Authentication

Abstract
The rule engine is one of the most powerful blocks of our IoT platform or any IoT platform in general. The fact that anything happening in the connected environment of an IoT platform can trigger something else to happen makes the rule engine a critical block.
Anand Tamboli

Chapter 11. Documentation and Testing

Abstract
Good documentation accelerates the development and consumption of the developed resources. It also reduces the money and time that would otherwise be spent in answering support calls. The documentation is usually considered part of the overall user experience. Complete and accurate documentation is always a key to saving resources and improving the efficiency and effectiveness of API usage.
Anand Tamboli

Chapter 12. What We Built and the Takeaways

Abstract
What we did in last the 11 chapters has always been painted as a hazy picture by many—only to prevent people from taking charge and building their own platform as they deemed fit. As any sane person would do, we started by learning the landscape of the Internet of Things and then slowly delved into the specifics of it.
Anand Tamboli
Additional information