Software startup Resin.io has announced its Series A investment round, this week. The company hopes to target the emerging device management market for IoT devices, and bringing the familiar look and feel of web and mobile development to embedded experts.
Device management itself is simultaneously quite straightforward and staggeringly complicated if/when things go wrong. In theory, a device with an internet connection should be simple to remotely manage, provision, and update – but this is almost never the case, or if it ever is, is usually short-lived.
And that’s a problem for IoT devices. Many deployments will rely on a business model that requires little to no man-hours for upkeep. If hundreds or thousands of devices suddenly need a new firmware flashed to them due to a deep-seated vulnerability akin to Heartbleed, then suddenly, hundreds or thousands of devices require human intervention – something that cannot scale.
It’s not just truck-roll for battery swaps or USB-drives full of emergency code that can’t scale. Without extensive automation, rolling out regular and expected software updates to IoT devices is going to get very messy, very quickly. That’s where Resin.io comes in.
The software company’s president, Bryan Hale, told us that the copany was well aware that its description is buzzword-heavy. But IoT DevOps (Development Operations) is an apt means of explaining Resin’s focus – providing a software and cloud environment that enables the fast, iterative, development culture of DevOps, typically seen in web and cloud development, to be used for IoT projects.
Hale argues that OTA updates are no longer enough, and that IoT projects need a full lifecycle management suite. Resin is coming at this from the hardware angle, writing software that sits on the single-board Linux computers that the company is currently targeting.
Resin closed its Series A funding round on Monday, with GE Ventures, Ericcson, Aspect Ventures, and Draper Fisher Jurvetson (DFJ) investing a total of $9m. The company, comprised of 25 staff (predominantly coders), distributed across 10 countries, will be using the cash to scale.
Hale recalled taking on the task of managing a deployment of networked waste bins in London, in the company that would eventually become Resin, which were equipped with i7 CPUs, a WiFi hotspot, and digital signage– which should have been more than enough power to use for remote management tools and systems.
But Hale said that the nightmare of fleet-management quickly set in, and the team was forced to individually visit each bin to install updates – pulling up chairs from nearby bars and accessing the terminal using wireless keyboards.
The lesson learned was that code needs to be as easy to push to hardware as it is to servers – and that the tools to do so need to be available to the comparatively low number of embedded developers out there. Hale said that while web developers and mobile devs numbered 8m and 9m respectively, there are only around 600,000 embedded developers – which doesn’t bode well for the IoT if that limited resource begins being taxed by endless disaster recovery and roll-back tasks.
As such, Resin hopes to provide these capabilities as a service, and charge developers for providing the toolkit needed to keep their devices online. The single-board computers that Resin is targeting will require Yocto Linux to be installed, and currently there are 12 off-the-shelf boards that Resin supports.
The Linux platform allows Resin to use the Docker Container Engine, which allows Yocto to house applications within sectioned-off portions of the system. Containers are typically used to provide better security and uptime, as a container is (in theory) a self-contained instance – so that if it is compromised, nothing can creep out into the wider OS, or that if it freezes up, it doesn’t brick the whole OS.
The container approach is similar to what Ubuntu is aiming to do with its Ubuntu Snappy Core. Canonical is also pushing Snappy as a means of providing updates in a similar manner as Resin, and Hale admits that there is overlap between the two. Docker is very popular among servers, which might help it bridge the divide between server and end-device, and Resin was also a founder of the Open Container Initiative.
In a live demo, which we witnessed over the web, we saw a suite of 8 Raspberry Pis have a software update pushed to them from a web dashboard. When the on-screen logos of the Pis changed, we saw the change take place at the hardware level, while paying attention to the web-dashboard that was allowing the user to push the new software build to the machines.
Resin uses Git Server for this, meaning that a user can submit their code to GitHub and then push it onwards to the devices with a single terminal entry. The Resin unicorn that appears in the command line after a successful deployment is a powerful sales tool, according to Hale, as potential adopters are able to see how straightforward the process can be.
Hale added that the adoption of Linux containers remains key to ecosystem, as collectively they represent the first time that developers can properly do virtualization in embedded hardware. He notes that anything you can do in a Docker container, you can do on Resin.