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

PDF
Cloud and Grids
PDF
Building Clouds with OpenNebula2.2
PDF
OSDC 2012 - OpenNebula: Open-source Solution for Data Center Virtualization
PDF
Cloud Computing Architecture with Open Nebula - HPC Cloud Use Cases - NASA A...
PDF
ISC Cloud 2013 - Cloud Architectures for HPC – Industry Case Studies
PDF
CloudStack NVP Integration - BACD
PPT
Apache CloudStack AlpesJUG
PDF
OSDC 2012 | OpenNebula Open Source Toolkit for DataCenter Virtualization by C...
Cloud and Grids
Building Clouds with OpenNebula2.2
OSDC 2012 - OpenNebula: Open-source Solution for Data Center Virtualization
Cloud Computing Architecture with Open Nebula - HPC Cloud Use Cases - NASA A...
ISC Cloud 2013 - Cloud Architectures for HPC – Industry Case Studies
CloudStack NVP Integration - BACD
Apache CloudStack AlpesJUG
OSDC 2012 | OpenNebula Open Source Toolkit for DataCenter Virtualization by C...

What's hot (20)

PDF
OpenStack dotscale workshop -08062013
PPT
CloudStack for Java User Group
PPT
Intro to CloudStack Build a Cloud Day
PDF
iPaas with Fuse Fabric Technology
PDF
Onboarding For Public Private And Hybrid Clouds Aws 30.04.09
PDF
Hybrid Cloud Enablement Technologies
PPTX
An introduction to Citrix CloudPlatform (powered by Apache CloudStack), Citri...
KEY
The sky's the limit
PPTX
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
PDF
Christian ferber cloud platform_cloudportal
PPTX
Cloud computing NIC 2012
PDF
CloudStack Architecture Future
PDF
CloudStack-Developer-Day
PPT
Building FOSS clouds
PPTX
CloudStack Overview
PPTX
PDF
Hacking apache cloud stack
PPTX
BACD July 2012 : The Xen Cloud Platform
PDF
comparative study of Cloud computing tools
OpenStack dotscale workshop -08062013
CloudStack for Java User Group
Intro to CloudStack Build a Cloud Day
iPaas with Fuse Fabric Technology
Onboarding For Public Private And Hybrid Clouds Aws 30.04.09
Hybrid Cloud Enablement Technologies
An introduction to Citrix CloudPlatform (powered by Apache CloudStack), Citri...
The sky's the limit
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
Christian ferber cloud platform_cloudportal
Cloud computing NIC 2012
CloudStack Architecture Future
CloudStack-Developer-Day
Building FOSS clouds
CloudStack Overview
Hacking apache cloud stack
BACD July 2012 : The Xen Cloud Platform
comparative study of Cloud computing tools
Ad

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

PDF
Linuxtag 2012 - OpenNebula
PDF
OpenNebula Interoperability
PPTX
Cloud Computing Tools
PPTX
Cloud stack overview
PDF
Loadays 2013 OpenNebula Fundamentals
PDF
Open nebula froscon
PPTX
Cloud computing by prabhunath sharma
PPTX
Overview: Building Open Source Cloud Computing Environments
PPTX
Citrix CloudStack - Build Your Own Scalable Infrastructure Cloud with CloudStack
PDF
Exploration of eucalyptus_v2.0
PDF
CloudOpen 2012 OpenNebula talk
PDF
Building Clouds One 1.4
PPTX
Openstack Diablo Survey
PDF
Mon1420 build clouds-oliviermaes-citrix
PPTX
OpenStack Framework Introduction
PDF
Challenges in hybrid and federated cloud computing
PDF
OpenStack at Xen summit Asia
KEY
Oscon anatomy of_os_cloud_ecosystem
KEY
EMEA OpenStack Day, July 13th 2011 in London - Jim Curry intro
PDF
Crash Course in Open Source Cloud Computing
Linuxtag 2012 - OpenNebula
OpenNebula Interoperability
Cloud Computing Tools
Cloud stack overview
Loadays 2013 OpenNebula Fundamentals
Open nebula froscon
Cloud computing by prabhunath sharma
Overview: Building Open Source Cloud Computing Environments
Citrix CloudStack - Build Your Own Scalable Infrastructure Cloud with CloudStack
Exploration of eucalyptus_v2.0
CloudOpen 2012 OpenNebula talk
Building Clouds One 1.4
Openstack Diablo Survey
Mon1420 build clouds-oliviermaes-citrix
OpenStack Framework Introduction
Challenges in hybrid and federated cloud computing
OpenStack at Xen summit Asia
Oscon anatomy of_os_cloud_ecosystem
EMEA OpenStack Day, July 13th 2011 in London - Jim Curry intro
Crash Course in Open Source Cloud Computing
Ad

Recently uploaded (20)

PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
A Presentation on Artificial Intelligence
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Modernizing your data center with Dell and AMD
PPTX
Big Data Technologies - Introduction.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Encapsulation theory and applications.pdf
PDF
KodekX | Application Modernization Development
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Cloud computing and distributed systems.
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPT
Teaching material agriculture food technology
PDF
Machine learning based COVID-19 study performance prediction
PDF
Network Security Unit 5.pdf for BCA BBA.
Reach Out and Touch Someone: Haptics and Empathic Computing
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
A Presentation on Artificial Intelligence
MYSQL Presentation for SQL database connectivity
Modernizing your data center with Dell and AMD
Big Data Technologies - Introduction.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Encapsulation theory and applications.pdf
KodekX | Application Modernization Development
Digital-Transformation-Roadmap-for-Companies.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Cloud computing and distributed systems.
20250228 LYD VKU AI Blended-Learning.pptx
Teaching material agriculture food technology
Machine learning based COVID-19 study performance prediction
Network Security Unit 5.pdf for BCA BBA.

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 rsmontero@opennebula.org 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