SlideShare a Scribd company logo
Introduction to
OpenStack Architecture
       Grizzly Edition
About Me

 CTO, Solinea
 Former Director of Cloud
  Development, Internap
  Public Cloud
 Author of O’Reilly
  “Deploying OpenStack”
 Code contributor since
  Bexar
 Twitter @ken_pepple
 IRC kpepple
                             2
Conceptual Architecture
                                                           Dashboard




                        Provides
                         UI for                        Provides                                      Provides
                                      Provides          UI for                 Provides               UI for
                                       UI for                                   UI for

                                                                  Provides
   Network                                                        Auth for
                               Provide
                               network
                             connectivity                                  Stores                                 Stores disk        Object
                                 for             Compute                 images in                                  files in         Storage
                                                                                             Image
             Provides
             volumes
    Block       for
                                                                                Provides
   Storage                         Provides                                     Auth for
                                                      Provides
                                   Auth for
                                                      Auth for
                                                                                          Provides
                                                                                          Auth for
                                    Provides
                                    Auth for                                                                http://www.solinea.com




                                                                                                                                               3
                                                             Identity
OpenStack Basics
 Everything is written in python
 End users can interact through a common web interface
  (Horizon) or directly to each service through their API
 All services authenticate through a common source
 Individual services interact with each other through their
  public APIs *
 Most daemons implemented WSGI middleware (Paste)
   – Used extensively in OpenStack
   – Configured through *-paste.ini files


                                                           4
Grizzly Logical Architecture
                                                                                                                                                                 ⁃ OpenS ack C
                                                                                                                                                                        t     ommand Line Tools (Novaclient, Swif t client, et c.)
                                                                                                                                                                 ⁃ Cloud M anagement Tools (Right scale, E raius, et c.)
                                                                                                                                                                                                          nst
                                                                                                                                                                 ⁃ G t ools (C
                                                                                                                                                                    UI        yberduck, iPhone client, et c.)




                                                                                                                                                          Int er net

                                                                                                                                                                            OpenS ack
                                                                                                                                                                                 t
                                                                       OpenStack      OpenS ack
                                                                                           t                                                                               Comput e API
                                                                        Identity      Image API                                   H (S)
                                                                                                                                   TTP                 OpenStack                                      VNC VMRC
                                                                                                                                                                                                         /
                                              OpenS ack
                                                    t                     AP I                                                                                                         Amazon
                                              Object API                                                                                               Dashboard                      Web Ser vices                                                 O penS ack
                                                                                                                                                                                                                                                          t
                                                                                                                                                                                        E 2 API
                                                                                                                                                                                         C                                                       Block S orage API
                                                                                                                                                                                                                                                        t

                                                                                                                              Hor izon
                                                                                                                                                                                                                                 OpenS ack
                                                                                                                                                                                                                                       t                                                 OpenS ack
                                                                                                                                                                                                                                                                                               t
                          HTTP(S)                                                                                                                                                                                               Net wor k API                                           Net wor k API



                                                    OpenStack                                                                                                                                                  O penS ack
                                                                                                                                                                                                                     t                                            OpenS ack
                                                                                                                                                                                                                                                                        t
                                                    Object API                                OpenStack                                                                                                     Block S orage API
                                                                                                                                                                                                                   t                                             Net wor k API
                                                                                              Image API                                         OpenStack Compute
                                                                                                          OpenStack                                   AP /
                                                                                                                                                         I
                                                                                                           Identity                                 Admin AP I
                                                                                                             AP I




                                                                                                                                                    nova-api                                                                                            cinder-api
                                                                                                                OpenS ack
                                                                                                                     t                                                                                                                                                                              quant um-ser ver
                                              OpenS ack
                                                    t                                                           Image API
                                                                                                                                             (O E 2, Admin)
                                                                                                                                               S, C                                         nova-console
                 swif t-proxy                 Object API
                                                                           glance-api
                                                                                                 OpenS ack
                                                                                                      t
                                                                                                   Image
                                                                                                    API
                                    memcached                                                                                                                                                 nova-cert/                                              cinder-volume
                                                                                                                             nova-comput e
                                                                                                                                                                                              objectstore                        AMQP
                                                                          glance-regist r y
                                                                                                                                                                                                                                                                                    quant um                               quant um
                                                                                                                                                                                                                                                                                                          Queue            plugin(s)
                                                                                                                                                                                                                                                                                    agent (s)
       account     cont ainer       object                                                                                 libvirt, XenAPI, et c.                                                                                      volume
                                                                                                                                                                                                                                      provider              cinder
                                                                                                                                                                                                                                    (iSC et c)
                                                                                                                                                                                                                                         SI,               dat abase
                                                                               glance                                                                  nova                     Queue
                                                                              dat abase                                                              dat abase
                                                                                                                             hyper visor
       account     cont ainer        object                                                                                                                                                                                        AMQP                                                                  quant um
                                                                                                                                                                                                                                                                                      net wor k
         D B          D B            st ore                                                                                                                                                                                                                                                              dat abase
                                                                                                                                                                                                                                                      cinder-scheduler                provider
                                                                                                                                                                                          nova-conduct or
                  OpenS ack O
                       t     bject S ore
                                    t
                                                                                                                                  nova-consoleauth

                                                                                                                                                                    nova-scheduler                                                                                   OpenStack
                                                                                          OpenStack                   OpenStack                                                                                                                                       Identity
                                                                    OpenS ack
                                                                         t                 Identity                    Identity                                                                                            OpenS ack
                                                                                                                                                                                                                                 t                                      AP I                                                 O penS ack
                                                                                                                                                                                                                                                                                                                                    t
                                                                                                                         AP I
                                                                    Image Ser vice           AP I                                                                                          OpenS ack C
                                                                                                                                                                                                t     omput e              Block S orage
                                                                                                                                                                                                                                   t                                                                                   Net wor k Ser vice
                     http://www.solinea.com

                  OpenStack
                 Identity API                                                                                                                                                                                                                                                    OpenStack
                                                                                                                                                                                                                                                                                  Identity
                                                                                                                                                                                                                                                                                    AP I
                                                                                                  keyst one
                                                                                                                                                                                                                                                                                                         OpenStack
                                                                                          (ser vice & admin APIs)                                                                                                                                                                                         Identity
                                                                                                                                                                                                                                                                                                            AP I




                                              O penStack         t oken backend               cat alog
                                                                                              backend
                                                                                                                   policy
                                                                                                                  backend
                                                                                                                                             ident it y
                                                                                                                                             backend
                                                                                                                                                                                                                                                                                                                                            5
                                              Identity
                                              Service
Identity (“Keystone”)

   Keystone provides a single point
    of integration for OpenStack
    policy, catalog, token and
    authentication.
   keystone handles API requests as
    well as providing configurable                                            keyst one
                                                                      (ser vice & admin APIs)
    catalog, policy, token and
    identity services.
   Standard backends include
    LDAP or SQL, as well as Key Value   O penStack   t oken backend   cat alog
                                                                      backend
                                                                                         policy
                                                                                        backend
                                                                                                  ident it y
                                                                                                  backend
    Stores (KVS).                       Identity
                                        Service

   Most people will use this as a
    point of customization for their
    current authentication services.

                                                                                                               6
Dashboard (“Horizon”)

 Django application that
  users can access in their
  web browser
                               H (S)
                                TTP      OpenStack
 Communicates with each                 Dashboard
  OpenStack service through
  their API (and sometimes
  their admin API)            Hor izon




                                                     7
8
Object Storage (“Swift”)

                                             Stores and serves objects
                                              (files)
                 swif t-proxy
                                             Employs object level
                                              replication to safeguard data
                                memcached
                                             Accepts client requests via
                                              Objectstore API or HTTP from
       account    cont ainer    object
                                              clients through swift-proxy
                                             Maintains distributed account
                                              and container databases
       account    cont ainer     object
                                             Stores objects according the
         D B         D B         st ore       ring layout on filesystem with
                                              extended attributes (XFS,
                  OpenS ack O
                       t     bject S ore
                                    t         EXT4, etc.)
                                                                           9
Image Service (“Glance”)

   glance-api accepts Image API
    calls for image discovery, image          glance-api
    retrieval and image storage.
   glance-registry stores,
    processes and retrieves                  glance-regist r y


    metadata about images (size,
    type, etc.).                                  glance

   Database to store the image
                                                 dat abase


    metadata.
   A storage repository for the
    actual image files. In many
    deployments, this is OpenStack
    Swift                              OpenS ack
                                            t
                                       Image Ser vice



                                                                 10
Compute (“Nova”)

                                                                                  nova-api accepts and responds to
                           nova-api
                    (O E 2, Admin)
                      S, C
                                                                                   end user compute API calls.
                                                           nova-console
                                                                                  Supports OpenStack Compute API,
                                                                                   Amazon's EC2 API and a special
    nova-comput e                                            nova-cert/
                                                             objectstore
                                                                                   Admin API (for privileged users to
                                                                                   perform administrative actions).
                                                                                  Initiates most of the orchestration
                                                                                   activities (such as running an
  libvirt, XenAPI, et c.


                                                                                   instance)
                              nova                Queue
                            dat abase
    hyper visor
                                                                                  Enforces some policy (mostly quota
                                                                                   checks)
                                                                                   Authentication is handled through
                                                         nova-conduct or
                                                                               
         nova-consoleauth
                                                                                   middleware before getting to this
                                        nova-scheduler                             daemon
                                                          OpenS ack C
                                                               t     omput e



                                                                                                                    11
Nova Compute

                                                                                  The nova-compute process is
                           nova-api                                                primarily a worker daemon that
                                                                                   creates and terminates virtual
                    (O E 2, Admin)
                      S, C                                 nova-console

                                                                                   machine instances via hypervisor's
    nova-comput e                                            nova-cert/            APIs (XenAPI for XenServer/XCP,
                                                             objectstore
                                                                                   libvirt for KVM or QEMU, VMwareAPI
                                                                                   for VMware, etc.).
  libvirt, XenAPI, et c.
                                                                                  The process by which it does so is
                              nova                Queue
                                                                                   fairly complex but the basics are
                                                                                   simple: accept actions from the
                            dat abase
    hyper visor

                                                                                   queue and then perform a series of
                                                         nova-conduct or           system commands (like launching
                                                                                   a KVM instance) to carry them out
                                                                                   while updating state in the
         nova-consoleauth

                                        nova-scheduler
                                                                                   database.
                                                          OpenS ack C
                                                               t     omput e



                                                                                                                   12
Nova Scheduler
     The nova-schedule process is conceptually the simplest piece of
      code in OpenStack Nova: take a virtual machine instance request
      from the queue and determines where it should run (specifically,
      which compute server host it should run on).
    def _schedule(self, context, topic, request_spec, filter_properties):
         """Picks a host that is up at random."""

         elevated = context.elevated()
         hosts = self.hosts_up(elevated, topic)
         if not hosts:
             msg = _("Is the appropriate service running?")
             raise exception.NoValidHost(reason=msg)

         hosts = self._filter_hosts(request_spec, hosts, filter_properties)
         if not hosts:
             msg = _("Could not find another compute")
             raise exception.NoValidHost(reason=msg)

         return hosts[int(random.random() * len(hosts))]                      13
Block Storage (“Cinder”)

   cinder-api accepts API requests and routes
    them to cinder-volume for action.                                        cinder-api

   cinder-volume acts upon the requests by
    reading or writing to the Cinder database
    to maintain state, interacting with other                               cinder-volume

    processes (like cinder-scheduler) through a
    message queue and directly upon block
    storage providing hardware or software. It            volume provider        cinder
                                                                                dat abase
    can interact with a variety of storage
    providers through a driver architecture.
    Currently, there are drivers for IBM, SolidFire,                        cinder-scheduler
    NetApp, Nexenta, Zadara, linux iSCSI and
    other storage providers.
   Much like nova-scheduler, the cinder-
    scheduler daemon picks the optimal block           OpenS ack
                                                             t
    storage provider node to create the                Block St orage

    volume on.
                                                                                               14
Networking (“Quantum”)

                                                              quantum-server accepts API requests
                   quant um-ser ver                            and then routes them to the
                                                               appropriate quantum plugin for action.
                                                              Quantum ships with plugins and agents
                                                               for:
     quant um            Queue
                                          quant um               – Cisco virtual and physical switches
                                          plugin(s)
                                                                 – Nicira NVP product
     agent (s)


                                                                 – NEC OpenFlow products
                                                                 – Open vSwitch
       net wor k
       provider
                        quant um
                        dat abase                                – Linux bridging
                                                                 – Ryu Network Operating System
                                                                 – Midokua
                                                              The common agents are L3 (layer 3),
                                            O penS ack
                                                   t           DHCP (dynamic host IP addressing) and
                                                               the specific plug-in agent.
                                      Net wor k Ser vice



                                                                                                     15
Future Projects (Havana Release)

 Ceilometer is a metering          Heat provides a REST API to
  project. The project offers        orchestrate multiple cloud
  metering. Metering lets you        applications implementing
  know what actions have             standards such as AWS
  taken place, rating enables        CloudFormation.
  pricing and line items, and
  billing gathers the line items
  to create a bill to send to
  the consumer and collect
  payment.

                                                                   16
Accelerating the adoption of Cloud Computing




                Ken Pepple
             ken@solinea.com
         http://www.solinea.com

More Related Content

PDF
Webinar "Introduction to OpenStack"
CREATE-NET
 
PPTX
Quick overview of Openstack architecture
Toni Ramirez
 
PPTX
OpenStack architecture and services
vinoth kumar selvaraj
 
PDF
OpenStack Architecture: Past and Future
Ken Pepple
 
PPTX
OpenStack Framework Introduction
Jason TC HOU (侯宗成)
 
PDF
Openstack 101
Kamesh Pemmaraju
 
PDF
OpenStack 101 @ ENEI 2014
Carlos Gonçalves
 
PPTX
Introduction to openstack
Yaniv Zadka
 
Webinar "Introduction to OpenStack"
CREATE-NET
 
Quick overview of Openstack architecture
Toni Ramirez
 
OpenStack architecture and services
vinoth kumar selvaraj
 
OpenStack Architecture: Past and Future
Ken Pepple
 
OpenStack Framework Introduction
Jason TC HOU (侯宗成)
 
Openstack 101
Kamesh Pemmaraju
 
OpenStack 101 @ ENEI 2014
Carlos Gonçalves
 
Introduction to openstack
Yaniv Zadka
 

What's hot (20)

PDF
OpenStack Telco Architecture: OpenStack Summit Boston 2017
Christian "kiko" Reis
 
PDF
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
Mirantis
 
PDF
OpenStack - Infrastructure as a service
Denis Cavalcante
 
PPTX
OpenStack Technology Overview
Open Stack
 
PPTX
Openstack in 10 mins
Dawood M.S
 
PDF
OpenStack Explained: Learn OpenStack architecture and the secret of a success...
Giuseppe Paterno'
 
PPTX
Cloud Computing Open Stack Compute Node
Palak Sood
 
DOCX
Openstack training material
chenvi123
 
PDF
OpenStack 101 Technical Overview
Open Stack
 
PPTX
OpenStack Introduction
Jimi Chen
 
PPTX
OpenStack 101
Priti Desai
 
PPTX
Openstack architure part 1
Nhan Cao Thanh
 
PDF
OpenStack Super Bootcamp.pdf
OpenStack Foundation
 
PDF
Architecture Openstack for the Enterprise
Keith Tobin
 
PPTX
OpenStack Architecture and Use Cases
Jalal Mostafa
 
PDF
Open stack
Luan Cestari
 
PPTX
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
bizalgo
 
PDF
OpenStack 101: Introduction & Technical Overview
Thang Man
 
PPTX
OpenStack basics
Thanassis Parathyras
 
PPTX
Introduction To OpenStack
Haim Ateya
 
OpenStack Telco Architecture: OpenStack Summit Boston 2017
Christian "kiko" Reis
 
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
Mirantis
 
OpenStack - Infrastructure as a service
Denis Cavalcante
 
OpenStack Technology Overview
Open Stack
 
Openstack in 10 mins
Dawood M.S
 
OpenStack Explained: Learn OpenStack architecture and the secret of a success...
Giuseppe Paterno'
 
Cloud Computing Open Stack Compute Node
Palak Sood
 
Openstack training material
chenvi123
 
OpenStack 101 Technical Overview
Open Stack
 
OpenStack Introduction
Jimi Chen
 
OpenStack 101
Priti Desai
 
Openstack architure part 1
Nhan Cao Thanh
 
OpenStack Super Bootcamp.pdf
OpenStack Foundation
 
Architecture Openstack for the Enterprise
Keith Tobin
 
OpenStack Architecture and Use Cases
Jalal Mostafa
 
Open stack
Luan Cestari
 
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
bizalgo
 
OpenStack 101: Introduction & Technical Overview
Thang Man
 
OpenStack basics
Thanassis Parathyras
 
Introduction To OpenStack
Haim Ateya
 
Ad

Viewers also liked (20)

PDF
OpenStack Architecture
Mirantis
 
PDF
Are We Done Yet ? Testing Your OpenStack Deployment
Ken Pepple
 
PDF
OpenStack Tutorial
Bret Piatt
 
PDF
OpenStack Architecture Board
Open Stack
 
PPTX
GoDaddy's OpenStack Journey
Joshua Harlow
 
PDF
KT 안재석 박사 - 오픈 소스 기반 클라우드 컴퓨팅 솔루션 open stack 이야기 (2011Y05M28D)
Ubuntu Korea Community
 
PDF
Mastering OpenStack - Episode 11 - Scaling Out
Roozbeh Shafiee
 
PDF
Mastering OpenStack - Episode 08 - Storage Decisions
Roozbeh Shafiee
 
PDF
Mastering OpenStack - Episode 09 - Storage Decisions
Roozbeh Shafiee
 
PDF
Unveiling CERN Cloud Architecture - October, 2015
Belmiro Moreira
 
PDF
Mastering OpenStack - Episode 04 - Provisioning and Deployment
Roozbeh Shafiee
 
PDF
Mastering OpenStack - Episode 05 - Controller Nodes
Roozbeh Shafiee
 
PDF
Mastering OpenStack - Episode 02 - Simple Architectures
Roozbeh Shafiee
 
PDF
Openstack architecture for the enterprise (Openstack Ireland Meet-up)
Keith Tobin
 
PDF
Atlanta OpenStack 2014 Chef for OpenStack Deployment Workshop
Matt Ray
 
PDF
Mastering OpenStack - Episode 06 - Controller Nodes
Roozbeh Shafiee
 
PPTX
OpenStack Compute - Juno Updates
OpenStack Foundation
 
PDF
Mastering OpenStack - Episode 07 - Compute Nodes
Roozbeh Shafiee
 
PPTX
Architecture of massively scalable, distributed systems - InfoShare 2015
Tomasz Zen Napierala
 
PDF
Cloud Infrastructure Migration
Roozbeh Shafiee
 
OpenStack Architecture
Mirantis
 
Are We Done Yet ? Testing Your OpenStack Deployment
Ken Pepple
 
OpenStack Tutorial
Bret Piatt
 
OpenStack Architecture Board
Open Stack
 
GoDaddy's OpenStack Journey
Joshua Harlow
 
KT 안재석 박사 - 오픈 소스 기반 클라우드 컴퓨팅 솔루션 open stack 이야기 (2011Y05M28D)
Ubuntu Korea Community
 
Mastering OpenStack - Episode 11 - Scaling Out
Roozbeh Shafiee
 
Mastering OpenStack - Episode 08 - Storage Decisions
Roozbeh Shafiee
 
Mastering OpenStack - Episode 09 - Storage Decisions
Roozbeh Shafiee
 
Unveiling CERN Cloud Architecture - October, 2015
Belmiro Moreira
 
Mastering OpenStack - Episode 04 - Provisioning and Deployment
Roozbeh Shafiee
 
Mastering OpenStack - Episode 05 - Controller Nodes
Roozbeh Shafiee
 
Mastering OpenStack - Episode 02 - Simple Architectures
Roozbeh Shafiee
 
Openstack architecture for the enterprise (Openstack Ireland Meet-up)
Keith Tobin
 
Atlanta OpenStack 2014 Chef for OpenStack Deployment Workshop
Matt Ray
 
Mastering OpenStack - Episode 06 - Controller Nodes
Roozbeh Shafiee
 
OpenStack Compute - Juno Updates
OpenStack Foundation
 
Mastering OpenStack - Episode 07 - Compute Nodes
Roozbeh Shafiee
 
Architecture of massively scalable, distributed systems - InfoShare 2015
Tomasz Zen Napierala
 
Cloud Infrastructure Migration
Roozbeh Shafiee
 
Ad

Similar to Introduction to OpenStack Architecture (Grizzly Edition) (20)

PDF
Quantum Networks
OpenCity Community
 
PDF
Openstack Global Meetup
openstackindia
 
PDF
OpenStack at Xen summit Asia
Jaesuk Ahn
 
PPT
Apache CloudStack AlpesJUG
Sebastien Goasguen
 
PDF
Openstack starter-guide-diablo
锐 张
 
PDF
Openstack starter-guide-diablo
babycat_feifei
 
PPT
Building FOSS clouds
Sebastien Goasguen
 
PDF
Learn OpenStack from trystack.cn ——Folsom in practice
OpenCity Community
 
PPT
CloudStack for Java User Group
Sebastien Goasguen
 
PDF
OpenStack Identity - Keystone (liberty) by Lorenzo Carnevale and Silvio Tavilla
Lorenzo Carnevale
 
PPSX
OPENSTACK
Nikhil Suthar
 
PDF
Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)
Raul Leite
 
PDF
OpenStack Identity - Keystone (kilo) by Lorenzo Carnevale and Silvio Tavilla
Lorenzo Carnevale
 
PPT
Sharad openstack slides
Sharad Aggarwal
 
DOCX
Research Paper
Netravati Patil
 
PPTX
vBrownBag OpenStack Networking Talk
mestery
 
PPTX
Ogce Workflow Suite Tg09
smarru
 
PPT
Intro to Cloudstack
Sebastien Goasguen
 
PPTX
OpenStack Introduction
openstackindia
 
PDF
UKC - Msc Project - Providing Moonshot access to OpenStack
Vincent Giersch
 
Quantum Networks
OpenCity Community
 
Openstack Global Meetup
openstackindia
 
OpenStack at Xen summit Asia
Jaesuk Ahn
 
Apache CloudStack AlpesJUG
Sebastien Goasguen
 
Openstack starter-guide-diablo
锐 张
 
Openstack starter-guide-diablo
babycat_feifei
 
Building FOSS clouds
Sebastien Goasguen
 
Learn OpenStack from trystack.cn ——Folsom in practice
OpenCity Community
 
CloudStack for Java User Group
Sebastien Goasguen
 
OpenStack Identity - Keystone (liberty) by Lorenzo Carnevale and Silvio Tavilla
Lorenzo Carnevale
 
OPENSTACK
Nikhil Suthar
 
Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)
Raul Leite
 
OpenStack Identity - Keystone (kilo) by Lorenzo Carnevale and Silvio Tavilla
Lorenzo Carnevale
 
Sharad openstack slides
Sharad Aggarwal
 
Research Paper
Netravati Patil
 
vBrownBag OpenStack Networking Talk
mestery
 
Ogce Workflow Suite Tg09
smarru
 
Intro to Cloudstack
Sebastien Goasguen
 
OpenStack Introduction
openstackindia
 
UKC - Msc Project - Providing Moonshot access to OpenStack
Vincent Giersch
 

Recently uploaded (20)

PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
Software Development Methodologies in 2025
KodekX
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
PDF
Doc9.....................................
SofiaCollazos
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Software Development Methodologies in 2025
KodekX
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
Doc9.....................................
SofiaCollazos
 

Introduction to OpenStack Architecture (Grizzly Edition)

  • 2. About Me  CTO, Solinea  Former Director of Cloud Development, Internap Public Cloud  Author of O’Reilly “Deploying OpenStack”  Code contributor since Bexar  Twitter @ken_pepple  IRC kpepple 2
  • 3. Conceptual Architecture Dashboard Provides UI for Provides Provides Provides UI for Provides UI for UI for UI for Provides Network Auth for Provide network connectivity Stores Stores disk Object for Compute images in files in Storage Image Provides volumes Block for Provides Storage Provides Auth for Provides Auth for Auth for Provides Auth for Provides Auth for http://www.solinea.com 3 Identity
  • 4. OpenStack Basics  Everything is written in python  End users can interact through a common web interface (Horizon) or directly to each service through their API  All services authenticate through a common source  Individual services interact with each other through their public APIs *  Most daemons implemented WSGI middleware (Paste) – Used extensively in OpenStack – Configured through *-paste.ini files 4
  • 5. Grizzly Logical Architecture ⁃ OpenS ack C t ommand Line Tools (Novaclient, Swif t client, et c.) ⁃ Cloud M anagement Tools (Right scale, E raius, et c.) nst ⁃ G t ools (C UI yberduck, iPhone client, et c.) Int er net OpenS ack t OpenStack OpenS ack t Comput e API Identity Image API H (S) TTP OpenStack VNC VMRC / OpenS ack t AP I Amazon Object API Dashboard Web Ser vices O penS ack t E 2 API C Block S orage API t Hor izon OpenS ack t OpenS ack t HTTP(S) Net wor k API Net wor k API OpenStack O penS ack t OpenS ack t Object API OpenStack Block S orage API t Net wor k API Image API OpenStack Compute OpenStack AP / I Identity Admin AP I AP I nova-api cinder-api OpenS ack t quant um-ser ver OpenS ack t Image API (O E 2, Admin) S, C nova-console swif t-proxy Object API glance-api OpenS ack t Image API memcached nova-cert/ cinder-volume nova-comput e objectstore AMQP glance-regist r y quant um quant um Queue plugin(s) agent (s) account cont ainer object libvirt, XenAPI, et c. volume provider cinder (iSC et c) SI, dat abase glance nova Queue dat abase dat abase hyper visor account cont ainer object AMQP quant um net wor k D B D B st ore dat abase cinder-scheduler provider nova-conduct or OpenS ack O t bject S ore t nova-consoleauth nova-scheduler OpenStack OpenStack OpenStack Identity OpenS ack t Identity Identity OpenS ack t AP I O penS ack t AP I Image Ser vice AP I OpenS ack C t omput e Block S orage t Net wor k Ser vice http://www.solinea.com OpenStack Identity API OpenStack Identity AP I keyst one OpenStack (ser vice & admin APIs) Identity AP I O penStack t oken backend cat alog backend policy backend ident it y backend 5 Identity Service
  • 6. Identity (“Keystone”)  Keystone provides a single point of integration for OpenStack policy, catalog, token and authentication.  keystone handles API requests as well as providing configurable keyst one (ser vice & admin APIs) catalog, policy, token and identity services.  Standard backends include LDAP or SQL, as well as Key Value O penStack t oken backend cat alog backend policy backend ident it y backend Stores (KVS). Identity Service  Most people will use this as a point of customization for their current authentication services. 6
  • 7. Dashboard (“Horizon”)  Django application that users can access in their web browser H (S) TTP OpenStack  Communicates with each Dashboard OpenStack service through their API (and sometimes their admin API) Hor izon 7
  • 8. 8
  • 9. Object Storage (“Swift”)  Stores and serves objects (files) swif t-proxy  Employs object level replication to safeguard data memcached  Accepts client requests via Objectstore API or HTTP from account cont ainer object clients through swift-proxy  Maintains distributed account and container databases account cont ainer object  Stores objects according the D B D B st ore ring layout on filesystem with extended attributes (XFS, OpenS ack O t bject S ore t EXT4, etc.) 9
  • 10. Image Service (“Glance”)  glance-api accepts Image API calls for image discovery, image glance-api retrieval and image storage.  glance-registry stores, processes and retrieves glance-regist r y metadata about images (size, type, etc.). glance  Database to store the image dat abase metadata.  A storage repository for the actual image files. In many deployments, this is OpenStack Swift OpenS ack t Image Ser vice 10
  • 11. Compute (“Nova”)  nova-api accepts and responds to nova-api (O E 2, Admin) S, C end user compute API calls. nova-console  Supports OpenStack Compute API, Amazon's EC2 API and a special nova-comput e nova-cert/ objectstore Admin API (for privileged users to perform administrative actions).  Initiates most of the orchestration activities (such as running an libvirt, XenAPI, et c. instance) nova Queue dat abase hyper visor  Enforces some policy (mostly quota checks) Authentication is handled through nova-conduct or  nova-consoleauth middleware before getting to this nova-scheduler daemon OpenS ack C t omput e 11
  • 12. Nova Compute  The nova-compute process is nova-api primarily a worker daemon that creates and terminates virtual (O E 2, Admin) S, C nova-console machine instances via hypervisor's nova-comput e nova-cert/ APIs (XenAPI for XenServer/XCP, objectstore libvirt for KVM or QEMU, VMwareAPI for VMware, etc.). libvirt, XenAPI, et c.  The process by which it does so is nova Queue fairly complex but the basics are simple: accept actions from the dat abase hyper visor queue and then perform a series of nova-conduct or system commands (like launching a KVM instance) to carry them out while updating state in the nova-consoleauth nova-scheduler database. OpenS ack C t omput e 12
  • 13. Nova Scheduler  The nova-schedule process is conceptually the simplest piece of code in OpenStack Nova: take a virtual machine instance request from the queue and determines where it should run (specifically, which compute server host it should run on). def _schedule(self, context, topic, request_spec, filter_properties): """Picks a host that is up at random.""" elevated = context.elevated() hosts = self.hosts_up(elevated, topic) if not hosts: msg = _("Is the appropriate service running?") raise exception.NoValidHost(reason=msg) hosts = self._filter_hosts(request_spec, hosts, filter_properties) if not hosts: msg = _("Could not find another compute") raise exception.NoValidHost(reason=msg) return hosts[int(random.random() * len(hosts))] 13
  • 14. Block Storage (“Cinder”)  cinder-api accepts API requests and routes them to cinder-volume for action. cinder-api  cinder-volume acts upon the requests by reading or writing to the Cinder database to maintain state, interacting with other cinder-volume processes (like cinder-scheduler) through a message queue and directly upon block storage providing hardware or software. It volume provider cinder dat abase can interact with a variety of storage providers through a driver architecture. Currently, there are drivers for IBM, SolidFire, cinder-scheduler NetApp, Nexenta, Zadara, linux iSCSI and other storage providers.  Much like nova-scheduler, the cinder- scheduler daemon picks the optimal block OpenS ack t storage provider node to create the Block St orage volume on. 14
  • 15. Networking (“Quantum”)  quantum-server accepts API requests quant um-ser ver and then routes them to the appropriate quantum plugin for action.  Quantum ships with plugins and agents for: quant um Queue quant um – Cisco virtual and physical switches plugin(s) – Nicira NVP product agent (s) – NEC OpenFlow products – Open vSwitch net wor k provider quant um dat abase – Linux bridging – Ryu Network Operating System – Midokua  The common agents are L3 (layer 3), O penS ack t DHCP (dynamic host IP addressing) and the specific plug-in agent. Net wor k Ser vice 15
  • 16. Future Projects (Havana Release)  Ceilometer is a metering  Heat provides a REST API to project. The project offers orchestrate multiple cloud metering. Metering lets you applications implementing know what actions have standards such as AWS taken place, rating enables CloudFormation. pricing and line items, and billing gathers the line items to create a bill to send to the consumer and collect payment. 16
  • 17. Accelerating the adoption of Cloud Computing Ken Pepple [email protected] http://www.solinea.com