fundamentals
Agenda
 What is OpenStack?
 Components overview
 Different flavors of OpenStack
 Deploying methods
 Architecture
About me
 Private Cloud
 DevOps
 Automation Developer
 A Basketball Guy
What is OpenStack?
Background
 OpenStack began in 2010 as a joint project NASA of and
Rackspace Hosting
 It is managed by the OpenStack Foundation
 More than 500 companies have joined the project
What is OpenStack?
OpenStack is a cloud operating system that controls large
pools of compute, storage, and networking resources
throughout a datacenter, all managed through a dashboard
that gives administrators control while empowering their users
to provision resources through a web interface.
OpenStack for Cloud-Aware applications
Components
Overview
OpenStack as a modular cloud
OpenStack is a modular collection of cloud components.
Each of these components, which are also known as projects, is
a collection of services that handles an IAAS resource such as
compute, networking and authentication.
There is a vast variety of projects out there,
You just need to choose.
Core Projects:
NOVA NEUTRON SWIFT KEYSTONECINDERGLANCE
 Instance management component
 Scheduler
 NOT a hypervisor!
 Can manage most common hypervisonrs:
KVM
ESXi
Hyper-V
XEN
NOVA
 List instance
 Create instance
NOVA
 Network management component
 An API Frontend and an agent manager
 Default network manager is Open vSwitch
 Creates routes, subnets and floating IP pools
NEUTRON
 Create a network
 Assign subnet to a network
NEUTRON
 List network agents
NEUTRON
 Image management component
 Commonly, store images inside swift
 Acts as an image repository
Glance
 Identity management component
 Manage projects (tenants), users and groups
 An endpoint catalog for other components
KEYSTONE
KEYSTONE
USER KEYSTONE NOVA GLANCE NEUTRON
credentials
token
token & vm request
verify token
verify token
verify token
token & image request
image
token & request for network
token & verify user access to network
successful response
successful response
 Block storage management component
 Create, attach and delete volumes to instances
 Snapshot support
 Management support for most software and hardware
storage backends such as Netapp and Ceph using
plugins.
CINDER
 List volumes
 Create volume
CINDER
 Attach volume to server
CINDER
 Object storage management component
 A software solution
 Accessible via Restful API HTTP
 Integrated with NOVA
 Each object is replicated 3 times
SWIFT
SWIFT
USER
Load
Balancer
SWIFT
Proxy
Storage
Node
Storage
Node
Storage
Node
SWIFT
Proxy
Common Projects:
HEAT HORIZON IRONIC MAGNUMCEILOMETERTROVE
 The web client component
 Enable to preform various
actions through a browser
 Support tenant logins
and customization
HORIZON
 OpenStack orchestration engine component
 Provision OpenStack resources
 Heat Orchestration Templates (known as HOT)
 HOT are similar to CloudFromation and written in YAML
 HOT resources are referred as a stack
HEAT
HEAT
heat_template_version: 2015-04-30
description: Simple template to deploy a single compute
instance
parameters:
image_id:
type: string
label: Image ID
description: Image to be used for compute instance
flavor:
type: string
label: Instance Type
description: Type of instance (flavor) to be used
resources:
my_instance:
type: OS::Nova::Server
properties:
key_name: key_name
image: { get_param: image_id }
flavor: { get_param: flavor }
 Create a stack
HEAT
OpenStack flavors
OpenStack distributions
OpenStack is a free open-source platform.
As such, It doesn't have an on-call support or an official advisor.
OpenStack can also be consumed through vendors that
repacked OpenStack into their own distribution.
These vendors include RedHats OSP, Ubuntu OS,
SUSE OSC, Mirantis and even VMware’s VIO.
 Latest release: Pike
 Supported Hypervisors: KVM, Hyper-V, ESX and XEN
 Deployment: Openstack-Ansible or Openstack-Kolla
 Supported Services: All of them!
Vanilla OpenStack
Vanilla Architecture
 Latest release: Ocata
 Supported Hypervisors: KVM, ESX & Docker via Openshift
 Deployment: OSP Director with TripleO and Ansible
 Supported Services: Horizon, Ceilometer, Heat, Sahara, Ironic and
Manila
Red Hat OpenStack Platform
Red Hat OpenStack Platform
 Latest release: Newton
 Supported Hypervisors: KVM and XEN
 Deployment: Fuel and Crowbar
 Supported Services: Horizon, Ceilometer, Heat, Manila and Magnum
 Technical Support: Designate (DNS as a service), Barbican,
Ironic, Sahara, Trove and Tempest
SUSE Openstack Cloud 7
SUSE Openstack Cloud 7
 Latest release: Pike
 Supported Hypervisors: KVM or LXD
 Deployment: Autopilot and JUJU
 Supported Services: All of them!
Ubuntu Openstack
https://jujucharms.com
Ubuntu Openstack
 Latest release: Pike
 Supported Hypervisors: Defaults to QEMU
 Deployment: Packstack for POCs and labs
 Supports All-in-one deployments!
https://www.rdoproject.org
Thank You!
AsafAb@innercloud.io

Openstack Fundamentals by CloudZone @Back2School

  • 1.
  • 2.
    Agenda  What isOpenStack?  Components overview  Different flavors of OpenStack  Deploying methods  Architecture
  • 3.
    About me  PrivateCloud  DevOps  Automation Developer  A Basketball Guy
  • 4.
  • 5.
    Background  OpenStack beganin 2010 as a joint project NASA of and Rackspace Hosting  It is managed by the OpenStack Foundation  More than 500 companies have joined the project
  • 6.
    What is OpenStack? OpenStackis a cloud operating system that controls large pools of compute, storage, and networking resources throughout a datacenter, all managed through a dashboard that gives administrators control while empowering their users to provision resources through a web interface.
  • 7.
  • 8.
  • 9.
    OpenStack as amodular cloud OpenStack is a modular collection of cloud components. Each of these components, which are also known as projects, is a collection of services that handles an IAAS resource such as compute, networking and authentication. There is a vast variety of projects out there, You just need to choose.
  • 10.
    Core Projects: NOVA NEUTRONSWIFT KEYSTONECINDERGLANCE
  • 11.
     Instance managementcomponent  Scheduler  NOT a hypervisor!  Can manage most common hypervisonrs: KVM ESXi Hyper-V XEN NOVA
  • 12.
     List instance Create instance NOVA
  • 13.
     Network managementcomponent  An API Frontend and an agent manager  Default network manager is Open vSwitch  Creates routes, subnets and floating IP pools NEUTRON
  • 14.
     Create anetwork  Assign subnet to a network NEUTRON
  • 15.
     List networkagents NEUTRON
  • 16.
     Image managementcomponent  Commonly, store images inside swift  Acts as an image repository Glance
  • 17.
     Identity managementcomponent  Manage projects (tenants), users and groups  An endpoint catalog for other components KEYSTONE
  • 18.
    KEYSTONE USER KEYSTONE NOVAGLANCE NEUTRON credentials token token & vm request verify token verify token verify token token & image request image token & request for network token & verify user access to network successful response successful response
  • 19.
     Block storagemanagement component  Create, attach and delete volumes to instances  Snapshot support  Management support for most software and hardware storage backends such as Netapp and Ceph using plugins. CINDER
  • 20.
     List volumes Create volume CINDER
  • 21.
     Attach volumeto server CINDER
  • 22.
     Object storagemanagement component  A software solution  Accessible via Restful API HTTP  Integrated with NOVA  Each object is replicated 3 times SWIFT
  • 23.
  • 24.
    Common Projects: HEAT HORIZONIRONIC MAGNUMCEILOMETERTROVE
  • 25.
     The webclient component  Enable to preform various actions through a browser  Support tenant logins and customization HORIZON
  • 26.
     OpenStack orchestrationengine component  Provision OpenStack resources  Heat Orchestration Templates (known as HOT)  HOT are similar to CloudFromation and written in YAML  HOT resources are referred as a stack HEAT
  • 27.
    HEAT heat_template_version: 2015-04-30 description: Simpletemplate to deploy a single compute instance parameters: image_id: type: string label: Image ID description: Image to be used for compute instance flavor: type: string label: Instance Type description: Type of instance (flavor) to be used resources: my_instance: type: OS::Nova::Server properties: key_name: key_name image: { get_param: image_id } flavor: { get_param: flavor }
  • 28.
     Create astack HEAT
  • 29.
  • 30.
    OpenStack distributions OpenStack isa free open-source platform. As such, It doesn't have an on-call support or an official advisor. OpenStack can also be consumed through vendors that repacked OpenStack into their own distribution. These vendors include RedHats OSP, Ubuntu OS, SUSE OSC, Mirantis and even VMware’s VIO.
  • 31.
     Latest release:Pike  Supported Hypervisors: KVM, Hyper-V, ESX and XEN  Deployment: Openstack-Ansible or Openstack-Kolla  Supported Services: All of them! Vanilla OpenStack
  • 32.
  • 33.
     Latest release:Ocata  Supported Hypervisors: KVM, ESX & Docker via Openshift  Deployment: OSP Director with TripleO and Ansible  Supported Services: Horizon, Ceilometer, Heat, Sahara, Ironic and Manila Red Hat OpenStack Platform
  • 34.
  • 35.
     Latest release:Newton  Supported Hypervisors: KVM and XEN  Deployment: Fuel and Crowbar  Supported Services: Horizon, Ceilometer, Heat, Manila and Magnum  Technical Support: Designate (DNS as a service), Barbican, Ironic, Sahara, Trove and Tempest SUSE Openstack Cloud 7
  • 36.
  • 37.
     Latest release:Pike  Supported Hypervisors: KVM or LXD  Deployment: Autopilot and JUJU  Supported Services: All of them! Ubuntu Openstack
  • 38.
  • 39.
     Latest release:Pike  Supported Hypervisors: Defaults to QEMU  Deployment: Packstack for POCs and labs  Supports All-in-one deployments! https://www.rdoproject.org
  • 40.

Editor's Notes

  • #3 [Asaf] Need to decide on the order of stuff
  • #4 Who ami I Why am I here What is this session about Who are we having today 6x6 – 6 bulits on 6 words each
  • #5 [Asaf] Agenda Slide
  • #6 [Asaf] a small talk on the beginning of openstack [NASA & Rackspace] a non-profit corporate entity established in September 2012 to promote OpenStack software and its community.
  • #7 [Asaf] Also; a small talk on the beginning of openstack [NASA & Rackspace]
  • #8 [Asaf] Talk about the benefits of cloud-aware app: Scale Resource mgmt. (swift and a web pic) Containers The future is here, Cloud aware apps are already here.
  • #9 [Asaf] Agenda Slide
  • #10 [Asaf] https://www.openstack.org/assets/survey/April2017SurveyReport.pdf
  • #11 [Asaf] Openstack as a modular cloud Talk a bit about each project
  • #12 [Asaf] NOVA
  • #13 [Asaf] NOVA commands
  • #14 [Asaf] NEUTRON Default network manager is Open vSwitch supports OpendayLight!
  • #15 [Asaf] NEUTRON commands
  • #16 [Asaf] NEUTRON commands
  • #17 [Asaf] Glance
  • #18 [Asaf] KEYSTONE
  • #19 [Asaf] KEYSTONE diagram
  • #20 [Asaf] CINDER
  • #21 [Asaf] CINDER commands
  • #22 [Asaf] CINDER commands
  • #23 [Asaf] SWIFT 2- a software solution means that you can choose how and where to run swift (scale and stuff)
  • #24 [Asaf] SWIFT commands
  • #25 [Asaf] Openstack as a modular cloud Mention a bit about each project
  • #26 [Asaf] HORIZON – after this slide, go over to a real dashboard.
  • #27 [Asaf] HEAT We can write Heat Orchestration Templates (known as HOT) that can provision OpenStack resources through our cloud
  • #28 [Asaf] HEAT
  • #29 [Asaf] HEAT
  • #30 [Asaf] Agenda Slide
  • #31 [Asaf] Mention openstack COA exam
  • #32 [Asaf] Pike released last week, on September 1st
  • #33 [Asaf] HEAT
  • #34 [Asaf] Version 11, Came out on may 2017 Based on ocata release Using the peacemaker as a HA service
  • #35 [Asaf] HEAT
  • #36 [Asaf] Version 7, Still gets update, correct to august 2017 Based on newton release Esx is supported hypervisor, but its not made for it. Tempest = testing project
  • #37 [Asaf] Version 7, Still gets update, correct to august 2017 Based on newton release Esx is supported hypervisor, but its not made for it.
  • #38 [Asaf] For Free?!, without support  Closest to vanilla A different way of distributing openstack them most vendors KISS A tool deployment!!!
  • #39 [Asaf] For Free?! , without support  Closest to vanilla KISS
  • #40 [Asaf] What ever you like A community project Adopet by RedHat