OPENSTACK MAGNUM
Adrian Otto, Distinguished Architect
2
Outline
Carina: A use-case for Magnum at Rackspace
What Rackspace did with OpenStack to offer containers as a hosted service.
History and Overview of OpenStack
How we got here, and what OpenStack is today.
Container Orchestration Engines
Why different orchestration engines exist for containers, and where they shine.
Magnum
What Magnum is all about.
3
2010: OpenStack is Born
+ =
www.rackspace.com !4
www.rackspace.com
$0
$1,000
$2,000
$3,000
$4,000
2013 2014 2015 2016 2017 2018
!5
The OpenStack Market ($M)
40% CAGR
Rackspace #1
Market Share
Source: 451 Group, 2014
OPENSTACK
SERVICES
KeystoneGlanceNova
NeutronSwiftCinder Designate Ironic
HorizonBarbicanCielometer
SaharaTroveHeat Magnum Marconi Murano
Layer 4: Consumption Services
Layer 3: Optional Enhancements
Layer 2: Extended Infrastructure
Layer 1: Base Compute Infrastructure
Solum
7
Outline
Carina: A use-case for Magnum at Rackspace
What Rackspace did with OpenStack to offer containers as a hosted service.
History and Overview of OpenStack
How we got here, and what OpenStack is today.
Container Orchestration Engines
Why different orchestration engines exist for containers, and where they shine.
Magnum
What Magnum is all about.
LIQUIDS TAKE ON THE SHAPE OF THEIR CONTAINER. THE
LIQUID STATE OF MATTER IS AN INTERMEDIATE PHASE
BETWEEN SOLID AND GAS. LIKE THE PARTICLES OF A SOLID,
PARTICLES IN A LIQUID ARE SUBJECT TO INTERMOLECULAR
ATTRACTION; HOWEVER, LIQUID PARTICLES HAVE MORE SPACE
BETWEEN THEM, SO THEY ARE NOT FIXED IN POSITION.
PROPERTIES OF MATTER: LIQUIDS
Image FPO
42
MAKE A BIGGER CONTAINER?
Image FPO
‹#›11
O p e n P O W E R a n d O p e n C o m p u te
3 .1 - 4 .1 G H z C P U
~ 2 0 0 G i B / s e c M e m o r y B a n d w i d t h
> 2 0 0 M i B C a c h e
1 2 8 - 1 9 2 C P U T h r e a d s
U p t o 2 T i B o f R A M
BARRELEYE
Image FPO
12
B i g g e r h a r d w a r e a l l o w s f o r b i g g e r s o f t w a r e
44
APPLICATION
CONTAINERS
APPLICATION
CONTAINERS
MORE COMPUTE
CONTAINERS ARE
DISRUPTIVE
An easy-to-use and
instant-on
native container
environment.
getcarina.com
Free Beta available today.
18
CONTAINER ADOPTION
CAN BE COMPLICATED
getcarina.comTRY IT NOW FOR FREE
19
WE’VE MADE IT SIMPLE
getcarina.comTRY IT NOW FOR FREE
24
WE’VE MADE IT SIMPLE
getcarina.comTRY IT NOW FOR FREE
25
BARE METAL PERFORMANCE
getcarina.comTRY IT NOW FOR FREE
26
NATIVE API EXPERIENCE
getcarina.comTRY IT NOW FOR FREE
28
Outline
Carina: A use-case for Magnum at Rackspace
What Rackspace did with OpenStack to offer containers as a hosted service.
History and Overview of OpenStack
How we got here, and what OpenStack is today.
Container Orchestration Engines
Why different orchestration engines exist for containers, and where they shine.
Magnum
What Magnum is all about.
BARE METALVM
DOCKER
OPENSTACK
KUBERNETES
MESOS
MAGNUM
DOCKER
API
K8S
API
MAGNUM OVERVIEW
M a g n u m S t a t i s t i c s , S t a t u s , a n d D i v e r s i t y
www.rackspace.com
6039patch sets
1589commits
275,601
lines of code
1year
133
engineers
34affiliations
2015-01-20
released
OpenStack Magnum’s Top Contributors
31
Prior Art
• libvirt/LXC virt driver for Nova
• Nova-Docker virt driver for Nova
• Heat Resource for Docker
32
Magnum Rationale
33
Containers
Nova
Instances
Create
Delete
Resize
Restart
Attach Vol
Kill
Start
Set Env Var
Bind Volume
Attach Term
Exec
Processes Machines
Different
Lifecycle
Different
API
Cloud operators assume a risk when
selecting a single cloud technology
today… but OpenStack is different.
34
Native APIs are not just a good idea,
they are ESSENTIAL.
35
Understanding Magnum Resources (1/2)
• Click to edit Master text styles
– Second level
• Third level
– Fourth level
o Fifth level
36
Container
Bay
Node
All Magnum Bays
Understanding Magnum Resources (2/2)
• Click to edit Master text styles
– Second level
• Third level
– Fourth level
o Fifth level
37
Container
Bay
Node
Kubernetes Bays
Pod
Service
Magnum Differentiators
38
Magnum is First
HTTP/1.1 201 Created
Not Re-Implementing Orchestration
SSO Experience for Cloud Users
Multi-Tenant Control and Data Planes
Asynchronous API
Uses OpenStack Orchestration (Heat)
Uses OpenStack Identity (Keystone)
Image FPO
‹#›39
Fe a t u r e s a d d e d i n L i b e r t y
13
WHAT’S NEW
New Features in Liberty Release
• Apache Mesos
• Marathon
Framework
• REST API
Mesos Bay Type (Multi-
Tenancy)
• TLS Between Client
and Magnum API
• TLS Between Bay
Master and Minion/
Slave/Worker
• Certificate
generation/signing
• docker / kubectl TLS
interoperability
Secure Bays (TLS)
• Neutron LBaaS
Integration
• Automatically add or
remove nodes from
Neutron LB when
Kubernetes bay is
scaled
External Load Balancer
Support
• Easy setup of multi-
master configuration
for Kubernetes
• Suitable for HA
configurations
Multi-Master
Kubernetes
40
41
Review
Carina: A use-case for Magnum at Rackspace
What Rackspace did with OpenStack to offer containers as a hosted service.
History and Overview of OpenStack
How we got here, and what OpenStack is today.
Container Orchestration Engines
Why different orchestration engines exist for containers, and where they shine.
Magnum
What Magnum is all about.
DOCKER SWARM
Swarm Manager
Swarm Node
Docker
Client
Docker
Daemon
Swarm Node
Docker
Daemon
Swarm Node
Docker
Daemon
Swarm
Daemon
Discovery
Service
KUBERNETES
Node
Docker
Kubelet Proxy
REST API
AuthScheduler
Node
Docker
Kubelet Proxy
Node
Docker
Kubelet Proxy
APACHE MESOS
Mesos Master
Standby
ZK
Standby
ZK
Mesos Slave
Framework A
Executor
Task
Mesos Slave
Framework B
Executor
Task
Leader
ZK
45
Review
Carina: A use-case for Magnum at Rackspace
What Rackspace did with OpenStack to offer containers as a hosted service.
History and Overview of OpenStack
How we got here, and what OpenStack is today.
Container Orchestration Engines
Why different orchestration engines exist for containers, and where they shine.
Magnum
What Magnum is all about.
Python OpenStack Engineers
C, C++ Linux Systems Engineers
Ruby DevOps Engineers
C#, .NET
Java
Full Stack Developers
Web Developers
JavaScript, CSS, HTML Software Developer in Test
Angular.JS, Ember.js, Node.js Security Engineers
Restful/JSON/XML Data Scientist
Closure, Scala, Erlang
Hadoop, MongoDB, MySQL
Solutions Architects
Software Dev. Managers
Strategic Account Executive
Field Sales Specialist
MS Azure SA, Virtualization & Support
Technical Trainer
We’re Hiring
O N E FA N AT I C A L P L AC E | S A N A N TO N I O , T X 7 8 21 8
U S S A L E S : 1 - 8 0 0 - 9 61 - 2 8 8 8 | U S S U P P O R T: 1 - 8 0 0 - 9 61 - 4 4 5 4 | W W W. R AC K S PAC E . C O M | W W W. G E T C A R I N A . C O M
© RACKSPACE LTD. | RACKSPACE® AND FANATICAL SUPPORT® ARE SERVICE MARKS OF RACKSPACE US, INC. REGISTERED IN THE UNITED STATES AND OTHER COUNTRIES. | WWW.RACKSPACE.COM
Thank you

OpenStack Magnum

  • 1.
    OPENSTACK MAGNUM Adrian Otto,Distinguished Architect
  • 2.
    2 Outline Carina: A use-casefor Magnum at Rackspace What Rackspace did with OpenStack to offer containers as a hosted service. History and Overview of OpenStack How we got here, and what OpenStack is today. Container Orchestration Engines Why different orchestration engines exist for containers, and where they shine. Magnum What Magnum is all about.
  • 3.
  • 4.
  • 5.
    www.rackspace.com $0 $1,000 $2,000 $3,000 $4,000 2013 2014 20152016 2017 2018 !5 The OpenStack Market ($M) 40% CAGR Rackspace #1 Market Share Source: 451 Group, 2014
  • 6.
    OPENSTACK SERVICES KeystoneGlanceNova NeutronSwiftCinder Designate Ironic HorizonBarbicanCielometer SaharaTroveHeatMagnum Marconi Murano Layer 4: Consumption Services Layer 3: Optional Enhancements Layer 2: Extended Infrastructure Layer 1: Base Compute Infrastructure Solum
  • 7.
    7 Outline Carina: A use-casefor Magnum at Rackspace What Rackspace did with OpenStack to offer containers as a hosted service. History and Overview of OpenStack How we got here, and what OpenStack is today. Container Orchestration Engines Why different orchestration engines exist for containers, and where they shine. Magnum What Magnum is all about.
  • 8.
    LIQUIDS TAKE ONTHE SHAPE OF THEIR CONTAINER. THE LIQUID STATE OF MATTER IS AN INTERMEDIATE PHASE BETWEEN SOLID AND GAS. LIKE THE PARTICLES OF A SOLID, PARTICLES IN A LIQUID ARE SUBJECT TO INTERMOLECULAR ATTRACTION; HOWEVER, LIQUID PARTICLES HAVE MORE SPACE BETWEEN THEM, SO THEY ARE NOT FIXED IN POSITION. PROPERTIES OF MATTER: LIQUIDS
  • 10.
    Image FPO 42 MAKE ABIGGER CONTAINER?
  • 11.
    Image FPO ‹#›11 O pe n P O W E R a n d O p e n C o m p u te 3 .1 - 4 .1 G H z C P U ~ 2 0 0 G i B / s e c M e m o r y B a n d w i d t h > 2 0 0 M i B C a c h e 1 2 8 - 1 9 2 C P U T h r e a d s U p t o 2 T i B o f R A M BARRELEYE
  • 12.
    Image FPO 12 B ig g e r h a r d w a r e a l l o w s f o r b i g g e r s o f t w a r e 44
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
    18 CONTAINER ADOPTION CAN BECOMPLICATED getcarina.comTRY IT NOW FOR FREE
  • 19.
    19 WE’VE MADE ITSIMPLE getcarina.comTRY IT NOW FOR FREE
  • 24.
    24 WE’VE MADE ITSIMPLE getcarina.comTRY IT NOW FOR FREE
  • 25.
  • 26.
  • 28.
    28 Outline Carina: A use-casefor Magnum at Rackspace What Rackspace did with OpenStack to offer containers as a hosted service. History and Overview of OpenStack How we got here, and what OpenStack is today. Container Orchestration Engines Why different orchestration engines exist for containers, and where they shine. Magnum What Magnum is all about.
  • 29.
  • 30.
    M a gn u m S t a t i s t i c s , S t a t u s , a n d D i v e r s i t y www.rackspace.com 6039patch sets 1589commits 275,601 lines of code 1year 133 engineers 34affiliations 2015-01-20 released
  • 31.
    OpenStack Magnum’s TopContributors 31
  • 32.
    Prior Art • libvirt/LXCvirt driver for Nova • Nova-Docker virt driver for Nova • Heat Resource for Docker 32
  • 33.
    Magnum Rationale 33 Containers Nova Instances Create Delete Resize Restart Attach Vol Kill Start SetEnv Var Bind Volume Attach Term Exec Processes Machines Different Lifecycle Different API
  • 34.
    Cloud operators assumea risk when selecting a single cloud technology today… but OpenStack is different. 34
  • 35.
    Native APIs arenot just a good idea, they are ESSENTIAL. 35
  • 36.
    Understanding Magnum Resources(1/2) • Click to edit Master text styles – Second level • Third level – Fourth level o Fifth level 36 Container Bay Node All Magnum Bays
  • 37.
    Understanding Magnum Resources(2/2) • Click to edit Master text styles – Second level • Third level – Fourth level o Fifth level 37 Container Bay Node Kubernetes Bays Pod Service
  • 38.
    Magnum Differentiators 38 Magnum isFirst HTTP/1.1 201 Created Not Re-Implementing Orchestration SSO Experience for Cloud Users Multi-Tenant Control and Data Planes Asynchronous API Uses OpenStack Orchestration (Heat) Uses OpenStack Identity (Keystone)
  • 39.
    Image FPO ‹#›39 Fe at u r e s a d d e d i n L i b e r t y 13 WHAT’S NEW
  • 40.
    New Features inLiberty Release • Apache Mesos • Marathon Framework • REST API Mesos Bay Type (Multi- Tenancy) • TLS Between Client and Magnum API • TLS Between Bay Master and Minion/ Slave/Worker • Certificate generation/signing • docker / kubectl TLS interoperability Secure Bays (TLS) • Neutron LBaaS Integration • Automatically add or remove nodes from Neutron LB when Kubernetes bay is scaled External Load Balancer Support • Easy setup of multi- master configuration for Kubernetes • Suitable for HA configurations Multi-Master Kubernetes 40
  • 41.
    41 Review Carina: A use-casefor Magnum at Rackspace What Rackspace did with OpenStack to offer containers as a hosted service. History and Overview of OpenStack How we got here, and what OpenStack is today. Container Orchestration Engines Why different orchestration engines exist for containers, and where they shine. Magnum What Magnum is all about.
  • 42.
    DOCKER SWARM Swarm Manager SwarmNode Docker Client Docker Daemon Swarm Node Docker Daemon Swarm Node Docker Daemon Swarm Daemon Discovery Service
  • 43.
  • 44.
    APACHE MESOS Mesos Master Standby ZK Standby ZK MesosSlave Framework A Executor Task Mesos Slave Framework B Executor Task Leader ZK
  • 45.
    45 Review Carina: A use-casefor Magnum at Rackspace What Rackspace did with OpenStack to offer containers as a hosted service. History and Overview of OpenStack How we got here, and what OpenStack is today. Container Orchestration Engines Why different orchestration engines exist for containers, and where they shine. Magnum What Magnum is all about.
  • 46.
    Python OpenStack Engineers C,C++ Linux Systems Engineers Ruby DevOps Engineers C#, .NET Java Full Stack Developers Web Developers JavaScript, CSS, HTML Software Developer in Test Angular.JS, Ember.js, Node.js Security Engineers Restful/JSON/XML Data Scientist Closure, Scala, Erlang Hadoop, MongoDB, MySQL Solutions Architects Software Dev. Managers Strategic Account Executive Field Sales Specialist MS Azure SA, Virtualization & Support Technical Trainer We’re Hiring
  • 47.
    O N EFA N AT I C A L P L AC E | S A N A N TO N I O , T X 7 8 21 8 U S S A L E S : 1 - 8 0 0 - 9 61 - 2 8 8 8 | U S S U P P O R T: 1 - 8 0 0 - 9 61 - 4 4 5 4 | W W W. R AC K S PAC E . C O M | W W W. G E T C A R I N A . C O M © RACKSPACE LTD. | RACKSPACE® AND FANATICAL SUPPORT® ARE SERVICE MARKS OF RACKSPACE US, INC. REGISTERED IN THE UNITED STATES AND OTHER COUNTRIES. | WWW.RACKSPACE.COM Thank you