Create an IoT network

Using Docker, Mosquitto and NodeJS by Craig Pickard

Intro

This four-part series will walk you through setting up your own IoT (Internet Of Things) network using the Syntropy Stack. Your services (applications) will be running on three separate Virtual Machines (VMs) spread out across the internet. They’ll be communicating over MQTT - the protocol that forms the backbone of all modern IoT infrastructure and enables billions of devices to communicate with each other in real-time. Our basic network is comprised of three nodes: A Broker, Publisher, and Subscriber. All our services and applications will be containerized (ie. running as Docker containers).
Each post in this series uses the same core technologies to create an identical network. These core technologies include:

Each subsequent chapter will further explore the functionality of the Syntropy Stack, as well as additional technologies we can use to augment and automate our workflow. The contents of the upcoming chapters are as follows:

Chapters

Part 1

Accessing and configuring your VMs manually, launching your apps with docker-compose, and creating your network using the Syntropy UI. Read here

Part 2

Using Ansible to automate the provisioning of the VMs, deploy the services, and for creating the network. Read here

Part 3

Provisioning your VMs with Ansible and creating your network manually using the Syntropy CTL (Computational Topology Library) command line utility. Read here

Part 4

Using the Docker CLI to launch our services manually and the Syntropy NAC (Network As Code) command line utility to create our network. Read here

Author

Craig Pickard is Syntropy Enthusiast and Creative Technologist, based in Brooklyn NY. My interests span hardware, software, and cloud computing https://craigpickard.com/