snappy ubuntu core - amazon s3 · snappy ubuntu core a snappy platform ... snappy transactional...

49
Snappy Ubuntu Core A snappy Platform for Embedded, IoT and 96boards Alexander Sack <[email protected]> Director, Ubuntu Core Ricardo Mendoza <[email protected]> Lead Architect, Ubuntu Core

Upload: phungkien

Post on 01-Apr-2018

243 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

Snappy Ubuntu CoreA snappy Platform for Embedded, IoT and 96boards

Alexander Sack <[email protected]>Director, Ubuntu Core

Ricardo Mendoza <[email protected]>Lead Architect, Ubuntu Core

Page 2: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

Overview

Page 3: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

We are the company behind Ubuntu.

Page 4: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

Commercial Backing for the #1 general purpose Linux OS: Ubuntu

Global Services, Support, Certification!

Canonical and Ubuntu | Best of both worlds

#1 Linux Desktop

#1 Cloud OS

Now also for phones, tablets &

IoT devices

CANONICAL Ubuntu

Page 5: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

1The Devices Revolution!

Page 6: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

The ecosystem is in a race to try new frontiers of connected compute

scenarios around IoT!

Page 7: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap
Page 8: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap
Page 9: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

It has never been easier to make a custom hardware appliance...

Page 10: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

Building an IoT Appliance

1. Take a 96board2. Add IoT components3. Design a cool chassis/box4. Make the software5. Call an ODM and ship it!

Page 11: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

It has never been easier to solve the challenges for making smart devices

using open source components!

Page 12: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

Building a Smart IoT M2M Device

1. Take a 96board reference stack2. integrate existing open-source software3. Glue and write new!

Page 13: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

Good NewsThe Open Source community has these

days solutions for almost everything you can imagine!

Page 14: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

2But why...

Page 15: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

... do many device innovations run out of funding before they can get tested in the

market?

Page 16: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

... is it hard for device manufacturers to make enough money to provide the

"luxury" of timely and automated security updates?

Page 17: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

... is it challenging for SoC providers to offer product builders supported

software that can be directly used in products at scale?

Page 18: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

... do devices we have at home for a while not have the latest software features

found in current gen devices?

Page 19: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

IT SEEMS IT IS ...... too complex to make a product!

... too hard to add features to products!... too pricey to provide security updates!

... too limited collaboration and reuse

Page 20: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

3What if...

Page 21: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

A device builder can focus on investing in just the device experience instead of

having to solve everything that it takes to make, ship and maintain a linux based

product?

Page 22: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

A device builder roll software updates to devices in the field with ease and confidence as often as needed?

... just like the Apples, Googles and Ubuntu's of this world?

Page 23: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

A device builder add features to your devices already in the field at any time without having to convince the user to

flash a firmware?

Page 24: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

A device builder could rely on others taking care of enabling the hardware

platform and keeping the kernel and OS secure?

Page 25: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

There was a ready to use factory process for your software stack!

Page 26: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

You could collaborate and reuse in an ecosystem of hardware manufacturers,

software and service providers?

Page 27: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

What if...There would be an OS platform that is optimized for building, shipping and

maintaining device products that would solve those problems and more for you?

Page 28: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

4Snappy Ubuntu Core

Page 29: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

Amazing developer experience with snapcraft to build from source

Ubuntu Core with snappy transactional updates

Applications confined by Canonical’s AppArmor kernel security system

Safe, reliable, worry free updates with tests and rollback

Easily extensible with frameworks

Perfect for the smartest IoT

Snappy Ubuntu Core

AppReady

Page 30: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

Snappy System makes updates easy and safe

Snap v2 testedSnap v2 newSnap v1

currentSnap v2currentupdate test

Current: Updates to a system is a high risk operation that you rather want to avoid

Snappy: Updates to your devices in the field is convenient and can be done with confidence just like done by the Apples, Googles and Ubuntu's

Snappy Platform: enables device builders to implement a modern update strategy:update through store, canary testing in field; phased updates; auto rollback

rollback

confirm

Page 31: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

classic device

kernel snap

snappy devices

os snap

snapsnap

kernel config

os writable files

app writable area

app writable areaany package can

write to any file

read-only snaps

writable spaces per snap

filesystem

Page 32: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

The end of 'one size fits all' Leverage a single HW platform for multiple purposes

Ubuntu Core

Certified HW Support

Snappy Ubuntu Home Router Appliance

Ubuntu Core

Digital Signage Agent Snap Display

Framework

Certified HW Support

Snappy Ubuntu Digital Signage Appliance

Ubuntu Core

Browser Snap

Display Framework

Certified HW Support

Snappy Ubuntu Browsing Appliance

Browser Snap Device

Mgmt Snap OpenWRT

Framework

Router Admin UI

Page 33: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

Iotivity

The end of the 'early device death' Add value to devices already in the field

Ubuntu Core

Certified HW Support

Snappy Ubuntu Home Router Appliance

Device Mgmt Snap OpenWRT

Framework

Router Admin UI

Ubuntu Core

Certified HW Support

Snappy Ubuntu Home Router Appliance w/ Store

Device Mgmt Snap OpenWRT

Framework

Router Admin UI

Parental Control

StoreWebDM

Ubuntu Core

Certified HW Support

Snappy Ubuntu Home Router Appliance w/ IoT

Device Mgmt Snap OpenWRT

Framework

Router Admin UI

Store WebDM

Page 34: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

Snappy Factory StoryAnother Problem you don't want to solve...

Page 35: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

Snappy StoreLong Lasting Value and Revenue out of "Device Real Estate"

Page 36: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

kernel snap

os snap

app snapapp snap

app writable area

app writable area

Snappy enables all systems to have large scale app ecosystem without compromising on security

For that all snaps run in their very own contained & isolated and sandbox

Snappy provides a framework that surfaces apparmor, seccomp and container technology in a very easy to manage manner

app snap

app writable area

app snap

app writable area

Snappy - Sandboxing for an "App Ready Device"

Page 37: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

kernel snap

os snap

snap

snap writable area

Snappy surfaces sandboxing features available in Linux to the app developer and system builder as interfaces.

Interfaces allow snap to export and consume features and hw-resources that would otherwise be unreachable in other snaps

Interfaces get assigned by system builder, by user interactively or automatically

Interfaces help find suitable software in the store!

snap

snap writable area

slot: iface3

plug: iface1 iface2

plug: iface1 iface3

slot: iface1 iface2

Snappy Sandboxes & Interfaces

Page 38: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

5Snappy Ubuntu Core and 96boards

Page 39: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap
Page 40: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap
Page 41: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

+

Page 42: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

Kernel snap as the core to build upon

Gadget snap differentiates your product

One unified application ecosystem

Page 43: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

Kernel Snap

hikey-gadget

bbgum-gadget

db410c-gadget

Page 44: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

Kernel Snap

drone-gadget

bbgum-gadget

router-gadget

Page 45: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

Mix and match ecosystem: kernels, gadgets and applications

Single tool for image creation, generic instructions to deploy

Abstract away the platform details (ptable, bootloaders, blobs)

Concentrate on your software solution

Collaboration in the developer community

Page 46: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

How does this look on the Dragonboard?

Page 47: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

6Demo and Q/A

Page 48: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

Getting Started

http://developer.ubuntu.com/en/snappy/start

Docs:http://www.ubuntu.com/thingshttp://developer.ubuntu.com/snappy

Github:http://www.github.com/ubuntu-core

Mailing Lists:[email protected]@lists.ubuntu.com

IRC:#snappy on irc.freenode.net

Page 49: Snappy Ubuntu Core - Amazon S3 · Snappy Ubuntu Core A snappy Platform ... snappy transactional updates ... Long Lasting Value and Revenue out of "Device Real Estate" kernel snap

ubuntu.com/snappy