SDN Fundamentals for NFV, OpenStack, and Containers (Red Hat Summit 2016)
OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To...
Transcript of OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To...
![Page 1: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/1.jpg)
Let’s talk about the Cloud Part II : OpenStack and Containers
inovex Meetup Cologne
2015, May 27th Arash Kaffamanesh (@kaffamanesh)
www.cloudssky.com
![Page 2: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/2.jpg)
About OpenStack-X Meetup Group
● Founded: April 2014 ● Meetups: 3 ● Stackers: 118 ● Location: Cologne ● Sponsors: ○ RDO Community ○ PLUMgrid ○ Clouds Sky GmbH ○ Still some more places are free ;-)
● Co-Organizers Wanted
![Page 3: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/3.jpg)
Let’s talk about ...
● OpenStack and Containers o About OpenStack o A Container ... o About Magnum (Demo) o About Kolla o OpenStack needs Containers o Containers need OpenStack (?) o Discussion : Do they need each other?
![Page 4: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/4.jpg)
About OpenStack
● Open Source Cloud Operating System ● Was initiated by NASA and Rackspace in
June 2010 ● Is the largest open source project helping to
build private cloud environment or to build public cloud offerings
● OpenStack Foundation founded in 2012 ● Over 1 million lines of code
![Page 5: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/5.jpg)
OpenStack Services
![Page 6: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/6.jpg)
The Beauty of OpenStack
![Page 7: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/7.jpg)
The Reality of OpenStack
![Page 8: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/8.jpg)
OpenStack used by
![Page 9: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/9.jpg)
OpenStack Private Cloud aaS
http://www.openstack.org/marketplace/hosted-private-clouds/
![Page 10: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/10.jpg)
OpenStack Public Cloud Providers
http://www.openstack.org/marketplace/public-clouds/
![Page 11: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/11.jpg)
Container History
● 1988: FreeBSD Jail ● 2005: Solaris Zones ● 2005: OpenVZ ● 2008: LXC ● 2013: Docker ● 2014: Rocket ● 2015: Wocker :-)
![Page 12: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/12.jpg)
A Container ...
● Uses Kernel Namespaces ● Uses Linux Cgroups ● Uses Container Image (e.g. Docker Image) ● Has a Lifecycle ● Is a slice of the Kernel ● Is inexpensive and fast ● Could be unsecure
o docker daemon runs as root (libvirt libcontainer)
o RKT is daemon less (systemd nspawn)
![Page 13: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/13.jpg)
A Container ...
● Uses Kernel Namespaces ● Uses Linux Cgroups ● Uses Container Image (e.g. Docker Image) ● Has a Lifecycle ● Is a slice of the Kernel ● Is inexpensive and fast ● Could be unsecure
![Page 14: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/14.jpg)
About Magnum ● Magnum is an API Service on OpenStack ● Provides CaaS (Containers as a Service) ● Integrates
o Heat (Orchestration) o Kubernetes (Cluster Manager, Scheduler) o Docker (Container Manager) o Flannel (Overlay Network) o Keystone and Neutron
● Uses o Micro OSes (Atomic Host, CoreOS, ...) for
running Micro Services by Micro Teams :-)
![Page 15: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/15.jpg)
About Magnum Creators ● Steven Dake (Cisco) ● Adrian Otto (Rackspace)
![Page 16: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/16.jpg)
Magnum Community
![Page 17: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/17.jpg)
Magnum Architecture
● There are 7 type of objects in magnum ○ Bay: collection of nodes ○ BayModel: template for bays (define coe) ○ Node: VM or bare-metal running MicroOS ○ Pod: collection of containers ○ Service: abstraction of pods + policy to
access pods ○ ReplicationController: manages pods and
makes sure a certain number of pods are running
○ Container (a docker container)
![Page 18: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/18.jpg)
Magnum Architecture
Source: https://wiki.openstack.org/wiki/Magnum
![Page 19: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/19.jpg)
Magnum Resource Bay (K8S Cluster)
Source: https://www.openstack.org/summit/vancouver-2015/summit-videos/presentation/magnum-containers-as-a-service-for-openstack
![Page 20: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/20.jpg)
Magnum Resource Bay (Swarm Cluster)
Source: https://www.openstack.org/summit/vancouver-2015/summit-videos/presentation/magnum-containers-as-a-service-for-openstack
![Page 21: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/21.jpg)
Magnum Roadmap ... (?) ● Ironic Support ● Autoscaling ● Auto-Restarts ● Support for RKT ● RancherOS Support (?)
![Page 22: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/22.jpg)
It’s Magnum Demo Time
![Page 23: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/23.jpg)
Magnum on DevStack
![Page 24: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/24.jpg)
Magnum on DevStack
![Page 25: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/25.jpg)
Magnum on DevStack
![Page 26: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/26.jpg)
Magnum on DevStack
![Page 27: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/27.jpg)
Magnum on DevStack
![Page 28: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/28.jpg)
Magnum has the potential ...
● To become a Magnum Opus ● To provide cloud ready apps and services ● To manage Multi Tenant aware Container
Topologies ● To use OpenStack as a first class citizen for
container technology ● To help people helping people
![Page 29: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/29.jpg)
About Kolla
● Containers for OpenStack o Stackforge Project o Docker Container based OpenStack
deployment (image based) o Containerizing OpenStack Services o Solves manageability and availability
problems o Offers atomic upgrade of a running
system with minimal interruption in service (10 seconds)
![Page 30: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/30.jpg)
Kolla OpenStack Docker Images
![Page 31: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/31.jpg)
Discussion Let’s talk about ...
![Page 32: OpenStack and Containers - inovex GmbH · OpenStack and Containers ... (Cisco) Adrian Otto ... To use OpenStack as a first class citizen for](https://reader031.fdocuments.us/reader031/viewer/2022021515/5b15c5e87f8b9a824f8b4b7e/html5/thumbnails/32.jpg)
Thank You for Your attention!