Slide 1

Slide 1 text

Project SOLUM FROM CODE TO MANAGED APP Natively for OpenStack

Slide 2

Slide 2 text

Julien Vey @julienvey Pierre Padrixe @undefd !

Slide 3

Slide 3 text

Solum: Your application deployed on an OpenStack cloud

Slide 4

Slide 4 text

What is OpenStack ? !

Slide 5

Slide 5 text

Open source software for building private and public clouds ! !

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

Standard Hardware OpenStack shared services

Slide 8

Slide 8 text

Standard Hardware OpenStack shared services

Slide 9

Slide 9 text

Standard Hardware Identity: Keystone OpenStack shared services

Slide 10

Slide 10 text

Standard Hardware Image: Glance Identity: Keystone OpenStack shared services

Slide 11

Slide 11 text

Standard Hardware Image: Glance Orchestration: Heat Identity: Keystone OpenStack shared services

Slide 12

Slide 12 text

Standard Hardware Image: Glance Orchestration: Heat Telemetry: Ceilometer Identity: Keystone OpenStack shared services

Slide 13

Slide 13 text

Standard Hardware Networking ! ! Storage ! ! Compute ! ! Image: Glance Orchestration: Heat Telemetry: Ceilometer Identity: Keystone OpenStack shared services

Slide 14

Slide 14 text

Standard Hardware Networking ! ! Storage ! ! Compute ! ! Image: Glance Orchestration: Heat Telemetry: Ceilometer Identity: Keystone OpenStack shared services Nova

Slide 15

Slide 15 text

Standard Hardware Networking ! ! Storage ! ! Compute ! ! Image: Glance Orchestration: Heat Telemetry: Ceilometer Identity: Keystone OpenStack shared services Neutron Nova

Slide 16

Slide 16 text

Standard Hardware Networking ! ! Storage ! ! Compute ! ! Block: Cinder Image: Glance Orchestration: Heat Telemetry: Ceilometer Identity: Keystone OpenStack shared services Neutron Nova

Slide 17

Slide 17 text

Standard Hardware Networking ! ! Storage ! ! Compute ! ! Block: Cinder Object: Swift Image: Glance Orchestration: Heat Telemetry: Ceilometer Identity: Keystone OpenStack shared services Neutron Nova

Slide 18

Slide 18 text

Standard Hardware Networking ! ! Storage ! ! Compute ! ! Dashboard APIs Block: Cinder Object: Swift Image: Glance Orchestration: Heat Telemetry: Ceilometer Identity: Keystone OpenStack shared services Neutron Nova

Slide 19

Slide 19 text

Standard Hardware Networking ! ! Storage ! ! Compute ! ! Dashboard APIs Your Applications Block: Cinder Object: Swift Image: Glance Orchestration: Heat Telemetry: Ceilometer Identity: Keystone OpenStack shared services Neutron Nova

Slide 20

Slide 20 text

What is Solum ? !

Slide 21

Slide 21 text

Convert code into a managed application running on an OpenStack cloud at the push of a button.

Slide 22

Slide 22 text

One essential component is…

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

« Works on my machine » We all said it once

Slide 25

Slide 25 text

The Matrix from hell My Machine Your Machine QA Staging Prod Web App ? ? ? ? ? Back Office ? ? ? ? ? Queue ? ? ? ? ? Workers ? ? ? ? ? DB ? ? ? ? ?

Slide 26

Slide 26 text

The Matrix from hell ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

Slide 27

Slide 27 text

The shipping container

Slide 28

Slide 28 text

Why it works for Industry

Slide 29

Slide 29 text

Standard size everything can be built to manipulate containers ! Focus on real work Shipping companies only care about shipping container

Slide 30

Slide 30 text

The Matrix from hell

Slide 31

Slide 31 text

The Matrix from hell My Machine Your Machine QA Staging Prod Web App Back Office Queue Workers DB

Slide 32

Slide 32 text

Containers vs VMs

Slide 33

Slide 33 text

Bare Metal OS Hypervisor OS Guest Application VM OS Guest Application VM

Slide 34

Slide 34 text

Bare Metal OS Hypervisor OS Guest Application VM OS Guest Application VM Bare Metal OS D o c k e r Application Container Application Container

Slide 35

Slide 35 text

Why Containers ?

Slide 36

Slide 36 text

Lightweight ! Fast spawn ! Performance ! Isolated

Slide 37

Slide 37 text

Docker internals

Slide 38

Slide 38 text

Linux Kernel

Slide 39

Slide 39 text

Linux Kernel Layer FS (DeviceMapper, AUFS)

Slide 40

Slide 40 text

Linux Kernel Layer FS (DeviceMapper, AUFS) CGROUPS Namespaces

Slide 41

Slide 41 text

Linux Kernel Layer FS (DeviceMapper, AUFS) CGROUPS Namespaces Container Technology (LXC, LibContainer…)

Slide 42

Slide 42 text

Linux Kernel Layer FS (DeviceMapper, AUFS) CGROUPS Namespaces Container Technology (LXC, LibContainer…) Docker

Slide 43

Slide 43 text

How Docker integrates with OpenStack ?

Slide 44

Slide 44 text

Nova (Compute)

Slide 45

Slide 45 text

Nova VM VM VM Container Container Container Container Container Container Container

Slide 46

Slide 46 text

Heat (Orchestration)

Slide 47

Slide 47 text

heat_template_version: 2013-05-23! ! description: Single compute instance running cirros in a Docker container.! ! resources:! my_instance:! type: OS::Nova::Server! properties:! key_name: julien_key! image: ubuntu-precise! flavor: m1.large! user_data: #include https://get.docker.io! my_docker_container:! type: DockerInc::Docker::Container! docker_endpoint: { get_attr: [my_instance, first_address] }! image: cirros HOT File (Heat Orchestration Template)

Slide 48

Slide 48 text

Glance (Image storage)

Slide 49

Slide 49 text

FROM ubuntu! …! RUN…! …! CMD…! ! Dockerfile

Slide 50

Slide 50 text

FROM ubuntu! …! RUN…! …! CMD…! ! Dockerfile docker build Container

Slide 51

Slide 51 text

Docker registry FROM ubuntu! …! RUN…! …! CMD…! ! Dockerfile docker build Container docker push

Slide 52

Slide 52 text

Docker registry Glance Images FROM ubuntu! …! RUN…! …! CMD…! ! Dockerfile docker build Container docker push

Slide 53

Slide 53 text

Back to Solum

Slide 54

Slide 54 text

Standard Hardware OpenStack shared Services Networking Storage Compute Dashboard APIs Your Applications

Slide 55

Slide 55 text

Standard Hardware OpenStack shared Services Networking Storage Compute Dashboard APIs Your Applications

Slide 56

Slide 56 text

Standard Hardware OpenStack shared Services Networking Storage Compute Dashboard APIs Solum Your Application’s code

Slide 57

Slide 57 text

Solum goes from source code to a running and managed application

Slide 58

Slide 58 text

Application’s source code Running application What is the usual workflow ?

Slide 59

Slide 59 text

No content

Slide 60

Slide 60 text

build

Slide 61

Slide 61 text

build package

Slide 62

Slide 62 text

build package distribute

Slide 63

Slide 63 text

build package distribute Application Universe

Slide 64

Slide 64 text

build package distribute provision Application Universe

Slide 65

Slide 65 text

build package distribute provision configure Application Universe

Slide 66

Slide 66 text

build package distribute provision configure deploy Application Universe

Slide 67

Slide 67 text

build package distribute provision configure deploy scale Application Universe

Slide 68

Slide 68 text

build package distribute provision configure deploy scale Application Universe Operational Universe

Slide 69

Slide 69 text

Solum aims to streamline this process

Slide 70

Slide 70 text

Git repo

Slide 71

Slide 71 text

Git repo Build service

Slide 72

Slide 72 text

Git repo Build service Docker registry

Slide 73

Slide 73 text

Git repo Build service Docker registry Glance Images

Slide 74

Slide 74 text

Git repo Build service Model interpreter Docker registry Glance Images Solum

Slide 75

Slide 75 text

Git repo Build service Model interpreter Docker registry Glance Images Heat Orchestration Solum

Slide 76

Slide 76 text

Git repo Build service Model interpreter Docker registry Glance Images Heat Orchestration Nova nova-docker Nova KVM Heat resources Solum

Slide 77

Slide 77 text

Git repo Build service Model interpreter Docker registry Glance Images Heat Orchestration Nova nova-docker Nova KVM Heat resources Solum

Slide 78

Slide 78 text

No content

Slide 79

Slide 79 text

No content

Slide 80

Slide 80 text

Get involved

Slide 81

Slide 81 text

Website solum.io ! Wiki wiki.openstack.org/wiki/Solum ! IRC #solum on freenode

Slide 82

Slide 82 text

Questions ?