Here is a hands-on for assessing the Off-the-Shelf v/s Custom Built, IoT portal approach. This IoT video tosses some light on parameters like Per Unit Cost, Hardware, Prototype Development, IP Ownership and then some. https://www.embitel.com/blog/embedded-blog/video-the-curious-case-of-off-the-shelf-vs-custom-built-iot-gateway