Agenda Introduction The players And? Summary GUUG FFG FEB 2016 - - PowerPoint PPT Presentation

agenda
SMART_READER_LITE
LIVE PREVIEW

Agenda Introduction The players And? Summary GUUG FFG FEB 2016 - - PowerPoint PPT Presentation

Quo vadis Linux?!? The rise of new cloud O/S Dr. Udo Seidel Agenda Introduction The players And? Summary GUUG FFG FEB 2016 Me :-) Teacher of mathematics and physics PhD in experimental physics Started with Linux in


slide-1
SLIDE 1

Quo vadis Linux?!?

The rise of new cloud O/S

  • Dr. Udo Seidel
slide-2
SLIDE 2

GUUG FFG FEB 2016

Agenda

  • Introduction
  • The players
  • And?
  • Summary
slide-3
SLIDE 3

GUUG FFG FEB 2016

Me :-)

  • Teacher of mathematics and physics
  • PhD in experimental physics
  • Started with Linux in 1996
  • With Amadeus since 2006
  • Before:
  • Linux/UNIX trainer
  • Solution Engineer in HPC and CAx environment
  • Now: Architecture & Technical Governance
slide-4
SLIDE 4

GUUG FFG FEB 2016

Introduction

slide-5
SLIDE 5

GUUG FFG FEB 2016

Cloud and Cloud O/S

  • Multiple definitions
  • Cloud → here:
  • IaaS type
  • Scale out not up
  • API driven
  • Cloud O/S → here:
  • Date Centre, not Desktop
  • Layer between 'hardware' and 'service'
slide-6
SLIDE 6

GUUG FFG FEB 2016

Cloud and Opensource

  • ATM: Highly tight together
  • Foundation and framework around
  • New Business models
  • Just the start … not the end
slide-7
SLIDE 7

GUUG FFG FEB 2016

Opensource Cloud O/S

  • Meeting previous requirements
  • Cloud
  • Cloud O/S
  • Source code available
  • Cloud 2.0
slide-8
SLIDE 8

GUUG FFG FEB 2016

The players

slide-9
SLIDE 9

GUUG FFG FEB 2016

Selection

  • Wide range of options/technologies/...
  • Here:
  • Enterprise Linux' metric
  • Traditional approach to Linux
  • Three candidates
slide-10
SLIDE 10

GUUG FFG FEB 2016

Approach

  • History & facts
  • Kernel (space)
  • User-space
  • Discussion
  • First thoughts
  • Second thoughts :-)
  • Maybe call to action
slide-11
SLIDE 11

GUUG FFG FEB 2016

CoreOS

slide-12
SLIDE 12

GUUG FFG FEB 2016

History & Facts

  • Initial release: October 2013
  • License: Apache 2.0
  • Kernel: Monolithic
  • Language: C/C++
  • Platforms:
  • x86_64: physical, virtual
  • ARM64: to come (unofficially images available)
slide-13
SLIDE 13

GUUG FFG FEB 2016

Kernel

  • Vanilla based
  • Lighter than Enterprise
  • Quite recent
slide-14
SLIDE 14

GUUG FFG FEB 2016

User space

  • No package management
  • Shadow /usr file system
  • Boot entries
  • Small process footprint
  • File system
  • Read-only /usr
  • Symlinks in /etc to /usr
  • Containerize everything
slide-15
SLIDE 15

GUUG FFG FEB 2016

More on user space

  • etcd & fleet … and more
  • Configuration
  • cloud-config concept
  • Part of boot process
  • User:
  • Less is more
  • Authentication via ssh key only
  • Configuration read-only
slide-16
SLIDE 16

GUUG FFG FEB 2016

About etcd

  • Written in Go
  • Apache license 2.0
  • Distributed key value store
  • Cluster frame-work
  • API: HTTP and JSON .. etcdctl
  • Service/application discovery
slide-17
SLIDE 17

GUUG FFG FEB 2016

About fleet

  • Written in Go
  • Apache license 2.0
  • Distributed init system
  • Foundation: systemd
  • Uses etcd
  • API: fleetctl …. ssh
  • Topology: CoreOS instance meta data
slide-18
SLIDE 18

GUUG FFG FEB 2016

Service/System/Application

  • Business as usual
  • Language
  • Environment
  • Process
  • See later ;-)
slide-19
SLIDE 19

GUUG FFG FEB 2016

Who is using CoreOS

  • AeroFS
  • Auth0
  • Engine Yard
  • Shoppify
  • Several Cloud/hosting providers
slide-20
SLIDE 20

GUUG FFG FEB 2016

OSv

slide-21
SLIDE 21

GUUG FFG FEB 2016

History & Facts

  • Initial release: September 2013
  • License: BSD-3
  • Kernel: Monolithic
  • Language: C++
  • Platforms:
  • x86_64: virtual only
  • ARM64: (still) to come
slide-22
SLIDE 22

GUUG FFG FEB 2016

Kernel

  • Newly developed
  • No physical hardware support
  • Smallest possible layer
  • Run on hypervisor
  • Host application
  • E. g. no spinlocks
  • Linux-ABIs in place
slide-23
SLIDE 23

GUUG FFG FEB 2016

User space

  • Not existing!
  • No user concept
  • Single process only

– Threads – Relocatable object code application – Missing: fork(), vfork(), clone()

slide-24
SLIDE 24

GUUG FFG FEB 2016

REST API/Dashboard

slide-25
SLIDE 25

GUUG FFG FEB 2016

Service/System/Application

  • Source code
  • Build environment
  • OSv integration
  • Locally

– capstan → Capstanfile – Download, build, run

  • Cloud-init
slide-26
SLIDE 26

GUUG FFG FEB 2016

'Hello world'

slide-27
SLIDE 27

GUUG FFG FEB 2016

Images Market Place

  • Java (openJDK)
  • Tomcat
  • Memcached
  • Reddis
  • Cassandra
  • Kafka
  • Netperf
  • … DIY
slide-28
SLIDE 28

GUUG FFG FEB 2016

Who is using OSv?

  • Cloudius Systems
  • CloudRouter
  • Opendaylight
  • Research projects
  • ???
slide-29
SLIDE 29

GUUG FFG FEB 2016

MirageOS

slide-30
SLIDE 30

GUUG FFG FEB 2016

History & Facts

  • Initial release: December 2013
  • License: ISC
  • Kernel: N/A (Unikernel)
  • Language: OCamel/OPAM
  • Platforms:
  • x86_64: virtual (Xen)
  • ARMv7+: virtual (Xen)
slide-31
SLIDE 31

GUUG FFG FEB 2016

Kernel

  • N/A!
  • Library Operating System
  • Unikernel/targets
  • DIY for almost everything
  • Written in OCamel
  • Functions via libraries
slide-32
SLIDE 32

GUUG FFG FEB 2016

User space

  • Not existing
  • Actually …

… just the O/S Kernel

slide-33
SLIDE 33

GUUG FFG FEB 2016

Service/System/Application

  • Lot of (pre-)thinking
  • Application
  • Kernel
  • OCamel and OPAM
  • unikernel.ml
  • Mirage Integration
  • config.ml
  • mirage ….
slide-34
SLIDE 34

GUUG FFG FEB 2016

'Hello world'

slide-35
SLIDE 35

GUUG FFG FEB 2016

'Kernel Libraries'

  • Core
  • Storage, e.g.
  • Block device
  • File system
  • Network, e.g.
  • TCP/IP
  • HTTP
  • Formats, e.g
  • JSON
slide-36
SLIDE 36

GUUG FFG FEB 2016

Known/tested Use Case

  • Webserver
  • DNS
  • Openflow Controller
slide-37
SLIDE 37

GUUG FFG FEB 2016

Who is using MirageOS?

  • Research projects
  • ???
slide-38
SLIDE 38

GUUG FFG FEB 2016

Other

slide-39
SLIDE 39

GUUG FFG FEB 2016

More and more and more

  • CirrOS
  • JeOS
  • Atomic, Snapper, Photon, …
  • DCOS

...

  • SmartOS
  • ZeroVM
slide-40
SLIDE 40

GUUG FFG FEB 2016

And?

slide-41
SLIDE 41

GUUG FFG FEB 2016

General Thoughts

  • Where and which?
  • # of future paths
  • Customer and business
slide-42
SLIDE 42

GUUG FFG FEB 2016

First Thoughts on CoreOS

  • Least number/size changes
  • 'Traditional' approach possible
  • Technically
  • Non-technically
  • Check
  • Prerequisites
  • APIs
slide-43
SLIDE 43

GUUG FFG FEB 2016

Embrace CoreOS Features

  • Review/rethink
  • User/Security
  • Application roll-out/-back
  • Data store
  • Framework around
  • Systemd/Container
  • Service discovery
slide-44
SLIDE 44

GUUG FFG FEB 2016

First Thoughts on OSv

  • More adaptation needed
  • 'Traditional' approach
  • Potential for code re-use
slide-45
SLIDE 45

GUUG FFG FEB 2016

Embrace OSv

  • Single application!
  • ELF shared object
  • RUN in Kernel space
  • Short/medium runtime
  • Roll-out/-back on OSv instance level
  • Data management
slide-46
SLIDE 46

GUUG FFG FEB 2016

First Thoughts on MirageOS

  • Biggest changes
  • 'Traditional' approach
  • Code re-use
  • Almost nothing known left
slide-47
SLIDE 47

GUUG FFG FEB 2016

Embrace MirageOS

  • Review Kernel needs
  • Review coding language
  • Test with UNIX target
  • Application = Kernel
  • Data Management
slide-48
SLIDE 48

GUUG FFG FEB 2016

Summary

slide-49
SLIDE 49

GUUG FFG FEB 2016

First 'Last' Thoughts

  • Ufff!! ...Crystal ball?!?
  • Potentially lot of work
  • Technically
  • Mindset/paradigm change
  • Customer and business
slide-50
SLIDE 50

GUUG FFG FEB 2016

Take Aways

  • Focus shift
  • At least reduction of O/S user-land
  • Further paradigm shifts to come
  • Today: multiple options
  • Open your mind :-)
slide-51
SLIDE 51

GUUG FFG FEB 2016

References

  • http://coreos.com
  • http://osv.io
  • http://openmirage.org
slide-52
SLIDE 52

GUUG FFG FEB 2016

Thank you!

slide-53
SLIDE 53

GUUG FFG FEB 2016

Quo vadis Linux ?!?

The rise of new cloud O/S

  • Dr. Udo Seidel