SlideShare uma empresa Scribd logo
1 de 42
Baixar para ler offline
Containers management
in Openstack
Alessandro M. Martellone - Cloud Engineer
Daniel Depaoli - Cloud Developer
Webinar on December 3th, 2015 - 15:00 CET
Hello!
I am Alessandro M. Martellone
I am Daniel Depaoli
I am an enthusiastic user of OpenStack too!
I work at Create-Net and I’m involved in software defined
networking and cloud network project. I’m also an Openstack
devops.
Contacts:
ddepaoli@create-net.org
http://www.linkedin.com/in/ddepaoli
I am an enthusiastic user of OpenStack.
I work at Create-Net as Cloud Platform Engineer. Mainly
involved on Future Internet infrastructures and cloud
platforms.
Contacts:
amartellone@create-net.org
http://www.linkedin.com/in/alessandromartellone
1.
Introduction
A brief introduction
Content
1. Introduction
2. Containers
a. What are containers
b. LXC
c. Docker
d. Kubernetes
3. Murano
4. Container in Openstack
a. Nova docker
b. Murano
c. Magnum
5. Demo
a. Nova docker
b. Magnum (https://vimeo.com/128538940)
c. Murano
d. Murano and docker
e. Murano and Kubernetes
2.a
Containers
What are Containers? How are they implemented?
■ Many objects to transport
■ Many transports type
The problem in real world
The problem in real world
■ Many frameworks, many
libraries, softwares, versions,
etc.
■ Many operating systems
■ Many steps and many times to
configure a working environment
The problem
Hardware resource
A container is an
allocation, portioning,
and assignment of host
(compute) resources
such as CPU Shares,
Network I/O, Bandwidth,
Block I/O, and Memory
(RAM).
Software Containers
Namespace
Using of namespaces to
isolate processes,
networks, mount points
from one container to
others.
Common Kernel
Containers model
eliminates the hypervisor
layer, redundant OS
kernels, binaries and
libraries needed to
typically run workloads
in a vm.
Hypervisor vs Containers
Hypervisor Operating System
Kernel
1
VM 1
(Ubuntu)
Kernel
2
VM 2
(Centos)
Kernel
3
VM 3
(Windows)
Hypervisor
Kernel
Containers Service
Service container
1
(Web Server)
Service container
2
(Database)
Service container
3
(Continuous
Integration)
Container engine
Kernel
Containers Operating System
Container 1
(Ubuntu)
Container 2
(Centos)
Container 3
(Debian)
Container engine
Kernel
Why Containers?
Speed
Ships within
seconds,
automated deploy
in seconds, boot in
seconds.
Footprint
In a single machine
100-1000
containers, against
10-100 virtual
machines
Still
Virtualization
Networks, file
system, resource
isolation
2.b
Containers implementation
How are they implemented?
Containers
● Docker
● Linux Containers
● many others
● Kubernetes
LXC (Linux Containers)
■ Working with Linux Kernel > 2.6.24 when cgroups was
introduced
■ It combines kernel's cgroups and support for isolated
namespaces to provide an isolated environment for
applications.
Docker
API + tools for developers
cross platform
component re-use
● online containers repository
Docker is an open platform for developers and
sysadmins to build, ship, and run distributed
applications.
Docker
Other implementations
Warden
BSD Jails
Workload partitions Parallels Virtuozzo Containers
Sandboxie
WPARS
Solaris Containers
Linux V-Server
iCore Virtual Accounts
Hp-UX Containers
Rocket (rkt)
Kubernetes
Open source system for managing containerized
applications across multiple hosts, providing basic
mechanisms for deployment, maintenance, and
scaling of applications.
● deployment automation
● scaling application
● cluster management
● container organizer
Kubernetes - High level architecture
● Cluster: set of nodes
● Master: Main cluster node.
It’s the main management
contact point for
administrators
● Minion: working server
● Pod: one or more containers
that should be controlled as
a single application
Kubernetes main processes
Controller
manager
Replication
pods
management
Proxy
Containers
network
manager
Label (etcd)
key/value pair
for objects
identification
Kubelet
Container agent,
ensure
containers
running
Api
Api service
Scheduler
Assignment of
workloads
Docker
Kubernetes - Architecture
Master
API
REST
Scheduling
actuator
Scheduler
Controller
manager
Kubernetes Client
etcd
Authorization
Minion
Kubelet Proxy
Pod
Container
3.
Murano
An Openstack application catalog
Why Murano?
■ Applications deployment
■ Integration with Openstack
■ Public and browsable applications
Murano
An application catalog that enable developers and
cloud administrators to publish various cloud-ready
applications in a browsable categorized catalog
Murano
Murano
4.
Containers in Openstack
How to integrate containers in Openstack cloud
Containers in Openstack
● Nova docker
● Murano and Docker
● Murano and Kubernetes
● Magnum
Nova docker
An hypervisor driver for Nova Compute
Deprecated
Nova docker
● “replace” the Nova compute hypervisor
● runs only docker containers
● consider a containers as a virtual machine
● compute node dedicated for it
Docker and Murano
Murano should deploy a Machine with docker engine and load on it a container.
Kubernetes and Murano
Murano should also deploy a Kubernetes environment.
Magnum
An OpenStack API service making container
orchestration engines available as first class
resource
Magnum
● Multi containers type support
● Uses Heat to orchestrate an OS image with containers
engine
● Full OpenStack integrate
5.
Video Demo
Demo 1 Nova Docker
Demo 2 Magnum (https://vimeo.com/128538940)
Demo 3 Murano
Demo 4 Murano and docker
Demo 5 Murano and Kubernetes
OpenStack Bootcamp
The main topics covered are:
■ Overview on OpenStack and its
architecture,
■ OpenStack networking;
■ Swift;
■ Ceilometer and its architecture,
■ Heat Overview;
■ OpenStack deployment.
At the end of the Bootcamp each
student will be able to:
■ Describe the architecture of an
OpenStack deployment;
■ Discuss the main functionalities
of OpenStack;
■ Deploy, configure and use the
Openstack services;
■ Create and manage VMs and
Virtual Networks;
■ Create and manage, suers, roles,
and quotas;
■ Use the OpenStack CLI and
Dashboard.
In partnership with Mirantis
For further information:
http://openstack.create-net.org
openstack@create-net.org
Reference
[1] https://www.docker.com/whatisdocker
[2] http://www.slideshare.net/jpetazzo/introduction-docker-linux-containers-lxc
[3] https://linuxcontainers.org/lxc/introduction/
[4] https://coreos.com/blog/rocket/
[5] http://kubernetes.io/v1.0/docs/whatisk8s.html
[6] https://docs.docker.com/swarm/
[7] https://coreos.com/
[8] http://www.projectatomic.io/
[9] https://wiki.openstack.org/wiki/Docker
[10] https://wiki.openstack.org/wiki/Murano
[11] https://wiki.openstack.org/wiki/Magnum
[12] http://kubernetes.io/v1.0/docs/whatisk8s.html
[13] http://aucouranton.com/2014/06/13/linux-containers-parallels-lxc-openvz-docker-and-more/
[14] http://www.socallinuxexpo.org/sites/default/files/presentations/Jerome-
Scale11x%20LXC%20Talk.pdf
[15] http://martinfowler.com/articles/microservices.html
[16] https://www.digitalocean.com/community/tutorials/an-introduction-to-kubernetes
[17] https://blog.risingstack.com/operating-system-containers-vs-application-containers/
[18] https://github.com/appc/spec/blob/master/SPEC.md
[19] http://media.wix.com/ugd/295986_d5059f95a78e451db5de3d54f711e45d.pdf
Thanks!
Watch the video
at
https://www.youtube.co
m/watch?v=w9Qxjid3CdY

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Kubernetes 101 and Fun
Kubernetes 101 and FunKubernetes 101 and Fun
Kubernetes 101 and Fun
 
Learn kubernetes in 90 minutes
Learn kubernetes in 90 minutesLearn kubernetes in 90 minutes
Learn kubernetes in 90 minutes
 
OpenStack Magnum
OpenStack MagnumOpenStack Magnum
OpenStack Magnum
 
Kubernetes and Hybrid Deployments
Kubernetes and Hybrid DeploymentsKubernetes and Hybrid Deployments
Kubernetes and Hybrid Deployments
 
Kubernetes Interview Questions And Answers | Kubernetes Tutorial | Kubernetes...
Kubernetes Interview Questions And Answers | Kubernetes Tutorial | Kubernetes...Kubernetes Interview Questions And Answers | Kubernetes Tutorial | Kubernetes...
Kubernetes Interview Questions And Answers | Kubernetes Tutorial | Kubernetes...
 
O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...
O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...
O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...
 
Introduction kubernetes 2017_12_24
Introduction kubernetes 2017_12_24Introduction kubernetes 2017_12_24
Introduction kubernetes 2017_12_24
 
Kubernetes Hands-On Guide
Kubernetes Hands-On GuideKubernetes Hands-On Guide
Kubernetes Hands-On Guide
 
Magnum first-class-resource
Magnum first-class-resourceMagnum first-class-resource
Magnum first-class-resource
 
Apache Stratos 4.1.0 Architecture
Apache Stratos 4.1.0 ArchitectureApache Stratos 4.1.0 Architecture
Apache Stratos 4.1.0 Architecture
 
Docker and kubernetes
Docker and kubernetesDocker and kubernetes
Docker and kubernetes
 
Using Docker with OpenStack - Hands On!
 Using Docker with OpenStack - Hands On! Using Docker with OpenStack - Hands On!
Using Docker with OpenStack - Hands On!
 
Containers without docker
Containers without dockerContainers without docker
Containers without docker
 
Containers, Clusters and Kubernetes - Brendan Burns - Defrag 2014
Containers, Clusters and Kubernetes - Brendan Burns - Defrag 2014Containers, Clusters and Kubernetes - Brendan Burns - Defrag 2014
Containers, Clusters and Kubernetes - Brendan Burns - Defrag 2014
 
Kubernetes architecture
Kubernetes architectureKubernetes architecture
Kubernetes architecture
 
Scaling Docker Containers using Kubernetes and Azure Container Service
Scaling Docker Containers using Kubernetes and Azure Container ServiceScaling Docker Containers using Kubernetes and Azure Container Service
Scaling Docker Containers using Kubernetes and Azure Container Service
 
Revolutionizing WSO2 PaaS with Kubernetes & App Factory
Revolutionizing WSO2 PaaS with Kubernetes & App FactoryRevolutionizing WSO2 PaaS with Kubernetes & App Factory
Revolutionizing WSO2 PaaS with Kubernetes & App Factory
 
Kubernetes with docker
Kubernetes with dockerKubernetes with docker
Kubernetes with docker
 
Introduction of Kubernetes - Trang Nguyen
Introduction of Kubernetes - Trang NguyenIntroduction of Kubernetes - Trang Nguyen
Introduction of Kubernetes - Trang Nguyen
 
Top 3 reasons why you should run your Enterprise workloads on GKE
Top 3 reasons why you should run your Enterprise workloads on GKETop 3 reasons why you should run your Enterprise workloads on GKE
Top 3 reasons why you should run your Enterprise workloads on GKE
 

Destaque

2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
Mirantis
 

Destaque (20)

Managing Container Clusters in OpenStack Native Way
Managing Container Clusters in OpenStack Native WayManaging Container Clusters in OpenStack Native Way
Managing Container Clusters in OpenStack Native Way
 
Cloud init and cloud provisioning [openstack summit vancouver]
Cloud init and cloud provisioning [openstack summit vancouver]Cloud init and cloud provisioning [openstack summit vancouver]
Cloud init and cloud provisioning [openstack summit vancouver]
 
Open Container Technologies and OpenStack - Sorting Through Kubernetes, the O...
Open Container Technologies and OpenStack - Sorting Through Kubernetes, the O...Open Container Technologies and OpenStack - Sorting Through Kubernetes, the O...
Open Container Technologies and OpenStack - Sorting Through Kubernetes, the O...
 
Architecting Ceph Solutions
Architecting Ceph SolutionsArchitecting Ceph Solutions
Architecting Ceph Solutions
 
My SQL and Ceph: Head-to-Head Performance Lab
My SQL and Ceph: Head-to-Head Performance LabMy SQL and Ceph: Head-to-Head Performance Lab
My SQL and Ceph: Head-to-Head Performance Lab
 
TUT18972: Unleash the power of Ceph across the Data Center
TUT18972: Unleash the power of Ceph across the Data CenterTUT18972: Unleash the power of Ceph across the Data Center
TUT18972: Unleash the power of Ceph across the Data Center
 
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
 
OpenStack Architecture
OpenStack ArchitectureOpenStack Architecture
OpenStack Architecture
 
Turning Containers into Cattle
Turning Containers into CattleTurning Containers into Cattle
Turning Containers into Cattle
 
How to Monitor Application Performance in a Container-Based World
How to Monitor Application Performance in a Container-Based WorldHow to Monitor Application Performance in a Container-Based World
How to Monitor Application Performance in a Container-Based World
 
Streamlining HPC Workloads with Containers
Streamlining HPC Workloads with ContainersStreamlining HPC Workloads with Containers
Streamlining HPC Workloads with Containers
 
Who carries your container? Zun or Magnum?
Who carries your container? Zun or Magnum?Who carries your container? Zun or Magnum?
Who carries your container? Zun or Magnum?
 
KubeCon EU 2016: Multi-Tenant Kubernetes
KubeCon EU 2016: Multi-Tenant KubernetesKubeCon EU 2016: Multi-Tenant Kubernetes
KubeCon EU 2016: Multi-Tenant Kubernetes
 
OpenStack Neutron Behind The Senes
OpenStack Neutron Behind The SenesOpenStack Neutron Behind The Senes
OpenStack Neutron Behind The Senes
 
Zun presentation (OpenStack Barcelona summit)
Zun presentation (OpenStack Barcelona summit)Zun presentation (OpenStack Barcelona summit)
Zun presentation (OpenStack Barcelona summit)
 
[Container world 2017] The Questions You're Afraid to Ask about Containers
[Container world 2017] The Questions You're Afraid to Ask about Containers[Container world 2017] The Questions You're Afraid to Ask about Containers
[Container world 2017] The Questions You're Afraid to Ask about Containers
 
Automating OpenStack Deployment with Fuel
Automating OpenStack Deployment with FuelAutomating OpenStack Deployment with Fuel
Automating OpenStack Deployment with Fuel
 
State of Containers in OpenStack
State of Containers in OpenStackState of Containers in OpenStack
State of Containers in OpenStack
 
Neutron Network Namespaces and IPtables--A Technical Deep Dive
Neutron Network Namespaces and IPtables--A Technical Deep DiveNeutron Network Namespaces and IPtables--A Technical Deep Dive
Neutron Network Namespaces and IPtables--A Technical Deep Dive
 
OpenStack Best Practices and Considerations - terasky tech day
OpenStack Best Practices and Considerations  - terasky tech dayOpenStack Best Practices and Considerations  - terasky tech day
OpenStack Best Practices and Considerations - terasky tech day
 

Semelhante a Webinar container management in OpenStack

Revolutionizing the cloud with container virtualization
Revolutionizing the cloud with container virtualizationRevolutionizing the cloud with container virtualization
Revolutionizing the cloud with container virtualization
WSO2
 

Semelhante a Webinar container management in OpenStack (20)

Dev opsec dockerimage_patch_n_lifecyclemanagement_
Dev opsec dockerimage_patch_n_lifecyclemanagement_Dev opsec dockerimage_patch_n_lifecyclemanagement_
Dev opsec dockerimage_patch_n_lifecyclemanagement_
 
Microservices in academic environment
Microservices in academic environmentMicroservices in academic environment
Microservices in academic environment
 
Containerize! Between Docker and Jube.
Containerize! Between Docker and Jube.Containerize! Between Docker and Jube.
Containerize! Between Docker and Jube.
 
Scalable Spark deployment using Kubernetes
Scalable Spark deployment using KubernetesScalable Spark deployment using Kubernetes
Scalable Spark deployment using Kubernetes
 
Kubernetes - how to orchestrate containers
Kubernetes - how to orchestrate containersKubernetes - how to orchestrate containers
Kubernetes - how to orchestrate containers
 
Docker Application to Scientific Computing
Docker Application to Scientific ComputingDocker Application to Scientific Computing
Docker Application to Scientific Computing
 
Docker dev ops for cd meetup 12-14
Docker dev ops for cd meetup 12-14Docker dev ops for cd meetup 12-14
Docker dev ops for cd meetup 12-14
 
Introduction to containers a practical session using core os and docker
Introduction to containers  a practical session using core os and dockerIntroduction to containers  a practical session using core os and docker
Introduction to containers a practical session using core os and docker
 
Velocity NYC 2017: Building Resilient Microservices with Kubernetes, Docker, ...
Velocity NYC 2017: Building Resilient Microservices with Kubernetes, Docker, ...Velocity NYC 2017: Building Resilient Microservices with Kubernetes, Docker, ...
Velocity NYC 2017: Building Resilient Microservices with Kubernetes, Docker, ...
 
Deploying and managing container-based applications with OpenStack and Kubern...
Deploying and managing container-based applications with OpenStack and Kubern...Deploying and managing container-based applications with OpenStack and Kubern...
Deploying and managing container-based applications with OpenStack and Kubern...
 
Moby Open Source Summit North America 2017
Moby Open Source Summit North America 2017Moby Open Source Summit North America 2017
Moby Open Source Summit North America 2017
 
Kata Container - The Security of VM and The Speed of Container | Yuntong Jin
Kata Container - The Security of VM and The Speed of Container | Yuntong Jin	Kata Container - The Security of VM and The Speed of Container | Yuntong Jin
Kata Container - The Security of VM and The Speed of Container | Yuntong Jin
 
HLayer / Docker and its ecosystem
HLayer / Docker and its ecosystemHLayer / Docker and its ecosystem
HLayer / Docker and its ecosystem
 
DCSF19 How Docker Simplifies Kubernetes for the Masses
DCSF19 How Docker Simplifies Kubernetes for the Masses  DCSF19 How Docker Simplifies Kubernetes for the Masses
DCSF19 How Docker Simplifies Kubernetes for the Masses
 
Revolutionizing the cloud with container virtualization
Revolutionizing the cloud with container virtualizationRevolutionizing the cloud with container virtualization
Revolutionizing the cloud with container virtualization
 
Kubernetes for Java Developers
Kubernetes for Java DevelopersKubernetes for Java Developers
Kubernetes for Java Developers
 
Docker - The Linux container
Docker - The  Linux containerDocker - The  Linux container
Docker - The Linux container
 
(Open)Stacking Containers
(Open)Stacking Containers(Open)Stacking Containers
(Open)Stacking Containers
 
Docker up and Running For Web Developers
Docker up and Running For Web DevelopersDocker up and Running For Web Developers
Docker up and Running For Web Developers
 
Docker Up and Running for Web Developers
Docker Up and Running for Web DevelopersDocker Up and Running for Web Developers
Docker Up and Running for Web Developers
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 

Webinar container management in OpenStack

  • 1. Containers management in Openstack Alessandro M. Martellone - Cloud Engineer Daniel Depaoli - Cloud Developer Webinar on December 3th, 2015 - 15:00 CET
  • 2. Hello! I am Alessandro M. Martellone I am Daniel Depaoli I am an enthusiastic user of OpenStack too! I work at Create-Net and I’m involved in software defined networking and cloud network project. I’m also an Openstack devops. Contacts: ddepaoli@create-net.org http://www.linkedin.com/in/ddepaoli I am an enthusiastic user of OpenStack. I work at Create-Net as Cloud Platform Engineer. Mainly involved on Future Internet infrastructures and cloud platforms. Contacts: amartellone@create-net.org http://www.linkedin.com/in/alessandromartellone
  • 4. Content 1. Introduction 2. Containers a. What are containers b. LXC c. Docker d. Kubernetes 3. Murano 4. Container in Openstack a. Nova docker b. Murano c. Magnum 5. Demo a. Nova docker b. Magnum (https://vimeo.com/128538940) c. Murano d. Murano and docker e. Murano and Kubernetes
  • 5. 2.a Containers What are Containers? How are they implemented?
  • 6. ■ Many objects to transport ■ Many transports type The problem in real world
  • 7. The problem in real world
  • 8. ■ Many frameworks, many libraries, softwares, versions, etc. ■ Many operating systems ■ Many steps and many times to configure a working environment The problem
  • 9. Hardware resource A container is an allocation, portioning, and assignment of host (compute) resources such as CPU Shares, Network I/O, Bandwidth, Block I/O, and Memory (RAM). Software Containers Namespace Using of namespaces to isolate processes, networks, mount points from one container to others. Common Kernel Containers model eliminates the hypervisor layer, redundant OS kernels, binaries and libraries needed to typically run workloads in a vm.
  • 11. Hypervisor Operating System Kernel 1 VM 1 (Ubuntu) Kernel 2 VM 2 (Centos) Kernel 3 VM 3 (Windows) Hypervisor Kernel
  • 12. Containers Service Service container 1 (Web Server) Service container 2 (Database) Service container 3 (Continuous Integration) Container engine Kernel
  • 13. Containers Operating System Container 1 (Ubuntu) Container 2 (Centos) Container 3 (Debian) Container engine Kernel
  • 14. Why Containers? Speed Ships within seconds, automated deploy in seconds, boot in seconds. Footprint In a single machine 100-1000 containers, against 10-100 virtual machines Still Virtualization Networks, file system, resource isolation
  • 16. Containers ● Docker ● Linux Containers ● many others ● Kubernetes
  • 17. LXC (Linux Containers) ■ Working with Linux Kernel > 2.6.24 when cgroups was introduced ■ It combines kernel's cgroups and support for isolated namespaces to provide an isolated environment for applications.
  • 18. Docker API + tools for developers cross platform component re-use ● online containers repository Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications.
  • 20. Other implementations Warden BSD Jails Workload partitions Parallels Virtuozzo Containers Sandboxie WPARS Solaris Containers Linux V-Server iCore Virtual Accounts Hp-UX Containers Rocket (rkt)
  • 21. Kubernetes Open source system for managing containerized applications across multiple hosts, providing basic mechanisms for deployment, maintenance, and scaling of applications. ● deployment automation ● scaling application ● cluster management ● container organizer
  • 22. Kubernetes - High level architecture ● Cluster: set of nodes ● Master: Main cluster node. It’s the main management contact point for administrators ● Minion: working server ● Pod: one or more containers that should be controlled as a single application
  • 23. Kubernetes main processes Controller manager Replication pods management Proxy Containers network manager Label (etcd) key/value pair for objects identification Kubelet Container agent, ensure containers running Api Api service Scheduler Assignment of workloads Docker
  • 26. Why Murano? ■ Applications deployment ■ Integration with Openstack ■ Public and browsable applications
  • 27. Murano An application catalog that enable developers and cloud administrators to publish various cloud-ready applications in a browsable categorized catalog
  • 30. 4. Containers in Openstack How to integrate containers in Openstack cloud
  • 31. Containers in Openstack ● Nova docker ● Murano and Docker ● Murano and Kubernetes ● Magnum
  • 32. Nova docker An hypervisor driver for Nova Compute Deprecated
  • 33. Nova docker ● “replace” the Nova compute hypervisor ● runs only docker containers ● consider a containers as a virtual machine ● compute node dedicated for it
  • 34. Docker and Murano Murano should deploy a Machine with docker engine and load on it a container.
  • 35. Kubernetes and Murano Murano should also deploy a Kubernetes environment.
  • 36. Magnum An OpenStack API service making container orchestration engines available as first class resource
  • 37. Magnum ● Multi containers type support ● Uses Heat to orchestrate an OS image with containers engine ● Full OpenStack integrate
  • 39. Demo 1 Nova Docker Demo 2 Magnum (https://vimeo.com/128538940) Demo 3 Murano Demo 4 Murano and docker Demo 5 Murano and Kubernetes
  • 40. OpenStack Bootcamp The main topics covered are: ■ Overview on OpenStack and its architecture, ■ OpenStack networking; ■ Swift; ■ Ceilometer and its architecture, ■ Heat Overview; ■ OpenStack deployment. At the end of the Bootcamp each student will be able to: ■ Describe the architecture of an OpenStack deployment; ■ Discuss the main functionalities of OpenStack; ■ Deploy, configure and use the Openstack services; ■ Create and manage VMs and Virtual Networks; ■ Create and manage, suers, roles, and quotas; ■ Use the OpenStack CLI and Dashboard. In partnership with Mirantis For further information: http://openstack.create-net.org openstack@create-net.org
  • 41. Reference [1] https://www.docker.com/whatisdocker [2] http://www.slideshare.net/jpetazzo/introduction-docker-linux-containers-lxc [3] https://linuxcontainers.org/lxc/introduction/ [4] https://coreos.com/blog/rocket/ [5] http://kubernetes.io/v1.0/docs/whatisk8s.html [6] https://docs.docker.com/swarm/ [7] https://coreos.com/ [8] http://www.projectatomic.io/ [9] https://wiki.openstack.org/wiki/Docker [10] https://wiki.openstack.org/wiki/Murano [11] https://wiki.openstack.org/wiki/Magnum [12] http://kubernetes.io/v1.0/docs/whatisk8s.html [13] http://aucouranton.com/2014/06/13/linux-containers-parallels-lxc-openvz-docker-and-more/ [14] http://www.socallinuxexpo.org/sites/default/files/presentations/Jerome- Scale11x%20LXC%20Talk.pdf [15] http://martinfowler.com/articles/microservices.html [16] https://www.digitalocean.com/community/tutorials/an-introduction-to-kubernetes [17] https://blog.risingstack.com/operating-system-containers-vs-application-containers/ [18] https://github.com/appc/spec/blob/master/SPEC.md [19] http://media.wix.com/ugd/295986_d5059f95a78e451db5de3d54f711e45d.pdf