OpenStack
Technical Workshop
Emilien Macchi, Sebastien Han
OpenStack Engineers @ eNovance
Paris, 8th June 2013
Summary
 Cloud Computing : Basics
 What is OpenStack ?
- Presentation
- Integration in the IaaS
- Differents sub-projects
 How to learn and play with OpenStack ?
Cloud Computing : Basics
What is Cloud Computing ?
« Cloud Computing is a model for enabling
convenient, on-demand network access to a shared
pool of configurable computing ressources ».
On Demand
Resources are dynamically
created depending of the demand
Multi-tenant
Resources are shared between
« clients » or « users »
Quick Elasticity
The infrastructure is flexible and
can grow or reduce easily.
Measured Service
In a Cloud, all is measurable and
clients pay what they use.
Categories of Clouds
What is OpenStack ?
OpenStack
 Project created in 2010 by NASA & RackSpace
 Licence Apache 2.0 (Open-Source)
 Manage Infrastructure as a Service
 Open-Source Framework
 API, Plugins, Drivers
 Multi-tenancy, Scalable, multi-plateform
 Developed in Python
 Cycle = Ubuntu (6 months) → Folsom now.
* Infrastructure as a Service
OpenStack in the IaaS*
Compute
Storage
Networking
IaaS Components OpenStack Projects
Nova
(Virtual Machines)
Swift
(Object Storage)
Cinder
(Block Storage)
Quantum
(Virtual Networking)

MySQL (Backend Databases)
→ Used by Keystone, Glance, Nova,
Cinder, and Quantum.

RabbitMQ (Middleware for queuing)
→ Used by Glance, Nova, Cinder
Ceilometer and Quantum.
Common Services

Identity (Users, tenants, roles, metadata)
→ Can be backed by LDAP

Token : Authentify requests from user /
tenant

Service Catalog : Endpoint registry

Policy Services : Rule-based authorization
engine
Keystone : Identity as a Service

Discovering, Registring, Retrieving Virtual
Machine images.

The images can be stored in : regular FS,
RBD (Ceph), Amazon S3 or Swift.

Disk Formats : raw, vhd, vmdk, vdi, iso,
qcow2, aki, ari, ami.

Container Formats : bare, ovf, aki, ami, ari.
Glance : Image Delivery

Create / Delete / Attach / Detach volumes
to a VM

Storage backed by : NFS, iSCSI, SolidFire,
NetAPP, etc...
Cinder : Block Storage

Provides connectivity to Vms

Manage L2 & L3 with an API

Networking backed by plugins :
Open-vSwitch, Linux Bridge, Cisco,
OpenFlow (BigSwitch, Floodlight, NEC, Ryu,
etc), Midonet (Midokura) and NVP (Nicira /
Vmware).
Quantum : Networking

Manages Virtual Machines

Libvirt friendly

Hypervisors supported : KVM / qemu, Xen,
Hyper-V (all ready for production)

Interact with other services (Cinder,
Quantum, Glance, Keystone, etc)
Nova : Compute Service

Developped with Python / Django

Manage VMs, Images, Identity, Volumes,
Networking from a single dashboard.
Horizon : Dashboard

Provide efficient collection of metering
data, in terms of CPU and network costs

Data may be collected by monitoring
notifications

Visible to some users through a REST API

Messages are signed and non-repudiable.
Ceilometer : Metering

Build servers from templates

CloudFormation equivalent

Several modes : HA, auto-scaling

Works with Ceilometer for Alarming
Heat: Orchestration

Swift is a highly available, distributed,
eventually consistent object/blob store.

Organizations can use Swift to store lots of
data efficiently, safely, and cheaply.
Swift : Object Storage
How to learn and play with
OpenStack ?

RTFM : docs.openstack.org

OpenStack Wiki : wiki.openstack.org

Using Launchpad

Discuss on IRC #openstack (freenode)

Subscribe to mailing lists

Setup a testing environment (DevStack or
Basic-Install doc) and debug in real-time.
How can you learn OpenStack ?

Configure identity with Keystone

Import images with Glance

Configure networking with Quantum

Create volumes with Cinder

Create your first VM with Nova

Play with object storage
Let's go to work !
https://etherpad.openstack.org/dotScale-OpenStack
Questions ?
emilien.macchi@enovance.com
sebastien.han@enovance.com

OpenStack dotscale workshop -08062013

  • 1.
    OpenStack Technical Workshop Emilien Macchi,Sebastien Han OpenStack Engineers @ eNovance Paris, 8th June 2013
  • 2.
    Summary  Cloud Computing: Basics  What is OpenStack ? - Presentation - Integration in the IaaS - Differents sub-projects  How to learn and play with OpenStack ?
  • 3.
  • 4.
    What is CloudComputing ? « Cloud Computing is a model for enabling convenient, on-demand network access to a shared pool of configurable computing ressources ». On Demand Resources are dynamically created depending of the demand Multi-tenant Resources are shared between « clients » or « users » Quick Elasticity The infrastructure is flexible and can grow or reduce easily. Measured Service In a Cloud, all is measurable and clients pay what they use.
  • 5.
  • 6.
  • 7.
    OpenStack  Project createdin 2010 by NASA & RackSpace  Licence Apache 2.0 (Open-Source)  Manage Infrastructure as a Service  Open-Source Framework  API, Plugins, Drivers  Multi-tenancy, Scalable, multi-plateform  Developed in Python  Cycle = Ubuntu (6 months) → Folsom now.
  • 8.
    * Infrastructure asa Service OpenStack in the IaaS* Compute Storage Networking IaaS Components OpenStack Projects Nova (Virtual Machines) Swift (Object Storage) Cinder (Block Storage) Quantum (Virtual Networking)
  • 9.
     MySQL (Backend Databases) →Used by Keystone, Glance, Nova, Cinder, and Quantum.  RabbitMQ (Middleware for queuing) → Used by Glance, Nova, Cinder Ceilometer and Quantum. Common Services
  • 10.
     Identity (Users, tenants,roles, metadata) → Can be backed by LDAP  Token : Authentify requests from user / tenant  Service Catalog : Endpoint registry  Policy Services : Rule-based authorization engine Keystone : Identity as a Service
  • 11.
     Discovering, Registring, RetrievingVirtual Machine images.  The images can be stored in : regular FS, RBD (Ceph), Amazon S3 or Swift.  Disk Formats : raw, vhd, vmdk, vdi, iso, qcow2, aki, ari, ami.  Container Formats : bare, ovf, aki, ami, ari. Glance : Image Delivery
  • 12.
     Create / Delete/ Attach / Detach volumes to a VM  Storage backed by : NFS, iSCSI, SolidFire, NetAPP, etc... Cinder : Block Storage
  • 13.
     Provides connectivity toVms  Manage L2 & L3 with an API  Networking backed by plugins : Open-vSwitch, Linux Bridge, Cisco, OpenFlow (BigSwitch, Floodlight, NEC, Ryu, etc), Midonet (Midokura) and NVP (Nicira / Vmware). Quantum : Networking
  • 14.
     Manages Virtual Machines  Libvirtfriendly  Hypervisors supported : KVM / qemu, Xen, Hyper-V (all ready for production)  Interact with other services (Cinder, Quantum, Glance, Keystone, etc) Nova : Compute Service
  • 15.
     Developped with Python/ Django  Manage VMs, Images, Identity, Volumes, Networking from a single dashboard. Horizon : Dashboard
  • 16.
     Provide efficient collectionof metering data, in terms of CPU and network costs  Data may be collected by monitoring notifications  Visible to some users through a REST API  Messages are signed and non-repudiable. Ceilometer : Metering
  • 17.
     Build servers fromtemplates  CloudFormation equivalent  Several modes : HA, auto-scaling  Works with Ceilometer for Alarming Heat: Orchestration
  • 18.
     Swift is ahighly available, distributed, eventually consistent object/blob store.  Organizations can use Swift to store lots of data efficiently, safely, and cheaply. Swift : Object Storage
  • 19.
    How to learnand play with OpenStack ?
  • 20.
     RTFM : docs.openstack.org  OpenStack Wiki :wiki.openstack.org  Using Launchpad  Discuss on IRC #openstack (freenode)  Subscribe to mailing lists  Setup a testing environment (DevStack or Basic-Install doc) and debug in real-time. How can you learn OpenStack ?
  • 21.
     Configure identity withKeystone  Import images with Glance  Configure networking with Quantum  Create volumes with Cinder  Create your first VM with Nova  Play with object storage Let's go to work ! https://etherpad.openstack.org/dotScale-OpenStack
  • 22.