SlideShare a Scribd company logo
LINUXCON EUROPE 2012
                                        Barcelona, November 5th




         Building IaaS Clouds and the Art of Virtual
          Machine Management: A Practical Guide
                      with OpenNebula
                                                Rubén S. Montero
                                               rsmontero@opennebula.org
                                                    OpenNebula.org


                                                    @ruben_s_montero




© OpenNebula Project. Creative Commons Attribution-NonCommercial-ShareAlike License
Contents


● What is OpenNebula?

● Design Principles & Vision

● The Anatomy of an IaaS Cloud

● Building an IaaS Cloud: A single node example

● Lessons Learned
What is OpenNebula?
     Public Cloud                            Private
                                             Cloud
  Simple Web Interface                A Cloud behind a firewall
  Infrastructure Resources            Security Concerns
  Elastic & “infinite”                Improve Operations




            Hybrid Cloud / CloudBursting
              Supplement Capacity of the
              Private
              Utility Computing for Real
What is OpenNebula?
                           Image Management
Monitoring & Scheduling
                                  Networking
                                               Multi-tenancy
              Interfaces & APIs




  VM VM VM VM                              VM VM VM VM
        Hypervisor

  Physical Hardware
                        ..                       Hypervisor

                                           Physical Hardware
 Host                                     Host
Design Principles and Vision


●   Flexible: One solution can not fit all data-centers

●   Simple: just-what-you-need components & simple protocols

●   Scalable: single instance & multi-tier architectures

●   Open Source: Apache License v2.0

●   Provide basic components, but easily hack by others
The Anatomy of an IaaS Cloud
                                    Interfaces, Tools & API
                               ● CLI & Sunstone (GUI)
                               ● API

                               ● Cloud (EC2,OCCI)

                               ● Service Management & Catalogs




Network                                                 Storage
● VLAN                                                  ● VM disks (file & block)
● Firewalling                                           ● Image Distribution
● Multiple Technologies                                 ● Multiple Backends



                                           Multi-tenancy
                                           ● AAA Services
                                           ● Scheduling
                                           ● Permissions & roles
    Compute Hosts
    ● Grouped in logical clusters
    ● Multiple hypervisors
    ● Monitoring
Building an IaaS Cloud: A single node example



 Image Datastore   System Datastore
   (DS_ID: 1)         (DS_ID: 0)




     "NAS"              "NAS"
                                       wlan0
                                               Internet
                                vbr0
  VM         VM
               KVM

  My Laptop
Building an IaaS Cloud: Tools & Interfaces

Tools
 ●   DevOps vs Users
 ●   Command Line Interface
                              Command Line Interface
 ●   GUI
      ○ Sunstone

      ○ Self-service

 ●   Cloud API's
      ○ EC2 Query API

      ○ OCCI
Building an IaaS Cloud: Hosts

Host Management
 ●   Monitoring
      ○ Simple - SSH probes

      ○ Ganglia                   HOST   HOST   HOST
 ●   Cluster
      ○ Logical set of:

         ■ Storage

         ■ Network

         ■ Hosts

      ○ Deal with heterogeneity
Building an IaaS Cloud: Storage

Storage
 ●   Datastore
      ○ Image store              Image Datastore   System Datastore
                                   (DS_ID: 1)         (DS_ID: 0)
      ○ Balance I/O

      ○ Policies

      ○ File, iSCSI, LVM, VMFS
                                     "NAS"              "NAS"
 ●   Image distribution
      ○ System Datastore

      ○ Shared/Distributed FS

      ○ SSH

      ○ iSCSI

      ○ LVM
Building an IaaS Cloud: Network

 Images
 ●   Files vs Block devices
      ○ Performance           Image Datastore   System Datastore
                                (DS_ID: 1)         (DS_ID: 0)
      ○ Management

 ●   Types
      ○ Golden Images
                                  "NAS"              "NAS"
      ○ Persistent

      ○ Volatile

 ●   Context

  CD-ROM with
  custom data
  Disk images
Building an IaaS Cloud: Network

 Networks
  ●   Define a MAC-IP address
      space
  ●   Layer 2 Isolation (drivers)
       ○  802.1Q (Tagging)
       ○  OpenvSwitch                                    vbr0
       ○  ebtables                  VM   VM     VR
       ○  Flat
  ●   Layer 3 simple firewalling
       ○  TCP/UDP ports
                                              Internet
       ○  ICMP's
  ●   Virtual Router
Building an IaaS Cloud: Virtualization

 Virtualization
  ●   Virtual Machine Templates
       ○  Capacity
       ○  Disks                   VM   VM
       ○  NICs
                                        Hypervisor
       ○  Other (VNC, OS,...)
  ●   Support VM operations
       ○  Stop/Resume
       ○  Migration (live)
       ○  Attach/Detach
       ○  Shutdown/Reboot/Reset
  ●   Hypervisor
       ○  Agnostic
       ○  Xen, KVM and VMware
Building an IaaS Cloud: Misc Services

 AuthZ, AuthN & Acct.
  ●   Multi-tenancy
       ○ Groups
       ○ Permissions & ACLs
  ●   Authentication
       ○ X509                 Core & Scheduler
       ○ SSH Keys
                              ●   OpenNebula core
       ○ LDAP
                                  daemon
       ○ Internal
                                   ○ Orchestration
  ●   Authorization
                                   ○ Driver based
       ○ Quotas
                                   ○ Fast & Robust (C++)
  ●   Accounting (Billing)
                              ●   Scheduler
                                   ○ Matchmaking
Building an IaaS Cloud: Misc Services

Marketplace
                                  Marketplace
 ●   Ready-to-use Image Sharing
 ●   Store meta-data
 ●   Images stored elsewhere
 ●   Meeting point Devs & Users
 ●   "one-click" deployment
Building an IaaS Cloud: Integration at a Glance
Building an IaaS Cloud: Integration at a Glance
History of the Project

                                     Third party scalability
  ●   Develop & innovate             tests: 16000 VMs
  ●   Support the community
  ●   Collaborate                              Commercial Support


         TP                                                        v3.2 3.4 3.8
              v1.0     v1.2   v1.4           v2.0      v2.2 v3.0


2005 2008            2009       2010                2011        2012
dsa group doing
  research…


                                                         4,000
                                                    downloads/month
                  European Funding
Lessons Learned

 Do not hide the Complexity, Architect the Cloud!
 ●   Let IT staff adapt/desgin/develop their cloud deployments
 ●   Design to Automate
 ●   Scale your deployments



 Be Interoperable, Have a Rich set of API’s & Interfaces
 ●   Be prepared for different uses cases (don’t look at the service)
 ●   Be prepared to deal with different solutions (storage, virt., nets)
 ●   Be prepared to interoperate at different levels
Join us at www.opennebula.org

           #opennebula            OpenNebula/one

     @opennebula         dev.opennebula.org
Backup: Survey - Deployment Size
Backup: Survey - Hypervisor
Backup: Survey - Distro
Backup: Survey - Storage

More Related Content

What's hot (20)

PDF
OpenStack dotscale workshop -08062013
eNovance
 
PPT
CloudStack for Java User Group
Sebastien Goasguen
 
PPT
Intro to CloudStack Build a Cloud Day
Sebastien Goasguen
 
PDF
iPaas with Fuse Fabric Technology
Charles Moulliard
 
PDF
Onboarding For Public Private And Hybrid Clouds Aws 30.04.09
Chris Purrington
 
PDF
Hybrid Cloud Enablement Technologies
hybrid cloud
 
PPTX
An introduction to Citrix CloudPlatform (powered by Apache CloudStack), Citri...
ShapeBlue
 
KEY
The sky's the limit
Ivan Zoratti
 
PPTX
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
The Linux Foundation
 
PDF
Christian ferber cloud platform_cloudportal
Digicomp Academy AG
 
PPTX
Cloud computing NIC 2012
Kristian Nese
 
PDF
CloudStack Architecture Future
Kimihiko Kitase
 
PDF
CloudStack-Developer-Day
Kimihiko Kitase
 
PPT
Building FOSS clouds
Sebastien Goasguen
 
PPTX
CloudStack Overview
sedukull
 
PPTX
CloudStack technical overview
CloudStack - Open Source Cloud Computing Project
 
PDF
Hacking apache cloud stack
Murali Reddy
 
PPTX
BACD July 2012 : The Xen Cloud Platform
The Linux Foundation
 
PDF
comparative study of Cloud computing tools
Aditya Trivedi
 
OpenStack dotscale workshop -08062013
eNovance
 
CloudStack for Java User Group
Sebastien Goasguen
 
Intro to CloudStack Build a Cloud Day
Sebastien Goasguen
 
iPaas with Fuse Fabric Technology
Charles Moulliard
 
Onboarding For Public Private And Hybrid Clouds Aws 30.04.09
Chris Purrington
 
Hybrid Cloud Enablement Technologies
hybrid cloud
 
An introduction to Citrix CloudPlatform (powered by Apache CloudStack), Citri...
ShapeBlue
 
The sky's the limit
Ivan Zoratti
 
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
The Linux Foundation
 
Christian ferber cloud platform_cloudportal
Digicomp Academy AG
 
Cloud computing NIC 2012
Kristian Nese
 
CloudStack Architecture Future
Kimihiko Kitase
 
CloudStack-Developer-Day
Kimihiko Kitase
 
Building FOSS clouds
Sebastien Goasguen
 
CloudStack Overview
sedukull
 
Hacking apache cloud stack
Murali Reddy
 
BACD July 2012 : The Xen Cloud Platform
The Linux Foundation
 
comparative study of Cloud computing tools
Aditya Trivedi
 

Similar to Building IaaS Clouds and the Art of Virtual Machine Management: A Practical Guide with OpenNebula (20)

PDF
Linuxtag 2012 - OpenNebula
OpenNebula Project
 
PDF
OpenNebula Interoperability
dmamolina
 
PPTX
Cloud Computing Tools
Jithin Parakka
 
PPTX
Cloud stack overview
gavin_lee
 
PDF
Loadays 2013 OpenNebula Fundamentals
OpenNebula Project
 
PDF
Open nebula froscon
OpenNebula Project
 
PPTX
Cloud computing by prabhunath sharma
Prabhunath Sharma
 
PPTX
Overview: Building Open Source Cloud Computing Environments
Mark Hinkle
 
PPTX
Citrix CloudStack - Build Your Own Scalable Infrastructure Cloud with CloudStack
RightScale
 
PDF
Exploration of eucalyptus_v2.0
huangwenjun310
 
PDF
CloudOpen 2012 OpenNebula talk
OpenNebula Project
 
PDF
Building Clouds One 1.4
Ruben S. Montero
 
PPTX
Openstack Diablo Survey
Pjack Chen
 
PDF
Mon1420 build clouds-oliviermaes-citrix
eurocloud
 
PPTX
OpenStack Framework Introduction
Jason TC HOU (侯宗成)
 
PDF
Challenges in hybrid and federated cloud computing
Ignacio M. Llorente
 
PDF
OpenStack at Xen summit Asia
Jaesuk Ahn
 
KEY
Oscon anatomy of_os_cloud_ecosystem
htdvul
 
KEY
EMEA OpenStack Day, July 13th 2011 in London - Jim Curry intro
Open Stack
 
PDF
Crash Course in Open Source Cloud Computing
Mark Hinkle
 
Linuxtag 2012 - OpenNebula
OpenNebula Project
 
OpenNebula Interoperability
dmamolina
 
Cloud Computing Tools
Jithin Parakka
 
Cloud stack overview
gavin_lee
 
Loadays 2013 OpenNebula Fundamentals
OpenNebula Project
 
Open nebula froscon
OpenNebula Project
 
Cloud computing by prabhunath sharma
Prabhunath Sharma
 
Overview: Building Open Source Cloud Computing Environments
Mark Hinkle
 
Citrix CloudStack - Build Your Own Scalable Infrastructure Cloud with CloudStack
RightScale
 
Exploration of eucalyptus_v2.0
huangwenjun310
 
CloudOpen 2012 OpenNebula talk
OpenNebula Project
 
Building Clouds One 1.4
Ruben S. Montero
 
Openstack Diablo Survey
Pjack Chen
 
Mon1420 build clouds-oliviermaes-citrix
eurocloud
 
OpenStack Framework Introduction
Jason TC HOU (侯宗成)
 
Challenges in hybrid and federated cloud computing
Ignacio M. Llorente
 
OpenStack at Xen summit Asia
Jaesuk Ahn
 
Oscon anatomy of_os_cloud_ecosystem
htdvul
 
EMEA OpenStack Day, July 13th 2011 in London - Jim Curry intro
Open Stack
 
Crash Course in Open Source Cloud Computing
Mark Hinkle
 
Ad

Recently uploaded (20)

PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
July Patch Tuesday
Ivanti
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Ad

Building IaaS Clouds and the Art of Virtual Machine Management: A Practical Guide with OpenNebula

  • 1. LINUXCON EUROPE 2012 Barcelona, November 5th Building IaaS Clouds and the Art of Virtual Machine Management: A Practical Guide with OpenNebula Rubén S. Montero [email protected] OpenNebula.org @ruben_s_montero © OpenNebula Project. Creative Commons Attribution-NonCommercial-ShareAlike License
  • 2. Contents ● What is OpenNebula? ● Design Principles & Vision ● The Anatomy of an IaaS Cloud ● Building an IaaS Cloud: A single node example ● Lessons Learned
  • 3. What is OpenNebula? Public Cloud Private Cloud Simple Web Interface A Cloud behind a firewall Infrastructure Resources Security Concerns Elastic & “infinite” Improve Operations Hybrid Cloud / CloudBursting Supplement Capacity of the Private Utility Computing for Real
  • 4. What is OpenNebula? Image Management Monitoring & Scheduling Networking Multi-tenancy Interfaces & APIs VM VM VM VM VM VM VM VM Hypervisor Physical Hardware .. Hypervisor Physical Hardware Host Host
  • 5. Design Principles and Vision ● Flexible: One solution can not fit all data-centers ● Simple: just-what-you-need components & simple protocols ● Scalable: single instance & multi-tier architectures ● Open Source: Apache License v2.0 ● Provide basic components, but easily hack by others
  • 6. The Anatomy of an IaaS Cloud Interfaces, Tools & API ● CLI & Sunstone (GUI) ● API ● Cloud (EC2,OCCI) ● Service Management & Catalogs Network Storage ● VLAN ● VM disks (file & block) ● Firewalling ● Image Distribution ● Multiple Technologies ● Multiple Backends Multi-tenancy ● AAA Services ● Scheduling ● Permissions & roles Compute Hosts ● Grouped in logical clusters ● Multiple hypervisors ● Monitoring
  • 7. Building an IaaS Cloud: A single node example Image Datastore System Datastore (DS_ID: 1) (DS_ID: 0) "NAS" "NAS" wlan0 Internet vbr0 VM VM KVM My Laptop
  • 8. Building an IaaS Cloud: Tools & Interfaces Tools ● DevOps vs Users ● Command Line Interface Command Line Interface ● GUI ○ Sunstone ○ Self-service ● Cloud API's ○ EC2 Query API ○ OCCI
  • 9. Building an IaaS Cloud: Hosts Host Management ● Monitoring ○ Simple - SSH probes ○ Ganglia HOST HOST HOST ● Cluster ○ Logical set of: ■ Storage ■ Network ■ Hosts ○ Deal with heterogeneity
  • 10. Building an IaaS Cloud: Storage Storage ● Datastore ○ Image store Image Datastore System Datastore (DS_ID: 1) (DS_ID: 0) ○ Balance I/O ○ Policies ○ File, iSCSI, LVM, VMFS "NAS" "NAS" ● Image distribution ○ System Datastore ○ Shared/Distributed FS ○ SSH ○ iSCSI ○ LVM
  • 11. Building an IaaS Cloud: Network Images ● Files vs Block devices ○ Performance Image Datastore System Datastore (DS_ID: 1) (DS_ID: 0) ○ Management ● Types ○ Golden Images "NAS" "NAS" ○ Persistent ○ Volatile ● Context CD-ROM with custom data Disk images
  • 12. Building an IaaS Cloud: Network Networks ● Define a MAC-IP address space ● Layer 2 Isolation (drivers) ○ 802.1Q (Tagging) ○ OpenvSwitch vbr0 ○ ebtables VM VM VR ○ Flat ● Layer 3 simple firewalling ○ TCP/UDP ports Internet ○ ICMP's ● Virtual Router
  • 13. Building an IaaS Cloud: Virtualization Virtualization ● Virtual Machine Templates ○ Capacity ○ Disks VM VM ○ NICs Hypervisor ○ Other (VNC, OS,...) ● Support VM operations ○ Stop/Resume ○ Migration (live) ○ Attach/Detach ○ Shutdown/Reboot/Reset ● Hypervisor ○ Agnostic ○ Xen, KVM and VMware
  • 14. Building an IaaS Cloud: Misc Services AuthZ, AuthN & Acct. ● Multi-tenancy ○ Groups ○ Permissions & ACLs ● Authentication ○ X509 Core & Scheduler ○ SSH Keys ● OpenNebula core ○ LDAP daemon ○ Internal ○ Orchestration ● Authorization ○ Driver based ○ Quotas ○ Fast & Robust (C++) ● Accounting (Billing) ● Scheduler ○ Matchmaking
  • 15. Building an IaaS Cloud: Misc Services Marketplace Marketplace ● Ready-to-use Image Sharing ● Store meta-data ● Images stored elsewhere ● Meeting point Devs & Users ● "one-click" deployment
  • 16. Building an IaaS Cloud: Integration at a Glance
  • 17. Building an IaaS Cloud: Integration at a Glance
  • 18. History of the Project Third party scalability ● Develop & innovate tests: 16000 VMs ● Support the community ● Collaborate Commercial Support TP v3.2 3.4 3.8 v1.0 v1.2 v1.4 v2.0 v2.2 v3.0 2005 2008 2009 2010 2011 2012 dsa group doing research… 4,000 downloads/month European Funding
  • 19. Lessons Learned Do not hide the Complexity, Architect the Cloud! ● Let IT staff adapt/desgin/develop their cloud deployments ● Design to Automate ● Scale your deployments Be Interoperable, Have a Rich set of API’s & Interfaces ● Be prepared for different uses cases (don’t look at the service) ● Be prepared to deal with different solutions (storage, virt., nets) ● Be prepared to interoperate at different levels
  • 20. Join us at www.opennebula.org #opennebula OpenNebula/one @opennebula dev.opennebula.org
  • 21. Backup: Survey - Deployment Size
  • 22. Backup: Survey - Hypervisor
  • 24. Backup: Survey - Storage