SlideShare a Scribd company logo
1 of 31
THE RISE OF THE CONTAINER
The Dev/Ops technology that accelerates Ops/Dev
Robert Starmer: CTO for Kumulus Technologies
OpenStack operations contributor since 2012
Operating OpenStack at Scale
Supporting container migration for enterprise
Kumulus Technologies:
Systems Consultants supporting Cloud Migration
@rstarmer, @kumulustech, http://kumul.us
youtube.com/fiveminutesofcloud
WHO AM I?
AGENDA
• Overview of the Container service space, a little history of
containers.
• Why Containers are _now_ the answer to Developers every
desire.
• The underbelly of the Container world, Container Operating
Environments.
• Operation needs and gaps in the Container integration space
• A unified Container, Virtual, and Physical compute service, or
how OpenStack (and other IaaS solutions) still fits into the
equation.
THE WHAT, WHY, AND HOW OF
CONTAINERS
WHAT DO WE MEAN? A CONTAINER…
• Principally containers == Linux containers*
• Provides a segregation model at the process level rather than
emulating a complete computer
• Uses cgroups and namespaces to segregate processes
* yes, other container technologies exist
CONTAINERS, THE SHORT HISTORY
• One system multi-segregation goes back to time-share systems
of the 1960/70s
• In the mini-computer/Unix era, the kernel included process
management and some initial segregation (root vs. user access)
• BSD Jails, Solaris Zones, LXC (and Google’s LMCTFY)
LINUX CONTAINERS
• ~2005 Google, along with Canonical, took an interest in the early
Linux container model, supporting efforts around LXC
• Other than Google and bleeding edge developers, containers
were seen as difficult to use
• Docker changed this: layered ‘light’ images and a registry
WHY NOT JUST STICK WITH VMS?
Bare Metal (Nova & Ironic)
x86, ARM, other processor
Memory
Local “block” storage subsystem
Hypervisor (Nova)
Hypervisor - Hardware access
management and segregation
ESX, KVM, Hyper-V, Xen, LPAR
Container (Nova)
OS level segregation of processes
Docker/LXC, Solaris containers
Hardware
APP APP APP
Host OS
bin/lib bin/lib bin/lib
Hardware
APP
OS
Hypervisor
APP
OS
APP
OS
Host OS
bin/lib bin/lib
Virtual machine
Guest
OS
bin/lib
Hardware
APP
bin/lib
Container Engine
APP
bin/lib
APP
bin/lib
Host OS
Container
WHY NOT JUST STICK WITH VMS?
• Speed: sub-second vs. multi-second startup
• Simplification: One light image from laptop to production
• Layers: Docker image format simplifies base images
• Embedded Ops: Operational value built in (load balancing)
• Container == Process container, VM == OS container
AGILE DEVELOPMENT AND CONTAINERS
• The real driver behind the current container craze: Dev/Ops
• Agile development == always working always tested code
• If I can build my app and have tests running in a second, I’m
more likely to test…
• …and I don’t have to worry about the underlying OS
DEVELOPERS 💔 OPERATIONS
• Dev/Ops is a stepping stone for many developers
• Enabled application development models that were not
previously possible
• Ops is something to limit and reduce
• There is a growing #serverless community - focusing on just the
application again
DEVELOPERS ❤️ CONTAINERS
• Docker image format makes it easy to build “app” environment
• Use for Unit test (on developer machine)
• Use same image for QA/system tests
• Use same image in staging/final test
• Use same image in production
STILL NEED TO “OPERATE” CONTAINERS
• Can’t avoid some operations
• Manage application failures gracefully
• Provide some scale services (e.g. Load balancing)
• Managing interactions and security between multi-container
services and solutions
IT IS NOT JUST A CONTAINER
THOUGH…
THE FIELD OF CONTAINER MANAGEMENT
• LXC and LXD or libvirt-lxc
• Docker and Docker(plus Swarm)
• Docker, LXC and Kubernetes
• Docker, LXC, etc. and Mesos/DCOS
• Docker Cloud, Rancher, DCOS, CoreOS Fleet….
MANAGEMENT FUNCTIONS
• Lifecycle Management
• Rolling Upgrades
• Scheduling
• Network Service
• Storage Mapping
• Seems like an IaaS might be of service
OPENSTACK AND MANAGING
CONTAINERS
MANAGING CONTAINERS
Two ways to think about containers and OpenStack:
• OpenStack managing VMs or Bare Metal running Containers
one for all
• OpenStack managing a COE per tenant, tenant manages the
Container management
• OpenStack being run on Containers either on an OpenStack
undercloud, or on bare metal/container management
RUNNING CONTAINERS ON OPENSTACK
Where are you going to run your containers:
• VM (eg. Nova to Linux OS or “Container OS”)
• Bare Metal (eg. Ironic to Linux OS or “Container OS”)
• Container “Directly” (e.g. Higgins) <newest addition
How do you launch Containers?
• LXC/LXD libvirt commands?
• Docker commands?
• Kubernetes/Mesos-Marathon/etc.
ADD MANAGEMENT… AND?
Tenant/Project based, or global OpenStack deployment
Network interaction model
• tunneling (is your base OS already tunneling?)
• NAT And SLB services?
Storage
• shared backend, or brokered backend (e.g. exposed by
Openstack)
SCHEDULING
• Container management services still need better embedded
scheduling (affinity/anti-affinity at least)
• No integration between underlying scheduler (e.g. Nova) and
overlay scheduling (e.g. Kubernetes)
• Lack of interaction could see multiple “container” VMs on the
same physical host… No different than any other cloud app
SINGLE MANAGEMENT FOR ALL
• Deploy a Docker-swarm or Kubernetes or… for the entire
OpenStack service
• Consistency
• Single model/centralized control
• Removes any Infrastructure Ops burden from developers
• Still has security issues (perhaps even more so, shared syscall
interaface in the kernel)
PER TENANT MANAGEMENT
• OS team enables deployment of an environment (e.g Docker,
Kubernetes, etc.) to as a set of VMs for an individual
Project/Tenant.
• Now project owners are Ops managers again for their container
management
• Leverage one to deploy: Magnum, Monasca, HEAT
MANAGING OPENSTACK AS
CONTAINERS
• Load balanced front end services and even some
portion of the back-end can be run as containers
• Storage elements (e.g. database) and middleware (e.g.
RabbitMQ) may be better suited to VMs and or Ironic
• Chicken vs. egg issue
OPENSTACK AS A DISTRIBUTED APPLICATION
KOLLA PROJECT
• Containerize OpenStack
• Simplifies the creation of individual containers for each individual
service element (neutron-api vs neutron-scheduler)
• Can be used to support rolling upgrades (and even downgrades)
• https://github.com/openstack/kolla
• To use OpenStack, hardware is needed
• To use Kubernetes, hardware is needed
• Which is first ? (i.e. OpenStack standalone with Ironic or
Kubernetes/Docker/etc. or through some other mechanism)
WHO’S FIRST: OPENSTACK OR KUBERNETES?
• Kolla-Kubernetes - http://docs.openstack.org/developer/kolla-
kubernetes/index.html
* Stacknetes - https://github.com/stackanetes
* Fuel-CCP - https://github.com/openstack/fuel-ccp
* SAP - http://github.com/sapcc
* TCPCloud - http://www.tcpcloud.eu/en/blog/2016/08/04/making-
openstack-production-ready-kubernetes-and-openstack-salt-part-3/
KUBERNETES OPENSTACK PROJECTS
REVIEW
CONTAINERS
• Containers == segregated processes (VM-lite)
• Containers abstract the Operations Model
• Containers need/leverage systems management:
• Scale
• Scheduling
• Security
• Containers can (should?) run on IaaS
Q&A : THANKS!

More Related Content

What's hot

Docker HK Meetup - 201707
Docker HK Meetup - 201707Docker HK Meetup - 201707
Docker HK Meetup - 201707Clarence Ho
 
Docker 101 - High level introduction to docker
Docker 101 - High level introduction to dockerDocker 101 - High level introduction to docker
Docker 101 - High level introduction to dockerDr Ganesh Iyer
 
Introduction to Containers and Docker
Introduction to Containers and DockerIntroduction to Containers and Docker
Introduction to Containers and DockerRob Loach
 
The ABC of Docker: The Absolute Best Compendium of Docker
The ABC of Docker: The Absolute Best Compendium of DockerThe ABC of Docker: The Absolute Best Compendium of Docker
The ABC of Docker: The Absolute Best Compendium of DockerAniekan Akpaffiong
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker IntroductionHao Fan
 
Hypervisor "versus" Linux Containers with Docker !
Hypervisor "versus" Linux Containers with Docker !Hypervisor "versus" Linux Containers with Docker !
Hypervisor "versus" Linux Containers with Docker !Francisco Gonçalves
 
Docker Overview - Rise of the Containers
Docker Overview - Rise of the ContainersDocker Overview - Rise of the Containers
Docker Overview - Rise of the ContainersRyan Hodgin
 
Dockers & kubernetes detailed - Beginners to Geek
Dockers & kubernetes detailed - Beginners to GeekDockers & kubernetes detailed - Beginners to Geek
Dockers & kubernetes detailed - Beginners to GeekwiTTyMinds1
 
Docker based-pipelines
Docker based-pipelinesDocker based-pipelines
Docker based-pipelinesDevOps.com
 
Dockers and kubernetes
Dockers and kubernetesDockers and kubernetes
Dockers and kubernetesDr Ganesh Iyer
 
Docker introduction for the beginners
Docker introduction for the beginnersDocker introduction for the beginners
Docker introduction for the beginnersJuneyoung Oh
 
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...Simplilearn
 
Introduction to Docker - VIT Campus
Introduction to Docker - VIT CampusIntroduction to Docker - VIT Campus
Introduction to Docker - VIT CampusAjeet Singh Raina
 
Introduction to Docker
Introduction  to DockerIntroduction  to Docker
Introduction to DockerJian Wu
 
Start your adventure with docker
Start your adventure with dockerStart your adventure with docker
Start your adventure with dockerSagar Dash
 
Docker introduction for Carbon IT
Docker introduction for Carbon ITDocker introduction for Carbon IT
Docker introduction for Carbon ITyannick grenzinger
 
Introduction to Containers - SQL Server and Docker
Introduction to Containers - SQL Server and DockerIntroduction to Containers - SQL Server and Docker
Introduction to Containers - SQL Server and DockerChris Taylor
 
Docker for developers
Docker for developersDocker for developers
Docker for developersandrzejsydor
 

What's hot (20)

Docker HK Meetup - 201707
Docker HK Meetup - 201707Docker HK Meetup - 201707
Docker HK Meetup - 201707
 
Docker 101 - High level introduction to docker
Docker 101 - High level introduction to dockerDocker 101 - High level introduction to docker
Docker 101 - High level introduction to docker
 
Introduction to Containers and Docker
Introduction to Containers and DockerIntroduction to Containers and Docker
Introduction to Containers and Docker
 
The ABC of Docker: The Absolute Best Compendium of Docker
The ABC of Docker: The Absolute Best Compendium of DockerThe ABC of Docker: The Absolute Best Compendium of Docker
The ABC of Docker: The Absolute Best Compendium of Docker
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker Introduction
 
Hypervisor "versus" Linux Containers with Docker !
Hypervisor "versus" Linux Containers with Docker !Hypervisor "versus" Linux Containers with Docker !
Hypervisor "versus" Linux Containers with Docker !
 
Docker Overview - Rise of the Containers
Docker Overview - Rise of the ContainersDocker Overview - Rise of the Containers
Docker Overview - Rise of the Containers
 
Dockers & kubernetes detailed - Beginners to Geek
Dockers & kubernetes detailed - Beginners to GeekDockers & kubernetes detailed - Beginners to Geek
Dockers & kubernetes detailed - Beginners to Geek
 
Docker based-pipelines
Docker based-pipelinesDocker based-pipelines
Docker based-pipelines
 
Dockers and kubernetes
Dockers and kubernetesDockers and kubernetes
Dockers and kubernetes
 
Docker
DockerDocker
Docker
 
Docker introduction for the beginners
Docker introduction for the beginnersDocker introduction for the beginners
Docker introduction for the beginners
 
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
 
Introduction to Docker - VIT Campus
Introduction to Docker - VIT CampusIntroduction to Docker - VIT Campus
Introduction to Docker - VIT Campus
 
Introduction to Docker
Introduction  to DockerIntroduction  to Docker
Introduction to Docker
 
Start your adventure with docker
Start your adventure with dockerStart your adventure with docker
Start your adventure with docker
 
Docker introduction for Carbon IT
Docker introduction for Carbon ITDocker introduction for Carbon IT
Docker introduction for Carbon IT
 
Introduction to Containers - SQL Server and Docker
Introduction to Containers - SQL Server and DockerIntroduction to Containers - SQL Server and Docker
Introduction to Containers - SQL Server and Docker
 
Docker for developers
Docker for developersDocker for developers
Docker for developers
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to Docker
 

Viewers also liked

Kolla - containerizing the cloud itself
Kolla - containerizing the cloud itselfKolla - containerizing the cloud itself
Kolla - containerizing the cloud itselfMichal Rostecki
 
Immutable infrastructure 介紹與實做:以 kolla 為例
Immutable infrastructure 介紹與實做:以 kolla 為例Immutable infrastructure 介紹與實做:以 kolla 為例
Immutable infrastructure 介紹與實做:以 kolla 為例kao kuo-tung
 
OpenStack Kolla Introduction
OpenStack Kolla IntroductionOpenStack Kolla Introduction
OpenStack Kolla IntroductionDaneyon Hansen
 
Deploying OpenStack Services with Linux Containers - Brisbane OpenStack Meetu...
Deploying OpenStack Services with Linux Containers - Brisbane OpenStack Meetu...Deploying OpenStack Services with Linux Containers - Brisbane OpenStack Meetu...
Deploying OpenStack Services with Linux Containers - Brisbane OpenStack Meetu...Ken Thompson
 
Kubernetes 101 for Developers
Kubernetes 101 for DevelopersKubernetes 101 for Developers
Kubernetes 101 for DevelopersRoss Kukulinski
 
Deploying OpenStack Using Docker in Production
Deploying OpenStack Using Docker in ProductionDeploying OpenStack Using Docker in Production
Deploying OpenStack Using Docker in Productionclayton_oneill
 
Zun presentation (OpenStack Barcelona summit)
Zun presentation (OpenStack Barcelona summit)Zun presentation (OpenStack Barcelona summit)
Zun presentation (OpenStack Barcelona summit)hongbin034
 
Docker and Puppet for Continuous Integration
Docker and Puppet for Continuous IntegrationDocker and Puppet for Continuous Integration
Docker and Puppet for Continuous IntegrationGiacomo Vacca
 
Cloud Technology Ecosystems
Cloud Technology EcosystemsCloud Technology Ecosystems
Cloud Technology EcosystemsJoseph Jacks
 
State of Containers in OpenStack
State of Containers in OpenStackState of Containers in OpenStack
State of Containers in OpenStackopenstackindia
 
Kubernetes Architecture and Introduction – Paris Kubernetes Meetup
Kubernetes Architecture and Introduction – Paris Kubernetes MeetupKubernetes Architecture and Introduction – Paris Kubernetes Meetup
Kubernetes Architecture and Introduction – Paris Kubernetes MeetupStefan Schimanski
 
Introduction to Kubernetes
Introduction to KubernetesIntroduction to Kubernetes
Introduction to Kubernetesrajdeep
 
An Introduction to Kubernetes
An Introduction to KubernetesAn Introduction to Kubernetes
An Introduction to KubernetesImesh Gunaratne
 

Viewers also liked (15)

Kolla - containerizing the cloud itself
Kolla - containerizing the cloud itselfKolla - containerizing the cloud itself
Kolla - containerizing the cloud itself
 
Immutable infrastructure 介紹與實做:以 kolla 為例
Immutable infrastructure 介紹與實做:以 kolla 為例Immutable infrastructure 介紹與實做:以 kolla 為例
Immutable infrastructure 介紹與實做:以 kolla 為例
 
OpenStack Kolla Introduction
OpenStack Kolla IntroductionOpenStack Kolla Introduction
OpenStack Kolla Introduction
 
Deploying OpenStack Services with Linux Containers - Brisbane OpenStack Meetu...
Deploying OpenStack Services with Linux Containers - Brisbane OpenStack Meetu...Deploying OpenStack Services with Linux Containers - Brisbane OpenStack Meetu...
Deploying OpenStack Services with Linux Containers - Brisbane OpenStack Meetu...
 
Kubernetes 101 for Developers
Kubernetes 101 for DevelopersKubernetes 101 for Developers
Kubernetes 101 for Developers
 
Deploying OpenStack Using Docker in Production
Deploying OpenStack Using Docker in ProductionDeploying OpenStack Using Docker in Production
Deploying OpenStack Using Docker in Production
 
Kubernetes 101
Kubernetes 101Kubernetes 101
Kubernetes 101
 
Zun presentation (OpenStack Barcelona summit)
Zun presentation (OpenStack Barcelona summit)Zun presentation (OpenStack Barcelona summit)
Zun presentation (OpenStack Barcelona summit)
 
Docker and Puppet for Continuous Integration
Docker and Puppet for Continuous IntegrationDocker and Puppet for Continuous Integration
Docker and Puppet for Continuous Integration
 
Cloud Technology Ecosystems
Cloud Technology EcosystemsCloud Technology Ecosystems
Cloud Technology Ecosystems
 
State of Containers in OpenStack
State of Containers in OpenStackState of Containers in OpenStack
State of Containers in OpenStack
 
Introduction to Kubernetes
Introduction to KubernetesIntroduction to Kubernetes
Introduction to Kubernetes
 
Kubernetes Architecture and Introduction – Paris Kubernetes Meetup
Kubernetes Architecture and Introduction – Paris Kubernetes MeetupKubernetes Architecture and Introduction – Paris Kubernetes Meetup
Kubernetes Architecture and Introduction – Paris Kubernetes Meetup
 
Introduction to Kubernetes
Introduction to KubernetesIntroduction to Kubernetes
Introduction to Kubernetes
 
An Introduction to Kubernetes
An Introduction to KubernetesAn Introduction to Kubernetes
An Introduction to Kubernetes
 

Similar to Containers #101 Meetup: Containers & OpenStack

Containers #101 Meetup: Containers and OpenStack
Containers #101 Meetup: Containers and OpenStackContainers #101 Meetup: Containers and OpenStack
Containers #101 Meetup: Containers and OpenStackCodefresh
 
Containers and OpenStack: Marc Van Hoof, Kumulus: Containers and OpenStack
Containers and OpenStack: Marc Van Hoof, Kumulus: Containers and OpenStackContainers and OpenStack: Marc Van Hoof, Kumulus: Containers and OpenStack
Containers and OpenStack: Marc Van Hoof, Kumulus: Containers and OpenStackOpenStack
 
The container revolution, and what it means to operators open stack southba...
The container revolution, and what it means to operators   open stack southba...The container revolution, and what it means to operators   open stack southba...
The container revolution, and what it means to operators open stack southba...Robert Starmer
 
The container revolution, and what it means to operators.pptx
The container revolution, and what it means to operators.pptxThe container revolution, and what it means to operators.pptx
The container revolution, and what it means to operators.pptxRobert Starmer
 
The Rise of the Container: The Dev/Ops Technology That Accelerates Ops/Dev
The Rise of the Container:  The Dev/Ops Technology That Accelerates Ops/DevThe Rise of the Container:  The Dev/Ops Technology That Accelerates Ops/Dev
The Rise of the Container: The Dev/Ops Technology That Accelerates Ops/DevRobert Starmer
 
Docker introduction
Docker introductionDocker introduction
Docker introductiondotCloud
 
Intro to Docker November 2013
Intro to Docker November 2013Intro to Docker November 2013
Intro to Docker November 2013Docker, Inc.
 
Intro Docker october 2013
Intro Docker october 2013Intro Docker october 2013
Intro Docker october 2013dotCloud
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to DockerAditya Konarde
 
The container revolution, and what it means to operators bay lisa - july 2016
The container revolution, and what it means to operators   bay lisa - july 2016The container revolution, and what it means to operators   bay lisa - july 2016
The container revolution, and what it means to operators bay lisa - july 2016Robert Starmer
 
Intro to Docker October 2013
Intro to Docker October 2013Intro to Docker October 2013
Intro to Docker October 2013Docker, Inc.
 
Choosing PaaS: Cisco and Open Source Options: an overview
Choosing PaaS:  Cisco and Open Source Options: an overviewChoosing PaaS:  Cisco and Open Source Options: an overview
Choosing PaaS: Cisco and Open Source Options: an overviewCisco DevNet
 
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013dotCloud
 
Docker - Portable Deployment
Docker - Portable DeploymentDocker - Portable Deployment
Docker - Portable Deploymentjavaonfly
 
Docker open stack boston
Docker open stack bostonDocker open stack boston
Docker open stack bostondotCloud
 

Similar to Containers #101 Meetup: Containers & OpenStack (20)

Containers #101 Meetup: Containers and OpenStack
Containers #101 Meetup: Containers and OpenStackContainers #101 Meetup: Containers and OpenStack
Containers #101 Meetup: Containers and OpenStack
 
Containers and OpenStack: Marc Van Hoof, Kumulus: Containers and OpenStack
Containers and OpenStack: Marc Van Hoof, Kumulus: Containers and OpenStackContainers and OpenStack: Marc Van Hoof, Kumulus: Containers and OpenStack
Containers and OpenStack: Marc Van Hoof, Kumulus: Containers and OpenStack
 
The container revolution, and what it means to operators open stack southba...
The container revolution, and what it means to operators   open stack southba...The container revolution, and what it means to operators   open stack southba...
The container revolution, and what it means to operators open stack southba...
 
The container revolution, and what it means to operators.pptx
The container revolution, and what it means to operators.pptxThe container revolution, and what it means to operators.pptx
The container revolution, and what it means to operators.pptx
 
The Rise of the Container: The Dev/Ops Technology That Accelerates Ops/Dev
The Rise of the Container:  The Dev/Ops Technology That Accelerates Ops/DevThe Rise of the Container:  The Dev/Ops Technology That Accelerates Ops/Dev
The Rise of the Container: The Dev/Ops Technology That Accelerates Ops/Dev
 
Docker introduction
Docker introductionDocker introduction
Docker introduction
 
Intro to Docker November 2013
Intro to Docker November 2013Intro to Docker November 2013
Intro to Docker November 2013
 
Intro Docker october 2013
Intro Docker october 2013Intro Docker october 2013
Intro Docker october 2013
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to Docker
 
The container revolution, and what it means to operators bay lisa - july 2016
The container revolution, and what it means to operators   bay lisa - july 2016The container revolution, and what it means to operators   bay lisa - july 2016
The container revolution, and what it means to operators bay lisa - july 2016
 
Docker-Intro
Docker-IntroDocker-Intro
Docker-Intro
 
Intro to Docker October 2013
Intro to Docker October 2013Intro to Docker October 2013
Intro to Docker October 2013
 
Docker & Daily DevOps
Docker & Daily DevOpsDocker & Daily DevOps
Docker & Daily DevOps
 
Docker and-daily-devops
Docker and-daily-devopsDocker and-daily-devops
Docker and-daily-devops
 
Choosing PaaS: Cisco and Open Source Options: an overview
Choosing PaaS:  Cisco and Open Source Options: an overviewChoosing PaaS:  Cisco and Open Source Options: an overview
Choosing PaaS: Cisco and Open Source Options: an overview
 
Containers and Docker
Containers and DockerContainers and Docker
Containers and Docker
 
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
 
Docker - Portable Deployment
Docker - Portable DeploymentDocker - Portable Deployment
Docker - Portable Deployment
 
Docker intro
Docker introDocker intro
Docker intro
 
Docker open stack boston
Docker open stack bostonDocker open stack boston
Docker open stack boston
 

Recently uploaded

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 

Recently uploaded (20)

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 

Containers #101 Meetup: Containers & OpenStack

  • 1. THE RISE OF THE CONTAINER The Dev/Ops technology that accelerates Ops/Dev
  • 2. Robert Starmer: CTO for Kumulus Technologies OpenStack operations contributor since 2012 Operating OpenStack at Scale Supporting container migration for enterprise Kumulus Technologies: Systems Consultants supporting Cloud Migration @rstarmer, @kumulustech, http://kumul.us youtube.com/fiveminutesofcloud WHO AM I?
  • 3. AGENDA • Overview of the Container service space, a little history of containers. • Why Containers are _now_ the answer to Developers every desire. • The underbelly of the Container world, Container Operating Environments. • Operation needs and gaps in the Container integration space • A unified Container, Virtual, and Physical compute service, or how OpenStack (and other IaaS solutions) still fits into the equation.
  • 4. THE WHAT, WHY, AND HOW OF CONTAINERS
  • 5. WHAT DO WE MEAN? A CONTAINER… • Principally containers == Linux containers* • Provides a segregation model at the process level rather than emulating a complete computer • Uses cgroups and namespaces to segregate processes * yes, other container technologies exist
  • 6. CONTAINERS, THE SHORT HISTORY • One system multi-segregation goes back to time-share systems of the 1960/70s • In the mini-computer/Unix era, the kernel included process management and some initial segregation (root vs. user access) • BSD Jails, Solaris Zones, LXC (and Google’s LMCTFY)
  • 7. LINUX CONTAINERS • ~2005 Google, along with Canonical, took an interest in the early Linux container model, supporting efforts around LXC • Other than Google and bleeding edge developers, containers were seen as difficult to use • Docker changed this: layered ‘light’ images and a registry
  • 8. WHY NOT JUST STICK WITH VMS? Bare Metal (Nova & Ironic) x86, ARM, other processor Memory Local “block” storage subsystem Hypervisor (Nova) Hypervisor - Hardware access management and segregation ESX, KVM, Hyper-V, Xen, LPAR Container (Nova) OS level segregation of processes Docker/LXC, Solaris containers Hardware APP APP APP Host OS bin/lib bin/lib bin/lib Hardware APP OS Hypervisor APP OS APP OS Host OS bin/lib bin/lib Virtual machine Guest OS bin/lib Hardware APP bin/lib Container Engine APP bin/lib APP bin/lib Host OS Container
  • 9. WHY NOT JUST STICK WITH VMS? • Speed: sub-second vs. multi-second startup • Simplification: One light image from laptop to production • Layers: Docker image format simplifies base images • Embedded Ops: Operational value built in (load balancing) • Container == Process container, VM == OS container
  • 10. AGILE DEVELOPMENT AND CONTAINERS • The real driver behind the current container craze: Dev/Ops • Agile development == always working always tested code • If I can build my app and have tests running in a second, I’m more likely to test… • …and I don’t have to worry about the underlying OS
  • 11. DEVELOPERS 💔 OPERATIONS • Dev/Ops is a stepping stone for many developers • Enabled application development models that were not previously possible • Ops is something to limit and reduce • There is a growing #serverless community - focusing on just the application again
  • 12. DEVELOPERS ❤️ CONTAINERS • Docker image format makes it easy to build “app” environment • Use for Unit test (on developer machine) • Use same image for QA/system tests • Use same image in staging/final test • Use same image in production
  • 13. STILL NEED TO “OPERATE” CONTAINERS • Can’t avoid some operations • Manage application failures gracefully • Provide some scale services (e.g. Load balancing) • Managing interactions and security between multi-container services and solutions
  • 14. IT IS NOT JUST A CONTAINER THOUGH…
  • 15. THE FIELD OF CONTAINER MANAGEMENT • LXC and LXD or libvirt-lxc • Docker and Docker(plus Swarm) • Docker, LXC and Kubernetes • Docker, LXC, etc. and Mesos/DCOS • Docker Cloud, Rancher, DCOS, CoreOS Fleet….
  • 16. MANAGEMENT FUNCTIONS • Lifecycle Management • Rolling Upgrades • Scheduling • Network Service • Storage Mapping • Seems like an IaaS might be of service
  • 18. MANAGING CONTAINERS Two ways to think about containers and OpenStack: • OpenStack managing VMs or Bare Metal running Containers one for all • OpenStack managing a COE per tenant, tenant manages the Container management • OpenStack being run on Containers either on an OpenStack undercloud, or on bare metal/container management
  • 19. RUNNING CONTAINERS ON OPENSTACK Where are you going to run your containers: • VM (eg. Nova to Linux OS or “Container OS”) • Bare Metal (eg. Ironic to Linux OS or “Container OS”) • Container “Directly” (e.g. Higgins) <newest addition How do you launch Containers? • LXC/LXD libvirt commands? • Docker commands? • Kubernetes/Mesos-Marathon/etc.
  • 20. ADD MANAGEMENT… AND? Tenant/Project based, or global OpenStack deployment Network interaction model • tunneling (is your base OS already tunneling?) • NAT And SLB services? Storage • shared backend, or brokered backend (e.g. exposed by Openstack)
  • 21. SCHEDULING • Container management services still need better embedded scheduling (affinity/anti-affinity at least) • No integration between underlying scheduler (e.g. Nova) and overlay scheduling (e.g. Kubernetes) • Lack of interaction could see multiple “container” VMs on the same physical host… No different than any other cloud app
  • 22. SINGLE MANAGEMENT FOR ALL • Deploy a Docker-swarm or Kubernetes or… for the entire OpenStack service • Consistency • Single model/centralized control • Removes any Infrastructure Ops burden from developers • Still has security issues (perhaps even more so, shared syscall interaface in the kernel)
  • 23. PER TENANT MANAGEMENT • OS team enables deployment of an environment (e.g Docker, Kubernetes, etc.) to as a set of VMs for an individual Project/Tenant. • Now project owners are Ops managers again for their container management • Leverage one to deploy: Magnum, Monasca, HEAT
  • 25. • Load balanced front end services and even some portion of the back-end can be run as containers • Storage elements (e.g. database) and middleware (e.g. RabbitMQ) may be better suited to VMs and or Ironic • Chicken vs. egg issue OPENSTACK AS A DISTRIBUTED APPLICATION
  • 26. KOLLA PROJECT • Containerize OpenStack • Simplifies the creation of individual containers for each individual service element (neutron-api vs neutron-scheduler) • Can be used to support rolling upgrades (and even downgrades) • https://github.com/openstack/kolla
  • 27. • To use OpenStack, hardware is needed • To use Kubernetes, hardware is needed • Which is first ? (i.e. OpenStack standalone with Ironic or Kubernetes/Docker/etc. or through some other mechanism) WHO’S FIRST: OPENSTACK OR KUBERNETES?
  • 28. • Kolla-Kubernetes - http://docs.openstack.org/developer/kolla- kubernetes/index.html * Stacknetes - https://github.com/stackanetes * Fuel-CCP - https://github.com/openstack/fuel-ccp * SAP - http://github.com/sapcc * TCPCloud - http://www.tcpcloud.eu/en/blog/2016/08/04/making- openstack-production-ready-kubernetes-and-openstack-salt-part-3/ KUBERNETES OPENSTACK PROJECTS
  • 30. CONTAINERS • Containers == segregated processes (VM-lite) • Containers abstract the Operations Model • Containers need/leverage systems management: • Scale • Scheduling • Security • Containers can (should?) run on IaaS