We recently completed an internet of things (iot) project that allowed users to provision a controller using HMI (Human Machine Interface) that was hosted within a Azure Kubernetes Services (AKS) cluster. This allowed engineers to setup a controller before they went to the field to configure it. The controller HMI in the cloud was connected using Azure iot hub to on premise controller hardware that contained a PostgreSQL database. The controller PostgreSQL database in the controller hardware was the master, which would keep data in a remote PostgreSQL cloud database via events. More details can be found here.