Snap your App! Ted Texas Linux Fest

Slides:



Advertisements
Similar presentations
Content Overview Virtual Disk Port to Intel platform
Advertisements

Virtual Machine Technology Dr. Gregor von Laszewski Dr. Lizhe Wang.
Media Player for the i.MX31 Advanced Embedded Systems Architecture Class Project May 14, 2011 Rafael Castro Ryan Ugland Carlos Cabral.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 8 Introduction to Printers in a Windows Server 2008 Network.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
Cisco and OpenStack Lew Tucker VP/CTO Cloud Computing Cisco Systems,
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
Linux Operations and Administration
Windows Azure Conference 2014 Running Docker on Windows Azure.
Introducing… …taking desktop computing to the cloud making business effortless!
Model a Container Runtime environment on Your Mac with VMware AppCatalyst VMworld Fabio Rapposelli
Presented By: Muhammad Tariq Software Engineer Android Training course.
1 What is a Kernel The kernel of any operating system is the core of all the system’s software. The only thing more fundamental than the kernel is the.
COMS E Cloud Computing and Data Center Networking Sambit Sahu
City College of New York 1 Player Stage Gazebo Rex Wong CCNY Robotic Lab A robotic research and development environment.
1 Copyright © 2015 Pexus LLC Patriot PS Personal Server Installing Patriot PS ISO Image on.
Intro to Datazen.
Virtualization Technology and Microsoft Virtual PC 2007 YOU ARE WELCOME By : Osama Tamimi.
SCI-BUS is supported by the FP7 Capacities Programme under contract nr RI CloudBroker usage Zoltán Farkas MTA SZTAKI LPDS
Intro To Virtualization Mohammed Morsi
1 Policy Based Systems Management with Puppet Sean Dague
ClickOnce Deployment (One-click Deployment)
Daniel, Stephen & Thomson
Mobile Device Development
Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010
Operating System Kernel Compilation
SmartCenter for Pointsec - MI
Android Mobile Application Development
Virtualization for Cloud Computing
RASPBERRY PI WORKSHOP.
Section 4 Block Storage with SES
Let's talk about Linux and Virtualization in 'vLAMP'
Stress Free Deployments with Octopus Deploy
Snap your App! Ted Ubucon
Breaking Up is Hard to Do
application into a Flatpak
Supporting Windows 8.1 Krystle Portocarrero | Training Experts Inc.
People used to install software on their computers
Data Virtualization Demoette… ADO.NET Client
Virtualization with libvirt Kashyap Chamarthy
Java on the LEGO Mindstorms EV3
Docker – kontejnerizacija na serveru Vedran Vučetić, SPAN
Ubuntu Touch Internals
Containers and Virtualisation
3.2 Virtualisation.
Containers in HPC By Raja.
Contact hp | contact hp support |contact hp technical support | hp contact number |hp support contact number |hp support phone number.
More Scripting & Chapter 11
Virtual Machines.
Group 8 Virtualization of the Cloud
Newness and Coolness in Configuration MANAGER
Fix Bitdefender Antivirus Error 2001 Give a Ring on: Bitdefender Support Number.
Introduction to Docker
Operating System Kernel Compilation
Lesson #7 MCTS Cert Guide Microsoft Windows 7, Configuring Chapter 7 Configuring Devices and Updates.
11/23/2018 3:03 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Chapter 2: The Linux System Part 1
Brandon Hixon Jonathan Moore
Microsoft Virtual Academy
Android Developer Fundamentals V2
Internet and Web Simple client-server model
An introduction to the Linux environment v
Different types of Linux installation
Best practices for packaging and distributing device drivers
OpenStack Summit Berlin – November 14, 2018
Azure Container Service
Operating System Kernel Compilation
ClickOnce Deployment (One-click Deployment)
Download the PPT and code from github as below
Containers on Azure Peter Lasne Sr. Software Development Engineer
Presentation transcript:

Snap your App! Ted Gould ted@canonical.com @tedjgould Texas Linux Fest 21 Aug 2015

The Plan Give instructions on getting Snappy installed Talk about Snappy Give instructions on downloading demo Talk about building apps for Snappy Build an app for Snappy

QEMU (Virtual Machine Manager) $ sudo apt-get install qemu-kvm ubuntu-virt- mgmt python-spice- client-gtk $ kvm-ok

Snappy Image $ wget http://releases.ubuntu.com/15.04/ubuntu- 15.04-snappy-amd64-generic.img.xz $ unxz ubuntu-15.04-snappy-amd64- generic.img.xz

Test It! $ kvm -m 512 -redir :8090::4200 -redir :8022::22 ubuntu-15.04-snappy-amd64- generic.img $ ssh -p 8022 ubuntu@localhost

Play with it!

Ubuntu Debian based (package format and policies) Regular Releases Updated via Apt

Ubuntu Phone Click Applications System Image Updates

Why Click? Millions Thousands

Leaves are Simpler Single Dependency

Click App Ubuntu Touch

Reviewers Don't Scale

Why Image Based Updates? Binary: Works or it doesn't Provides opportunity to rollback Simple testable states

— Us, acting cooler than we actually are “Let's Take Ubuntu Phone all the way to 11!” — Us, acting cooler than we actually are

Snappy Ubuntu Core Transactional Updates Snap based Apps Snap frameworks OS snap

App App App App Framework Snappy Ubuntu Core Gadget Hardware Abstraction

Hardware Abstraction Provided by board vendors Allows for custom drivers and config

“Gadget” Snap Per-device configuration Snaps to install Permissions Branding

Framework Snaps Provide shared services Mediate resources IPC to Apps Mir System Compositor

Why snap? (not click) Click v2.0 Click only for leaf nodes Support for OS and framework snaps Lower level components

Cloud Internet Of Things Corp IT Consumer Devices

Trend: Internet of Things Smaller computers Internet connectivity Full OS resources Must be reliable

Trend: Consumer Devices More complex interactions Bullet-proof experience Complex security situations

Trend: Corporate/Education IT Verifiable Images Upgrades don't cause downtime Limited apps and app permissions

Trend: Cloud and Containers Small base OS (JeOS) Unit of specialized code Tested as a unit

Snappy Store

Store Story: Erle Robotics

Store Store: Networking

Try it today! http://ubuntu.com/snappy

Progress Check-In

Import into VMM $ sudo cp ubuntu-15.04-snappy-amd64-generic.img /var/lib/libvirt/images/ $ sudo chown libvirt-qemu.kvm /var/lib/libvirt/images/ubuntu-15.04-snappy-amd64-generic.img

Install Snapcraft $ ifconfig $ sudo snappy install docker $ sudo snappy install snapcraft-daily.ted $ snapcraft-daily.snapcraft help

What is a snap? A self-contained bundle Includes dependencies Works with frameworks You are here

Snap Definition (package.yaml) name: photoviewer version: 0.1 vendor: Ted Gould <ted@canonical.com> architecture: amd64 frameworks: [mir] binaries: - name: photoviewer exec: qmlscene main.qml -- caps: - mir_client - network-client

Snap Directories https://developer.ubuntu.com/en/snappy/guides/filesystem-layout/

Block Inception

Snapcraft.yaml parts: qml: plugin: qml photoviewer: plugin: copy files: main.qml: main.qml PhotoViewerCore: PhotoViewerCore snappy-metadata: meta

Demo