docker with openstack
DESCRIPTION
Docker with openstackTRANSCRIPT
Date: Shanghai, 20 APRIL. 2014
Author: Liang Bo
Docker with OpenStackManage Your Linux Container With Docker & OpenStack
1
Date: Shanghai, 20 APRIL. 2014
Author: Liang Bo
2
梁博 曾在微软从事企业应⽤用顾问。⺫⽬目前是trystack.cn的OpenStack架构师,和99cloud的解决⽅方案专家
!
Email: [email protected]
weibo: @onetownx
PAGE: OpenStack & Docker
Agenda
• Introduce to OpenStack • Introduce to Docker • OpenStack and Docker • Demo of Docker + OpenStack • Q&A
3
PAGE: OpenStack & Docker
What is OpenStack
4
Introduce to OpenStack
PAGE: OpenStack & Docker
OpenStack: The Open Source Cloud Operating System
5
PAGE: OpenStack & Docker
OpenStack Components
6
Compute Nova
Storage Swift / Cinder
Network Neutron
Telemetry Ceilometer
Identity Keystone
Images Glance
Orchestration Heat
Dashboard Horizon Your App Your App ➕
PAGE: OpenStack & Docker
OpenStack IceHouse
7
Key Growth Stats
Developer Growth1,202 contributors to Icehouse; a 32%
increase from the Havana release
Total Number of Features
350 new features; focus on testing, maturity and stability this release cycle
Bugs Fixed2,902 bugs fixed during the Icehouse
release cycle
Top Companies Committing Code
Redhat, IBM, HP, Rackspace, Mirantis, SUSE, eNovance, Vmware
TranslationsDashboard now supports 16 languages,
internationalisation team translated nearly 700,000 words during Icehouse cycle
Testing53 third-part CI systems registered in
Icehouse cycle
"
PAGE:
Popular Deployment
8
Public Switch 10.10.1.0/24
!CONTROLLER!!KEYSTONE!NOVA-COMPONENTS!GLANCE!NEUTRON-SERVER!CINDER
!NETWORK NODE!!OVS-AGENT!DHCP-AGENT!L3-AGENT!METADATA-AGENT!
!COMPUTE NODE!!NOVA-COMPUTE!OVS-AGENT
Private Switch 172.16.0.0/24
OVS OVS
PAGE: OpenStack & Docker
What is Docker
9
Introduce to Docker
PAGE: OpenStack & Docker
Introduction
• Container based virtualization framework • Container provide sand-boxing • Docker allow simple portability • It all works fast • Docker is easy on the system resources • Free of framework, language or platform
dependencies • Docker reduces complexity
10
PAGE: OpenStack & Docker
Container vs. VMs
11
Server
Host OS
Hypervisor
App A
Bins/Libs
Guest OS
App A
Bins/Libs
Guest OS
App B
Bins/Libs
Guest OS
VM
Server
Host OS
Docker
Bins/Libs Bins/Libs
App A
App A
App B
App B
App B
Container
Containers are isolated, but share OS and, where appropriate, bins/libraries
PAGE: OpenStack & Docker
The basics of the Docker System
12
#Dockerfile!
For !A
Host OS 1
Docker
Container A
Host OS 2
Docker Container!
Image Registry
Push
Search Pull
Run
Build
PAGE: OpenStack & Docker
OpenStack & Docker
13
Integration
PAGE: OpenStack & Docker
Docker in OpenStack Havana
14
!Nova supports Docker as a new hypervisor starting with the Havana release
Deploy containers instead of VM with the same API (Nova)
PAGE: OpenStack & Docker
Nova + Docker
15
PAGE: OpenStack & Docker
Launch Process
16
PAGE: OpenStack & Docker
Flexible Cloud Provision
17
!Linux A NODE!!NOVA-COMPUTE!Docker
!Linux B NODE!!NOVA-COMPUTE!Docker
!Linux C NODE!!NOVA-COMPUTE!Docker
!Nova Controller!
Date: Shanghai, 20 APRIL. 2014
Author: Liang Bo
18
QUESTIONS and ANSWERSWhere we hope you’ll find the answer to any question you may have about
R !Go ahead. Ask away. Give us your best shot.