SlideShare a Scribd company logo
1 of 28
Download to read offline
Apache CloudStack
Architecture
  Alex Huang
  Software Architect, Citrix Systems
Self-Service Access via CloudStack UI

             Org A           Org B
                                             Users
                     Admin           Admin


End User             Users           Users




           Compute            Network                Storage


Admin
Deployment Architecture
Components
• Hosts
 • Servers onto which services will be provisioned                                VM



• Primary Storage                                                        Host
 • VM disk storage                                        Network
                                                                                  VM




• Cluster                                                                Host
 • A grouping of hosts and their associated storage
                                                                            Primary
• Pod                                                                       Storage
 • Collection of clusters in the same failure boundary
• Network                                                               Cluster
 • Logical network associated with service offerings
                                                         Secondary
                                                                        Cluster
• Secondary Storage                                       Storage

 • Template, snapshot and ISO storage
                                                                     CloudStack Pod
• Zone
 • Collection of pods, network offerings and
   secondary storage                                                 CloudStack Pod
• Management Server Farm
 • Management and provisioning tasks                                 Zone
Two Types of Storage
Primary Storage
•   Stores disk volumes for VMs in a cluster
•   Configured at Cluster-level.
•   Close to hosts for better performance                           L3 switch
•   Cluster have at least one primary storage
•   Requires high IOPs (can be expensive)
                                                Pod 1   L2 switch
                                                                                Secondary
                                                 Cluster 1                       Storage
                                                   Host 1
                                                               Primary
Secondary Storage                                  Host 2      Storage
•   Stores all Templates, ISOs and Snapshots
•   Configured at Zone-level
•   Zone can have one or more secondary
    storages
•   High capacity, low cost commodity
    storage
Deployment Architecture
                                      Internet          Hypervisor is the basic unit
Management
Server Cluster                                           of scale.

 Zone 1                                                 Cluster consists of one ore
                                                         more hosts of same
                         L3                              hypervisor

 Pod 1                             Pod N
                                                        All hosts in cluster have
               L2                          Secondary
                                                         access to shared (primary)
                              ….            Storage
                                                         storage
   Cluster N
                                                        Pod is one or more clusters,
                                                         usually with L2 switches.
         ….
                                                        Availability Zone has one or
   Cluster 1                                             more pods, has access to
                                                         secondary storage.
     Host 1
                    Primary
                                                        One or more zones
     Host 2         Storage
                                                         represent cloud
Management Server Cluster

                                                         MS is stateless. MS can
                                                          be deployed as physical
                                                          server or VM
                                        MySQL

User API                 Management                      Single MS node can
                           Server                         manage up to 10K hosts.
              Load
            Balancer                    Replication       Multiple nodes can be
Admin API                Management                       deployed for scale or
                           Server                         redundancy
                                        Replica
                                                         RHEL 5.4+, Ubuntu
                                                          10.0.4, Fedora 16


                       Infrastructure
                         Resources
Managing Complexity
The Three C’s of Complexity

• Control
• Choice
• Compliance
Giving Control Brings Complexity

                     Org A              Org B
                                                                             • ACL
                                                            Users            • Limits
                             Admin              Admin
                                                                             • Governance
 End User                    Users              Users




Admin           Compute                     Network                       Storage
            VM                         Net                                     Local
                        Hyper-V                 Cisco ASA           NFS
            Ware                      Scaler                                   Disk

             Xen         Oracle        F5                           iSCSI      Swift
            Server        VM

                         Bare        Jun. SRX                        FC        HDFS
            KVM
                         Metal
Guest Virtual Layer-2 Network
                                      Guest 1 Virtual Network
                                      10.1.1.0/24
                                                        Guest 1   Guest
                                                         VM 1     10.1.1.2

           Public IP      Guest 1   Gateway            Guest 1    Guest
           65.37.141.11   Virtual   10.1.1.1            VM 2      10.1.1.3
           65.37.141.36   Router
                                                       Guest 1    Guest
                                                        VM 3      10.1.1.4

Internet
                                                       Guest 2    Guest
                                                        VM 1      10.1.1.2

           Public IP      Guest 2   Gateway            Guest 2    Guest
           65.37.141.24   Virtual   10.1.1.1            VM 2      10.1.1.3
           65.37.141.80   Router
                                                       Guest 2    Guest
                                                        VM 3      10.1.1.4

                                        Guest 2 Virtual Network
                                        10.1.1.0/24
Multi-tier Network
                                                          Virtual Network                            Virtual Network
                         Virtual Network                  10.1.2.0/24                                10.1.3.0/24
                         10.1.1.0/24                      VLAN 1001                                  VLAN 141
                         VLAN 100
                                                                                        App VM
                                                                            10.1.2.31      1       10.1.3.21
                          Private IP                  Web VM
Public IP                                  10.1.1.1     1      10.1.2.21
             Juniper      10.1.1.111
65.37.141.     SRX                                                                      App VM
111          Firewall                                                       10.1.2.24      2       10.1.3.45
                                                      Web VM
                                           10.1.1.3     2      10.1.2.18
 Public IP               Private IP
             Netscaler   10.1.1.112
 65.37.1       Load                                   Web VM
 41.112      Balancer                      10.1.1.4     3      10.1.2.38                                        10.1.3.24 DB VM 1



                                                      Web VM
                                           10.1.1.5     4      10.1.2.39

                                                                                                 DHCP,
                                       Virtual                 DHCP,   Virtual                   DNS      Virtual
                               DHCP,                           DNS,
                               DNS     Router                  User-   Router                    User-    Router
                                                               data                              data,
                               User-
                                                                                                 Source
                               data
                                                                                                 -NAT,
                                                                                                 VPN           Public IP
                                                                                                               65.37.141.115
Unified Multi-tier Network
                                 Internet


                                                                      IPSec or SSL site-to-site VPN
                                                Virtual Router                                             Customer
           Load Balancer                                                                                   Premises

                                                                                       Monitoring VLAN

Virtual Router Services
                                                                     App
• IPAM                                                   10.1.2.31
                                         Web                         VM 1
• DNS                         10.1.1.1
• LB [intra]                             VM 1
• S-2-S VPN                                                          App
                                                         10.1.2.24
• Static Routes                          Web                         VM 2
• ACLs                       10.1.1.3    VM 2
• NAT, PF
• FW [ingress & egress]
                                         Web                                                       DB VM
• BGP                                                                                  10.1.3.24
                              10.1.1.4   VM 3                                                        1

                                         Web
                              10.1.1.5   VM 4
                     Virtual Network               Virtual Network               Virtual Network
                     10.1.1.0/24                   10.1.2.0/24                   10.1.3.0/24
                     VLAN 100                      VLAN 1001                     VLAN 141
Other Topologies
                                                       Dedicated VLAN with DHCP and DNS
No services [Static IPs]
                                                       User can request specific IP[s] for NIC

                  Guest Virtual Network                                    Guest Virtual Network
                  10.1.1.0/24                                              10.1.1.0/24
                  VLAN 100                                                 VLAN 100

                                               Guest                                               Guest
                                               VM 1                                     10.1.1.1   VM 1
                                   10.1.1.1
                 Gateway address
                 10.1.1.1
                                               Guest                                               Guest
                                   10.1.1.3    VM 2                        Gateway     10.1.1.3    VM 2
                                                                           address
                                                                           10.1.1.1
                                               Guest                                               Guest
   Core switch                     10.1.1.4    VM 3                                                VM 3
                                                                                        10.1.1.4


                                               Guest
                                                             Core switch                           Guest
                                    10.1.1.5   VM 4                                     10.1.1.5   VM 4


                                                                                      Virtual
                                                                               DHCP,
                                                                               DNS
                                                                                       Router
                                                                               User-data
Other Topologies
MPLS Use Case                                              Shared VLAN with DHCP and DNS

                       Guest Virtual Network 10.1.1.0/24                           Guest Virtual Network 10.1.1.0/24
                       VLAN 100                                                    VLAN 100



MPLS VLAN 100                                Guest                                                       Guest
                                             VM 1                                            10.1.1.1    VM 1
                              10.1.1.100
                Gateway address
                10.1.1.1
                                             Guest                                                       Guest
                                  10.1.1.200 VM 2                       Gateway             10.1.1.3     VM 2
                                                                        address
                                                                        10.1.1.1
                                             Guest                                                       Guest
   Core switch              10.1.1.101       VM 3                                                        VM 3
                                                                                             10.1.1.4


                                             Guest
                                                              Core switch                                Guest
                                 10.1.1.11   VM 4                                            10.1.1.5    VM 4
                                 5
                               CS                                                          CS
                     DHCP,   Virtual                                           DHCP,     Virtual
                             Router                                                      Router
                     DNS                                                       DNS
                     User-data                                                 User-data
Layer 3 Networking (Amazon Style)



        Web                  DB                   Web
        VM                   VM                   VM
                Web                  DB
              Security             Security
               Group                Group
        Web                  Web                  DB
        VM                   VM                   VM

    …                    …                    …

        Web                  Web
        VM                   VM
Software Architecture
Cloud                                                      Other
  UI                                              CLI                          Clients
                    Portal




                                                     Management Server
                                                            REST API
       OAM&P API                     End User API         EC2 API      Other APIs           Pluggable Service API Engine


Console Proxy                               ACL & Authentication                                 Security Adapters
Management                 -        Accounts, Domains, and Projects
                           -        ACL, limits checking                                       Account Management
                                                                                                   Connectors
  Template
   Access
                                                 Services API
                                                                                                                            DB




                                                                               Plugin API
                                                                                               Deployment Planning
       HA
                                           Orchestration Engine
                                     -     Drives long running VM
                     Services API




                                                                                                  Network Gurus
    Usage                                  operations
 Calculations                        -     Syncs between resources
                                           managed and DB                                        Network Elements
 Additional                          -     Generates events
  Services
                                                                                                 Hypervisor Gurus


     Cluster                         Resource               Job               Alert & Event              Database
   Management                       Management           Management           Management                  Access




                                                        Message Bus
                                                                       Event Bus                                           Usage
                                                                                                                           Server
                                                          Resource API
       Hypervisor                         Network           Storage             Image                 Snapshot
       Resources                         Resources         Resources          Resources               Resources
Orchestration Engine

• Understands how to orchestrate long running
  processes (i.e. VM starts, Snapshot copies,
  Template propagation)
• Well defined process steps
• Calls Plugin API to execute functionalities that
  it needs
Plugins

• Various ways to add more capability to
  CloudStack
• Implements clearly defined interfaces
• All operations must be idempotent
• All calls are at transaction boundaries
• Compiles only against the Plugin API module
Anatomy of a Plugin
                                                            • Can be two jars: server component to
                                                              be deployed on management server
                                                              and an optional ServerResource
                            Rest API
                                                              component to be deployed co-
     -       Optional. Required only if needs to expose       located with the resource
             configuration API to admin.
                                                            • Server component can implement
                                                              multiple Plugin APIs to add its feature
Plugin API




                     Implementation
                                                            • Can expose its own API through
                                                              Pluggable Service so administrators
                       Data Access Layer
                                                              can configure the plugin
                                                            • As an example, OVS plugin actually
                                                              implements both NetworkGuru and
                   ServerResource                             NetworkElement
 -           Optional. Required if Plugin needs to be co-
             located with the resource
 -           Implements translation layer to talk to
             resource
 -           Communicates with server component via
             JSON
Plugin Interfaces Available

• NetworkGuru – Implements various network isolation and ip
  address technologies
• NetworkElement – Facilitate network services on network elements
  to support a VM (i.e. DNS, DHCP, LB, VPN, Port Forwarding, etc)
• DeploymentPlanner – Different algorithms to place a VM and
  volumes.
• Investigator – Ways to find out if a host is down or VM is down.
• Fencer – Ways to fence off a VM if the state is unknown
• UserAuthenticator – Methods of authenticating a user
• SecurityChecker – ACL access
• HostAllocator – Provides different ways to allocate host
• StoragePoolAllocator – Provides different ways to allocate volumes
Separating Data and Control

            Cloud                                                Management Servers
                                                                  control all resources,
Data Center 1
                                       Data Center 3              both virtual and physical
           Managem

  VR
             ent
            Server
                                                        VR       SSVMs deployed to
                                                                  transfer data between
  CPVM          SSVM                      SSVM         CPVM       zones
                        Transfer of
                        Templates,                               CPVMs deployed to
                           ISOs,
                        Snapshots
                                                                  transfer VNC console
                                      Internet                    traffic
 Data Center 2
                                                                 VR deployed for traffic
    VR           SSVM                                             into public internet

                 CPVM
                                                                 Management Server is
                                                                  never in the data path
Sequence Flow for VM Creation
                                                                                     Kernel
                          End User         Security          User VM       VirtualMac       Network              Storage   Network      Job
                          Rest API         Checkers            Mgr          hine Mgr          Mgr                  Mgr      Guru     Scheduling
   Deploy VM
                                ACL Checks

                                     Allocate Entity in CS

                                                                  Allocate VM

                                                                                 Allocate NIC

                                                                                                   Allocate IP

                                                                                 Allocate Volume


                                Schedules Deploy Job


 Returns with job id, VM id


 Query Job Result


Returns with job status
Sequence Flow for VM Creation
                                                                                                                                      Deploymen    Server
                                User VM      VirtualMac     Network        Storage        Network         Network         Template         t
Job Threads     Services API                                                                                                                      Resources
                                  Mgr         hine Mgr        Mgr            Mgr           Guru           Element           Mgr        Planner



        Start VM

                       Start User VM

                                       Start VM

                                                   Get a Deployment Plan (Host and StoragePool)

                                                   Prepare Nics

                                                                     Reserve resources for Nic

                                                                      Notify that Nic is about to be started in network

                                                                                                                 Agent Calls

                                                   Prepare Volumes


                                                                                   Prepare template on Primary Storage
                                                                                                                               Agent Calls
                                                   Agent Start VM Call

       Stores job result
Conclusion
Design Goals for CloudStack

• Design for complexity
   – Clear interfaces
• Design for scalability
   – Separate out data path and control paths
   – Design to maximize the use of database connections
• Design against failure
   – Provide clear boundaries (process and compilation)
   – Utilize cloud administrator to give guidance
More Information

• http://cloudstack.org

• Apache mailing lists
 – cloudstack-users-subscribe@apache.incubator.org
 – cloudstack-dev-subscribe@apache.incubator.org

• Thank you




                                                     28

More Related Content

What's hot

Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012The Linux Foundation
 
CloudStack Overview
CloudStack OverviewCloudStack Overview
CloudStack Overviewsedukull
 
CloudStack Architecture Future
CloudStack Architecture FutureCloudStack Architecture Future
CloudStack Architecture FutureKimihiko Kitase
 
Scalable networking in Apache CloudStack
Scalable networking in Apache CloudStackScalable networking in Apache CloudStack
Scalable networking in Apache CloudStackChiradeep Vittal
 
Networking in the Cloud Age (LISA 2012 Tutorial)
Networking in the Cloud Age (LISA 2012 Tutorial)Networking in the Cloud Age (LISA 2012 Tutorial)
Networking in the Cloud Age (LISA 2012 Tutorial)Chiradeep Vittal
 
Cloud stack overview
Cloud stack overviewCloud stack overview
Cloud stack overviewgavin_lee
 
Automating CloudStack and hypervisor installation and configuration
Automating CloudStack and hypervisor installation and configurationAutomating CloudStack and hypervisor installation and configuration
Automating CloudStack and hypervisor installation and configurationDag Sonstebo
 
CloudStack Networking at CloudOpen Japan
CloudStack Networking at CloudOpen JapanCloudStack Networking at CloudOpen Japan
CloudStack Networking at CloudOpen JapanKimihiko Kitase
 
Decisions behind hypervisor selection in CloudStack 4.3
Decisions behind hypervisor selection in CloudStack 4.3Decisions behind hypervisor selection in CloudStack 4.3
Decisions behind hypervisor selection in CloudStack 4.3Tim Mackey
 
Intro to CloudStack Build a Cloud Day
Intro to CloudStack Build a Cloud DayIntro to CloudStack Build a Cloud Day
Intro to CloudStack Build a Cloud DaySebastien Goasguen
 
BACD July 2012 : The Xen Cloud Platform
BACD July 2012 : The Xen Cloud Platform BACD July 2012 : The Xen Cloud Platform
BACD July 2012 : The Xen Cloud Platform The Linux Foundation
 
Cloud stack overview
Cloud stack overviewCloud stack overview
Cloud stack overviewhowie YU
 
Introduction to Apache CloudStack by David Nalley
Introduction to Apache CloudStack by David NalleyIntroduction to Apache CloudStack by David Nalley
Introduction to Apache CloudStack by David Nalleybuildacloud
 

What's hot (20)

Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
 
CloudStack Overview
CloudStack OverviewCloudStack Overview
CloudStack Overview
 
Apache CloudStack from API to UI
Apache CloudStack from API to UIApache CloudStack from API to UI
Apache CloudStack from API to UI
 
CloudStack Architecture Future
CloudStack Architecture FutureCloudStack Architecture Future
CloudStack Architecture Future
 
Xen and Apache cloudstack
Xen and Apache cloudstack  Xen and Apache cloudstack
Xen and Apache cloudstack
 
Introduction to CloudStack
Introduction to CloudStack Introduction to CloudStack
Introduction to CloudStack
 
Scalable networking in Apache CloudStack
Scalable networking in Apache CloudStackScalable networking in Apache CloudStack
Scalable networking in Apache CloudStack
 
Networking in the Cloud Age (LISA 2012 Tutorial)
Networking in the Cloud Age (LISA 2012 Tutorial)Networking in the Cloud Age (LISA 2012 Tutorial)
Networking in the Cloud Age (LISA 2012 Tutorial)
 
Cloud stack overview
Cloud stack overviewCloud stack overview
Cloud stack overview
 
Automating CloudStack and hypervisor installation and configuration
Automating CloudStack and hypervisor installation and configurationAutomating CloudStack and hypervisor installation and configuration
Automating CloudStack and hypervisor installation and configuration
 
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
 
CloudStack Networking at CloudOpen Japan
CloudStack Networking at CloudOpen JapanCloudStack Networking at CloudOpen Japan
CloudStack Networking at CloudOpen Japan
 
Decisions behind hypervisor selection in CloudStack 4.3
Decisions behind hypervisor selection in CloudStack 4.3Decisions behind hypervisor selection in CloudStack 4.3
Decisions behind hypervisor selection in CloudStack 4.3
 
CloudStack Networking
CloudStack NetworkingCloudStack Networking
CloudStack Networking
 
Intro to CloudStack Build a Cloud Day
Intro to CloudStack Build a Cloud DayIntro to CloudStack Build a Cloud Day
Intro to CloudStack Build a Cloud Day
 
DevCloud and CloudMonkey
DevCloud and CloudMonkeyDevCloud and CloudMonkey
DevCloud and CloudMonkey
 
Cloud stack for_beginners
Cloud stack for_beginnersCloud stack for_beginners
Cloud stack for_beginners
 
BACD July 2012 : The Xen Cloud Platform
BACD July 2012 : The Xen Cloud Platform BACD July 2012 : The Xen Cloud Platform
BACD July 2012 : The Xen Cloud Platform
 
Cloud stack overview
Cloud stack overviewCloud stack overview
Cloud stack overview
 
Introduction to Apache CloudStack by David Nalley
Introduction to Apache CloudStack by David NalleyIntroduction to Apache CloudStack by David Nalley
Introduction to Apache CloudStack by David Nalley
 

Similar to 2 architectural at CloudStack Developer Day

CloudStack Best Practice in PPTV
CloudStack Best Practice in PPTVCloudStack Best Practice in PPTV
CloudStack Best Practice in PPTVgavin_lee
 
2012 CloudStack Design Camp in Taiwan--- CloudStack Overview-1
2012 CloudStack Design Camp in Taiwan--- CloudStack Overview-12012 CloudStack Design Camp in Taiwan--- CloudStack Overview-1
2012 CloudStack Design Camp in Taiwan--- CloudStack Overview-1tcloudcomputing-tw
 
What is cloud computing
What is cloud computingWhat is cloud computing
What is cloud computingBrian Bullard
 
Apache CloudStack: API to UI (STLLUG)
Apache CloudStack: API to UI (STLLUG)Apache CloudStack: API to UI (STLLUG)
Apache CloudStack: API to UI (STLLUG)Joe Brockmeier
 
1 Introduction at CloudStack Developer Day
1 Introduction at CloudStack Developer Day 1 Introduction at CloudStack Developer Day
1 Introduction at CloudStack Developer Day Kimihiko Kitase
 
5 scalability Cloudstack Developer Day
5  scalability Cloudstack Developer Day5  scalability Cloudstack Developer Day
5 scalability Cloudstack Developer DayKimihiko Kitase
 
Oracle VM – the coolest virtualizator you’ve ever had
Oracle VM – the coolest virtualizator you’ve ever had Oracle VM – the coolest virtualizator you’ve ever had
Oracle VM – the coolest virtualizator you’ve ever had ORACLE USER GROUP ESTONIA
 
Windows server 2012 failover clustering improvements
Windows server 2012   failover clustering improvementsWindows server 2012   failover clustering improvements
Windows server 2012 failover clustering improvementsSusantha Silva
 
3.5 SDN CloudStack Developer Day
3.5  SDN CloudStack Developer Day3.5  SDN CloudStack Developer Day
3.5 SDN CloudStack Developer DayKimihiko Kitase
 
Managing Exadata in the Real World
Managing Exadata in the Real WorldManaging Exadata in the Real World
Managing Exadata in the Real WorldEnkitec
 
21.10.09 Microsoft Event, Microsoft Presentation
21.10.09 Microsoft Event, Microsoft Presentation21.10.09 Microsoft Event, Microsoft Presentation
21.10.09 Microsoft Event, Microsoft Presentationdataplex systems limited
 
Win2k8 cluster kaliyan
Win2k8 cluster kaliyanWin2k8 cluster kaliyan
Win2k8 cluster kaliyanKaliyan S
 
Private cloud virtual reality to reality a partner story daniel mar_technicom
Private cloud virtual reality to reality a partner story daniel mar_technicomPrivate cloud virtual reality to reality a partner story daniel mar_technicom
Private cloud virtual reality to reality a partner story daniel mar_technicomMicrosoft Singapore
 
NSS File System Performance, Clustering and Auditing in Novell Open Enterpris...
NSS File System Performance, Clustering and Auditing in Novell Open Enterpris...NSS File System Performance, Clustering and Auditing in Novell Open Enterpris...
NSS File System Performance, Clustering and Auditing in Novell Open Enterpris...Novell
 
NSS File System Performance, Clustering and Auditing in Novell Open Enterpris...
NSS File System Performance, Clustering and Auditing in Novell Open Enterpris...NSS File System Performance, Clustering and Auditing in Novell Open Enterpris...
NSS File System Performance, Clustering and Auditing in Novell Open Enterpris...Novell
 
Caching technology comparison
Caching technology comparisonCaching technology comparison
Caching technology comparisonRohit Kelapure
 

Similar to 2 architectural at CloudStack Developer Day (20)

CloudStack Best Practice in PPTV
CloudStack Best Practice in PPTVCloudStack Best Practice in PPTV
CloudStack Best Practice in PPTV
 
2012 CloudStack Design Camp in Taiwan--- CloudStack Overview-1
2012 CloudStack Design Camp in Taiwan--- CloudStack Overview-12012 CloudStack Design Camp in Taiwan--- CloudStack Overview-1
2012 CloudStack Design Camp in Taiwan--- CloudStack Overview-1
 
What is cloud computing
What is cloud computingWhat is cloud computing
What is cloud computing
 
Apache CloudStack: API to UI (STLLUG)
Apache CloudStack: API to UI (STLLUG)Apache CloudStack: API to UI (STLLUG)
Apache CloudStack: API to UI (STLLUG)
 
1 Introduction at CloudStack Developer Day
1 Introduction at CloudStack Developer Day 1 Introduction at CloudStack Developer Day
1 Introduction at CloudStack Developer Day
 
5 scalability Cloudstack Developer Day
5  scalability Cloudstack Developer Day5  scalability Cloudstack Developer Day
5 scalability Cloudstack Developer Day
 
Oracle VM – the coolest virtualizator you’ve ever had
Oracle VM – the coolest virtualizator you’ve ever had Oracle VM – the coolest virtualizator you’ve ever had
Oracle VM – the coolest virtualizator you’ve ever had
 
Windows server 2012 failover clustering improvements
Windows server 2012   failover clustering improvementsWindows server 2012   failover clustering improvements
Windows server 2012 failover clustering improvements
 
UDS 2012 Xen
UDS 2012 XenUDS 2012 Xen
UDS 2012 Xen
 
3.5 SDN CloudStack Developer Day
3.5  SDN CloudStack Developer Day3.5  SDN CloudStack Developer Day
3.5 SDN CloudStack Developer Day
 
CloudStack + SDN
CloudStack + SDNCloudStack + SDN
CloudStack + SDN
 
Virtualization in the cloud
Virtualization in the cloudVirtualization in the cloud
Virtualization in the cloud
 
Managing Exadata in the Real World
Managing Exadata in the Real WorldManaging Exadata in the Real World
Managing Exadata in the Real World
 
21.10.09 Microsoft Event, Microsoft Presentation
21.10.09 Microsoft Event, Microsoft Presentation21.10.09 Microsoft Event, Microsoft Presentation
21.10.09 Microsoft Event, Microsoft Presentation
 
Improvements in Failover Clustering in Windows Server 2012
Improvements in Failover Clustering in Windows Server 2012Improvements in Failover Clustering in Windows Server 2012
Improvements in Failover Clustering in Windows Server 2012
 
Win2k8 cluster kaliyan
Win2k8 cluster kaliyanWin2k8 cluster kaliyan
Win2k8 cluster kaliyan
 
Private cloud virtual reality to reality a partner story daniel mar_technicom
Private cloud virtual reality to reality a partner story daniel mar_technicomPrivate cloud virtual reality to reality a partner story daniel mar_technicom
Private cloud virtual reality to reality a partner story daniel mar_technicom
 
NSS File System Performance, Clustering and Auditing in Novell Open Enterpris...
NSS File System Performance, Clustering and Auditing in Novell Open Enterpris...NSS File System Performance, Clustering and Auditing in Novell Open Enterpris...
NSS File System Performance, Clustering and Auditing in Novell Open Enterpris...
 
NSS File System Performance, Clustering and Auditing in Novell Open Enterpris...
NSS File System Performance, Clustering and Auditing in Novell Open Enterpris...NSS File System Performance, Clustering and Auditing in Novell Open Enterpris...
NSS File System Performance, Clustering and Auditing in Novell Open Enterpris...
 
Caching technology comparison
Caching technology comparisonCaching technology comparison
Caching technology comparison
 

More from Kimihiko Kitase

ライトプランで利用可能な分析基盤「IBM Analytics Engine (IAE)」とは
ライトプランで利用可能な分析基盤「IBM Analytics Engine (IAE)」とはライトプランで利用可能な分析基盤「IBM Analytics Engine (IAE)」とは
ライトプランで利用可能な分析基盤「IBM Analytics Engine (IAE)」とはKimihiko Kitase
 
クラウドにおけるビッグデータ分析環境
クラウドにおけるビッグデータ分析環境クラウドにおけるビッグデータ分析環境
クラウドにおけるビッグデータ分析環境Kimihiko Kitase
 
最新事例から学ぶビッグデータの活用法 #ocif16 #hortonworks
最新事例から学ぶビッグデータの活用法 #ocif16 #hortonworks最新事例から学ぶビッグデータの活用法 #ocif16 #hortonworks
最新事例から学ぶビッグデータの活用法 #ocif16 #hortonworksKimihiko Kitase
 
Hortonworksが提供する データ活用方法の紹介
Hortonworksが提供する データ活用方法の紹介Hortonworksが提供する データ活用方法の紹介
Hortonworksが提供する データ活用方法の紹介Kimihiko Kitase
 
Hadoop Summit 2016 San Jose レポート
Hadoop Summit 2016  San Jose レポートHadoop Summit 2016  San Jose レポート
Hadoop Summit 2016 San Jose レポートKimihiko Kitase
 
SoftLayer Bluemix Community Festa 2016 Program Guide
SoftLayer Bluemix Community Festa 2016 Program GuideSoftLayer Bluemix Community Festa 2016 Program Guide
SoftLayer Bluemix Community Festa 2016 Program GuideKimihiko Kitase
 
2016年冬 IBMクラウド最新動向と概要
2016年冬 IBMクラウド最新動向と概要2016年冬 IBMクラウド最新動向と概要
2016年冬 IBMクラウド最新動向と概要Kimihiko Kitase
 
2016年冬 IBMクラウド最新動向
2016年冬 IBMクラウド最新動向2016年冬 IBMクラウド最新動向
2016年冬 IBMクラウド最新動向Kimihiko Kitase
 
クラウドを活用した システム開発は適材適所
クラウドを活用したシステム開発は適材適所クラウドを活用したシステム開発は適材適所
クラウドを活用した システム開発は適材適所Kimihiko Kitase
 
ホスティッドプライベートクラウド勉強会 ~Azure Pack on SoftLayer ~
ホスティッドプライベートクラウド勉強会 ~Azure Pack on SoftLayer ~ホスティッドプライベートクラウド勉強会 ~Azure Pack on SoftLayer ~
ホスティッドプライベートクラウド勉強会 ~Azure Pack on SoftLayer ~Kimihiko Kitase
 
話題のNode-REDでIoTアプリを作ってみよう
話題のNode-REDでIoTアプリを作ってみよう話題のNode-REDでIoTアプリを作ってみよう
話題のNode-REDでIoTアプリを作ってみようKimihiko Kitase
 
SoftLayer最新動向と賢い利用方法
SoftLayer最新動向と賢い利用方法 SoftLayer最新動向と賢い利用方法
SoftLayer最新動向と賢い利用方法 Kimihiko Kitase
 
SoftLayer Bluemix Summit 2015 Flyer
SoftLayer Bluemix Summit 2015 FlyerSoftLayer Bluemix Summit 2015 Flyer
SoftLayer Bluemix Summit 2015 FlyerKimihiko Kitase
 
OSC15 Okinawa Intro SoftLayer and Bluemix
OSC15 Okinawa Intro SoftLayer and BluemixOSC15 Okinawa Intro SoftLayer and Bluemix
OSC15 Okinawa Intro SoftLayer and BluemixKimihiko Kitase
 
Introduction of public cloud softlayer and bluemix
Introduction of public cloud softlayer and bluemixIntroduction of public cloud softlayer and bluemix
Introduction of public cloud softlayer and bluemixKimihiko Kitase
 
SoftLayer Bluemix Summit 2015
SoftLayer Bluemix Summit 2015SoftLayer Bluemix Summit 2015
SoftLayer Bluemix Summit 2015Kimihiko Kitase
 
クラウドに構築したWebサイトのセキュリティ対策やグローバル展開について
クラウドに構築したWebサイトのセキュリティ対策やグローバル展開についてクラウドに構築したWebサイトのセキュリティ対策やグローバル展開について
クラウドに構築したWebサイトのセキュリティ対策やグローバル展開についてKimihiko Kitase
 
Introduction softlayer and bluemix
Introduction softlayer and bluemixIntroduction softlayer and bluemix
Introduction softlayer and bluemixKimihiko Kitase
 

More from Kimihiko Kitase (20)

ライトプランで利用可能な分析基盤「IBM Analytics Engine (IAE)」とは
ライトプランで利用可能な分析基盤「IBM Analytics Engine (IAE)」とはライトプランで利用可能な分析基盤「IBM Analytics Engine (IAE)」とは
ライトプランで利用可能な分析基盤「IBM Analytics Engine (IAE)」とは
 
クラウドにおけるビッグデータ分析環境
クラウドにおけるビッグデータ分析環境クラウドにおけるビッグデータ分析環境
クラウドにおけるビッグデータ分析環境
 
最新事例から学ぶビッグデータの活用法 #ocif16 #hortonworks
最新事例から学ぶビッグデータの活用法 #ocif16 #hortonworks最新事例から学ぶビッグデータの活用法 #ocif16 #hortonworks
最新事例から学ぶビッグデータの活用法 #ocif16 #hortonworks
 
Hortonworksが提供する データ活用方法の紹介
Hortonworksが提供する データ活用方法の紹介Hortonworksが提供する データ活用方法の紹介
Hortonworksが提供する データ活用方法の紹介
 
Hadoop Summit 2016 San Jose レポート
Hadoop Summit 2016  San Jose レポートHadoop Summit 2016  San Jose レポート
Hadoop Summit 2016 San Jose レポート
 
SoftLayer Bluemix Community Festa 2016 Program Guide
SoftLayer Bluemix Community Festa 2016 Program GuideSoftLayer Bluemix Community Festa 2016 Program Guide
SoftLayer Bluemix Community Festa 2016 Program Guide
 
2016年冬 IBMクラウド最新動向と概要
2016年冬 IBMクラウド最新動向と概要2016年冬 IBMクラウド最新動向と概要
2016年冬 IBMクラウド最新動向と概要
 
2016年冬 IBMクラウド最新動向
2016年冬 IBMクラウド最新動向2016年冬 IBMクラウド最新動向
2016年冬 IBMクラウド最新動向
 
クラウドを活用した システム開発は適材適所
クラウドを活用したシステム開発は適材適所クラウドを活用したシステム開発は適材適所
クラウドを活用した システム開発は適材適所
 
Try IoT with Node-RED
Try IoT with Node-REDTry IoT with Node-RED
Try IoT with Node-RED
 
ホスティッドプライベートクラウド勉強会 ~Azure Pack on SoftLayer ~
ホスティッドプライベートクラウド勉強会 ~Azure Pack on SoftLayer ~ホスティッドプライベートクラウド勉強会 ~Azure Pack on SoftLayer ~
ホスティッドプライベートクラウド勉強会 ~Azure Pack on SoftLayer ~
 
話題のNode-REDでIoTアプリを作ってみよう
話題のNode-REDでIoTアプリを作ってみよう話題のNode-REDでIoTアプリを作ってみよう
話題のNode-REDでIoTアプリを作ってみよう
 
SoftLayer最新動向と賢い利用方法
SoftLayer最新動向と賢い利用方法 SoftLayer最新動向と賢い利用方法
SoftLayer最新動向と賢い利用方法
 
SoftLayer Bluemix Intro
SoftLayer Bluemix IntroSoftLayer Bluemix Intro
SoftLayer Bluemix Intro
 
SoftLayer Bluemix Summit 2015 Flyer
SoftLayer Bluemix Summit 2015 FlyerSoftLayer Bluemix Summit 2015 Flyer
SoftLayer Bluemix Summit 2015 Flyer
 
OSC15 Okinawa Intro SoftLayer and Bluemix
OSC15 Okinawa Intro SoftLayer and BluemixOSC15 Okinawa Intro SoftLayer and Bluemix
OSC15 Okinawa Intro SoftLayer and Bluemix
 
Introduction of public cloud softlayer and bluemix
Introduction of public cloud softlayer and bluemixIntroduction of public cloud softlayer and bluemix
Introduction of public cloud softlayer and bluemix
 
SoftLayer Bluemix Summit 2015
SoftLayer Bluemix Summit 2015SoftLayer Bluemix Summit 2015
SoftLayer Bluemix Summit 2015
 
クラウドに構築したWebサイトのセキュリティ対策やグローバル展開について
クラウドに構築したWebサイトのセキュリティ対策やグローバル展開についてクラウドに構築したWebサイトのセキュリティ対策やグローバル展開について
クラウドに構築したWebサイトのセキュリティ対策やグローバル展開について
 
Introduction softlayer and bluemix
Introduction softlayer and bluemixIntroduction softlayer and bluemix
Introduction softlayer and bluemix
 

Recently uploaded

Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxfnnc6jmgwh
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...itnewsafrica
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observabilityitnewsafrica
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 

Recently uploaded (20)

Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 

2 architectural at CloudStack Developer Day

  • 1. Apache CloudStack Architecture Alex Huang Software Architect, Citrix Systems
  • 2. Self-Service Access via CloudStack UI Org A Org B Users Admin Admin End User Users Users Compute Network Storage Admin
  • 4. Components • Hosts • Servers onto which services will be provisioned VM • Primary Storage Host • VM disk storage Network VM • Cluster Host • A grouping of hosts and their associated storage Primary • Pod Storage • Collection of clusters in the same failure boundary • Network Cluster • Logical network associated with service offerings Secondary Cluster • Secondary Storage Storage • Template, snapshot and ISO storage CloudStack Pod • Zone • Collection of pods, network offerings and secondary storage CloudStack Pod • Management Server Farm • Management and provisioning tasks Zone
  • 5. Two Types of Storage Primary Storage • Stores disk volumes for VMs in a cluster • Configured at Cluster-level. • Close to hosts for better performance L3 switch • Cluster have at least one primary storage • Requires high IOPs (can be expensive) Pod 1 L2 switch Secondary Cluster 1 Storage Host 1 Primary Secondary Storage Host 2 Storage • Stores all Templates, ISOs and Snapshots • Configured at Zone-level • Zone can have one or more secondary storages • High capacity, low cost commodity storage
  • 6. Deployment Architecture Internet  Hypervisor is the basic unit Management Server Cluster of scale. Zone 1  Cluster consists of one ore more hosts of same L3 hypervisor Pod 1 Pod N  All hosts in cluster have L2 Secondary access to shared (primary) …. Storage storage Cluster N  Pod is one or more clusters, usually with L2 switches. ….  Availability Zone has one or Cluster 1 more pods, has access to secondary storage. Host 1 Primary  One or more zones Host 2 Storage represent cloud
  • 7. Management Server Cluster  MS is stateless. MS can be deployed as physical server or VM MySQL User API Management  Single MS node can Server manage up to 10K hosts. Load Balancer Replication Multiple nodes can be Admin API Management deployed for scale or Server redundancy Replica  RHEL 5.4+, Ubuntu 10.0.4, Fedora 16 Infrastructure Resources
  • 9. The Three C’s of Complexity • Control • Choice • Compliance
  • 10. Giving Control Brings Complexity Org A Org B • ACL Users • Limits Admin Admin • Governance End User Users Users Admin Compute Network Storage VM Net Local Hyper-V Cisco ASA NFS Ware Scaler Disk Xen Oracle F5 iSCSI Swift Server VM Bare Jun. SRX FC HDFS KVM Metal
  • 11. Guest Virtual Layer-2 Network Guest 1 Virtual Network 10.1.1.0/24 Guest 1 Guest VM 1 10.1.1.2 Public IP Guest 1 Gateway Guest 1 Guest 65.37.141.11 Virtual 10.1.1.1 VM 2 10.1.1.3 65.37.141.36 Router Guest 1 Guest VM 3 10.1.1.4 Internet Guest 2 Guest VM 1 10.1.1.2 Public IP Guest 2 Gateway Guest 2 Guest 65.37.141.24 Virtual 10.1.1.1 VM 2 10.1.1.3 65.37.141.80 Router Guest 2 Guest VM 3 10.1.1.4 Guest 2 Virtual Network 10.1.1.0/24
  • 12. Multi-tier Network Virtual Network Virtual Network Virtual Network 10.1.2.0/24 10.1.3.0/24 10.1.1.0/24 VLAN 1001 VLAN 141 VLAN 100 App VM 10.1.2.31 1 10.1.3.21 Private IP Web VM Public IP 10.1.1.1 1 10.1.2.21 Juniper 10.1.1.111 65.37.141. SRX App VM 111 Firewall 10.1.2.24 2 10.1.3.45 Web VM 10.1.1.3 2 10.1.2.18 Public IP Private IP Netscaler 10.1.1.112 65.37.1 Load Web VM 41.112 Balancer 10.1.1.4 3 10.1.2.38 10.1.3.24 DB VM 1 Web VM 10.1.1.5 4 10.1.2.39 DHCP, Virtual DHCP, Virtual DNS Virtual DHCP, DNS, DNS Router User- Router User- Router data data, User- Source data -NAT, VPN Public IP 65.37.141.115
  • 13. Unified Multi-tier Network Internet IPSec or SSL site-to-site VPN Virtual Router Customer Load Balancer Premises Monitoring VLAN Virtual Router Services App • IPAM 10.1.2.31 Web VM 1 • DNS 10.1.1.1 • LB [intra] VM 1 • S-2-S VPN App 10.1.2.24 • Static Routes Web VM 2 • ACLs 10.1.1.3 VM 2 • NAT, PF • FW [ingress & egress] Web DB VM • BGP 10.1.3.24 10.1.1.4 VM 3 1 Web 10.1.1.5 VM 4 Virtual Network Virtual Network Virtual Network 10.1.1.0/24 10.1.2.0/24 10.1.3.0/24 VLAN 100 VLAN 1001 VLAN 141
  • 14. Other Topologies Dedicated VLAN with DHCP and DNS No services [Static IPs] User can request specific IP[s] for NIC Guest Virtual Network Guest Virtual Network 10.1.1.0/24 10.1.1.0/24 VLAN 100 VLAN 100 Guest Guest VM 1 10.1.1.1 VM 1 10.1.1.1 Gateway address 10.1.1.1 Guest Guest 10.1.1.3 VM 2 Gateway 10.1.1.3 VM 2 address 10.1.1.1 Guest Guest Core switch 10.1.1.4 VM 3 VM 3 10.1.1.4 Guest Core switch Guest 10.1.1.5 VM 4 10.1.1.5 VM 4 Virtual DHCP, DNS Router User-data
  • 15. Other Topologies MPLS Use Case Shared VLAN with DHCP and DNS Guest Virtual Network 10.1.1.0/24 Guest Virtual Network 10.1.1.0/24 VLAN 100 VLAN 100 MPLS VLAN 100 Guest Guest VM 1 10.1.1.1 VM 1 10.1.1.100 Gateway address 10.1.1.1 Guest Guest 10.1.1.200 VM 2 Gateway 10.1.1.3 VM 2 address 10.1.1.1 Guest Guest Core switch 10.1.1.101 VM 3 VM 3 10.1.1.4 Guest Core switch Guest 10.1.1.11 VM 4 10.1.1.5 VM 4 5 CS CS DHCP, Virtual DHCP, Virtual Router Router DNS DNS User-data User-data
  • 16. Layer 3 Networking (Amazon Style) Web DB Web VM VM VM Web DB Security Security Group Group Web Web DB VM VM VM … … … Web Web VM VM
  • 18. Cloud Other UI CLI Clients Portal Management Server REST API OAM&P API End User API EC2 API Other APIs Pluggable Service API Engine Console Proxy ACL & Authentication Security Adapters Management - Accounts, Domains, and Projects - ACL, limits checking Account Management Connectors Template Access Services API DB Plugin API Deployment Planning HA Orchestration Engine - Drives long running VM Services API Network Gurus Usage operations Calculations - Syncs between resources managed and DB Network Elements Additional - Generates events Services Hypervisor Gurus Cluster Resource Job Alert & Event Database Management Management Management Management Access Message Bus Event Bus Usage Server Resource API Hypervisor Network Storage Image Snapshot Resources Resources Resources Resources Resources
  • 19. Orchestration Engine • Understands how to orchestrate long running processes (i.e. VM starts, Snapshot copies, Template propagation) • Well defined process steps • Calls Plugin API to execute functionalities that it needs
  • 20. Plugins • Various ways to add more capability to CloudStack • Implements clearly defined interfaces • All operations must be idempotent • All calls are at transaction boundaries • Compiles only against the Plugin API module
  • 21. Anatomy of a Plugin • Can be two jars: server component to be deployed on management server and an optional ServerResource Rest API component to be deployed co- - Optional. Required only if needs to expose located with the resource configuration API to admin. • Server component can implement multiple Plugin APIs to add its feature Plugin API Implementation • Can expose its own API through Pluggable Service so administrators Data Access Layer can configure the plugin • As an example, OVS plugin actually implements both NetworkGuru and ServerResource NetworkElement - Optional. Required if Plugin needs to be co- located with the resource - Implements translation layer to talk to resource - Communicates with server component via JSON
  • 22. Plugin Interfaces Available • NetworkGuru – Implements various network isolation and ip address technologies • NetworkElement – Facilitate network services on network elements to support a VM (i.e. DNS, DHCP, LB, VPN, Port Forwarding, etc) • DeploymentPlanner – Different algorithms to place a VM and volumes. • Investigator – Ways to find out if a host is down or VM is down. • Fencer – Ways to fence off a VM if the state is unknown • UserAuthenticator – Methods of authenticating a user • SecurityChecker – ACL access • HostAllocator – Provides different ways to allocate host • StoragePoolAllocator – Provides different ways to allocate volumes
  • 23. Separating Data and Control Cloud  Management Servers control all resources, Data Center 1 Data Center 3 both virtual and physical Managem VR ent Server VR  SSVMs deployed to transfer data between CPVM SSVM SSVM CPVM zones Transfer of Templates,  CPVMs deployed to ISOs, Snapshots transfer VNC console Internet traffic Data Center 2  VR deployed for traffic VR SSVM into public internet CPVM  Management Server is never in the data path
  • 24. Sequence Flow for VM Creation Kernel End User Security User VM VirtualMac Network Storage Network Job Rest API Checkers Mgr hine Mgr Mgr Mgr Guru Scheduling Deploy VM ACL Checks Allocate Entity in CS Allocate VM Allocate NIC Allocate IP Allocate Volume Schedules Deploy Job Returns with job id, VM id Query Job Result Returns with job status
  • 25. Sequence Flow for VM Creation Deploymen Server User VM VirtualMac Network Storage Network Network Template t Job Threads Services API Resources Mgr hine Mgr Mgr Mgr Guru Element Mgr Planner Start VM Start User VM Start VM Get a Deployment Plan (Host and StoragePool) Prepare Nics Reserve resources for Nic Notify that Nic is about to be started in network Agent Calls Prepare Volumes Prepare template on Primary Storage Agent Calls Agent Start VM Call Stores job result
  • 27. Design Goals for CloudStack • Design for complexity – Clear interfaces • Design for scalability – Separate out data path and control paths – Design to maximize the use of database connections • Design against failure – Provide clear boundaries (process and compilation) – Utilize cloud administrator to give guidance
  • 28. More Information • http://cloudstack.org • Apache mailing lists – cloudstack-users-subscribe@apache.incubator.org – cloudstack-dev-subscribe@apache.incubator.org • Thank you 28