Athens IoT Meetup #1 - Resin.io (Petros Angelatos)

11
24/03/2014 v1.5.1 development & deployment for connected devices, made simple

Transcript of Athens IoT Meetup #1 - Resin.io (Petros Angelatos)

Page 1: Athens IoT Meetup #1 - Resin.io (Petros Angelatos)

24/03/2014 v1.5.1

development & deployment for connected devices, made simple

Page 2: Athens IoT Meetup #1 - Resin.io (Petros Angelatos)

The team behind Resin.ioOutreachOperations Business

Sales Engineering

Core EngineeringDevices & OS

Page 3: Athens IoT Meetup #1 - Resin.io (Petros Angelatos)

More powerful devices, more complex software

Embedded software now demands the full lifecycle supportwe’ve been giving to web, cloud, and mobile.

Page 4: Athens IoT Meetup #1 - Resin.io (Petros Angelatos)

Software for devices is a nightmare

● Devops skill needed for simplest

projects

● Finding the device on the network

● Installing and managing an OS

● On-device compilation incredibly slow

● Cross compilers very complex to set up

● Painfully long iteration cycles

● A misstep can brick the device, causing

frustration & delay

● Setting up Command & Control

servers in the cloud

● Hard to reach devices

● Home-brewed update systems

● Easy to brick a device in the field

● Software rollouts taking weeks

● Many opt to never update, or

require physical presence (very

expensive)

● Outdated operating systems

● Unprotected or compromised

networks

● Need to secure update system

● Device theft exposes data

● MITM attacks

● Hacked hardware is a PR

disaster

Development Production Security

Programing for the cloud has surged ahead, but we program devices (“firmware”) like we did in the 80’s.

Page 5: Athens IoT Meetup #1 - Resin.io (Petros Angelatos)

We’ve been thereWe’ve been supporting a network with hundreds of screens in 5 countries, for two years.

We’ve had to go out on weekends, in the snow, with drills and USB sticks, upgrading software.

We spent a lot of resources on infrastructure that had little to do with our specific application.

Resin.io is the platform we wished we had.

Page 6: Athens IoT Meetup #1 - Resin.io (Petros Angelatos)

Leaders invest in best practices, others suffer the consequences

Browsers and smartphones update often, mostly without

explicit permission. Users accept this as

beneficial.

GM and Toyota have had to recall millions of vehicles for software updates in 2014. Tesla Motors issued over the air updates instead.

Nest thermostats shipped with an inactive zigbee antenna since 2011. In 2013 they were updated to integrate with Nest’s new smoke

detector.

NASA sent new software to the Curiosity rover while it was

flying to Mars. Upon landing, the new software was installed.

The rover now runs the 11th version of its code.

Page 7: Athens IoT Meetup #1 - Resin.io (Petros Angelatos)

Hardware

Operating system

Execution environment

End-to-end security

Monitoring, command & control

Cross-compilation

Code deployment

Application

The solution

takes care of the rest

what developers

focus on

Resin.io brings mature cloud development tools to the Internet of Things.

Page 8: Athens IoT Meetup #1 - Resin.io (Petros Angelatos)

How it works: adding devices

1 2 3Downloadresin.io image

Write image to device(s)

Connect and power up device(s)

The device automatically registers on the network and appears on the users’ app dashboard

Page 9: Athens IoT Meetup #1 - Resin.io (Petros Angelatos)

How it works: code deployment

Page 10: Athens IoT Meetup #1 - Resin.io (Petros Angelatos)

On-device software architecture

● All containers update safely and reversibly. Our own agent (Supervisor) runs in its own container

● Layers shared between containers are stored only once

● Docker and Yocto userspace update using conventional methods

● All software projects we depend on are under open source licenses

The Vision: 100% updateable

Page 11: Athens IoT Meetup #1 - Resin.io (Petros Angelatos)

Get in touch: Petros Angelatos// [email protected] // +44(0)7506915517

Questions?