SlideShare a Scribd company logo
1 of 42
Deploying Apache CloudStack:
        From API to UI
          Joe Brockmeier
    PPMC Member Apache CloudStack
           jzb@apache.org
UGLY SLIDES AHEAD
What This Talk is About
•   What a Cloud Is and Challenges for IaaS
•   History and Overview of CloudStack
•   CloudStack’s Features and Capabilities
•   60 minutes (maybe more)
Five Six Characteristics of Clouds
•   On-Demand Self-Service
•   Broad Network Access
•   Resource Pooling
•   Rapid Elasticity
•   Measured Service
•   API Access
Cloud Service Models
     USER CLOUD a.k.a. SOFTWARE AS A SERVICE

     Single application, multi-tenancy, network-based, one-to-many delivery of
     applications, all users have same access to features.

     Examples: Salesforce.com, Google Docs, Red Hat Network/RHEL

     DEVELOPMENT CLOUD a.k.a. PLATFORM-AS-A-SERVICE

     Application developer model, Application deployed to an elastic service that
     autoscales, low administrative overhead. No concept of virtual machines or
     operating system. Code it and deploy it.

     Examples: VMware CloudFoundry, Google AppEngine, Windows Azure,
     Rackspace Sites, Red Hat OpenShift, Active State Stackato, Appfog

     SYSTEMS CLOUD a.k.a INFRASTRUCTURE-AS-A-SERVICE

     Servers and storage are made available in a scalable way over a network.

     Examples: EC2,Rackspace CloudFiles, OpenStack, CloudStack,
     Eucalyptus, OpenNebula
Deployment Models
Why Open Source?
History and more…

UNDERSTANDING CLOUDSTACK
What is Apache CloudStack?


Apache CloudStack is an open source IaaS
  that supports multiple hypervisors, high
            availability, complex
networking, firewall, load balancer, and VPN
configurations in a multi-tenant environment.
Specifically…
CloudStack is a set of applications that:
• Provides separation between tenants
• Handle allocating compute resources (inc.
  custom allocators)
• Let users provision compute resources
• Manages High Availability
• Massively scalable (thousands of nodes)
• Resource usage accounting
CloudStack History
• CloudStack began as VMOps (2008) later became
  Cloud.com.
• Cloud.com released as CloudStack under GPLv3
  (May 2010)
• Cloud.com acquired by Citrix (July 2011)
• Entirely open source (August 2011)
• Relicensed & proposed to Apache (April 3, 2012)
• Accepted as incubating project (April 16, 2012)
• First release (4.0.0-incubating) (November 6,
  2012)
• First minor release (4.0.1-incubating) (February
  12, 2013)
CloudStack UI
•   Reference Implementation of the API
•   Built with HTML 4, CSS, and jQuery
•   Uses Java Server Pages for localization
•   Three types of customizations
    – Minor (logo, minor CSS)
    – Major (adding/changing tabs, additional links)
    – Rewrite using API
Or Visually…
Architectural Overview (Basic)
Hypervisor Support
•   KVM
•   XenServer
•   Xen Cloud Platform
•   VMware via vCenter
•   Bare Metal via IPMI
CloudStack Terminology
           • Zone: Availability zone, aka
             Regions. Could be
             worldwide. Different data
             centers
           • Pods: Racks or aisles in a
             data center
           • Clusters: Group of
             machines with a common
             type of Hypervisor
           • Host: A Single server
           • Primary Storage: Shared
             storage across a cluster
           • Secondary Storage:
             Shared storage in a single
             Zone
CloudStack Architecture
                                    Internet          Hypervisor is the basic unit
  CloudStack
 Management                                            of scale.
    Server
Zone 1                                                Cluster consists of one ore
                                                       more hosts of same
                     L3 core                           hypervisor
                                                      All hosts in cluster have
Pod 1 Access Layer              Pod N                  access to shared (primary)
                                         Secondary     storage
                           ….             Storage
  Cluster N                                           Pod is one or more clusters,
                                                       usually with L2 switches.

      ….                                              Availability Zone has one or
                                                       more pods, has access to
  Cluster 1                                            secondary storage.

   Host 1                                             One or more zones
                Primary                                represent cloud
                Storage
   Host 2
CloudStack Storage
• Primary Storage:
   –   Anything that can be mounted on the node of a cluster.
   –   Cluster LVM…iSCSI…
   –   Holds disk images of running VMs
   –   Support for CEPH with KVM hypervisors
• Secondary Storage:
   –   Available across the zone
   –   Holds snapshots and templates (image repo)
   –   Can use OpenStack swift or any object store (Gluster FS…)
   –   New support for Caringo

• Can use NFS for both to start
• Storage abstraction refactoring underway in 4.1.0 and 4.2.0
Networking
• Extremely flexible to:
  – Provide isolation with VLANs
  – Provide isolation at L3 with shared L2 (scalability)
  – Support hardware devices that exposes API
  – Deployed on existing networking infrastructure
  – Support new networking paradigm (SDN)
     • Support for Nicira Virtual P
     • Extensive use of Open VSwitch
Management Server
• UI/API bits are stateless (state is stored in
  a MySQL database)
• All UI functionality is available as an API
  call
• Restful API
  – Unauthenticated API on 8096 for localhost
    (disabled by default)
  – Authenticated on port 8080
  – Responses in XML or JSON
Highly Scalable
• Up to 10K resources managed per
  management server node
• Internal testing w/software simulators
  shows up to 30K physical resources and
  30K VMs managed by 4 management
  server nodes.
• Real production deployments of tens of
  thousands of resources
• See Alex Huang’s presentation:
   http://is.gd/alexh_scale
CloudStack Allocation
• How are VMs placed, storage
  allocated, etc.?
• CloudStack has several defaults
  – First fit
  – Fill first
  – Disperse
• Don’t like those? Create your own!
• Allows over-provsioning
• OS Preference
High Availability
• RFMTTR – “really fast mean time to
  recovery.”
• CloudStack is not (alone) a magical HA
  solution.
• Watches HA-enabled VMs to ensure
  they’re up, and that the hypervisor it’s on
  is up. Will restart on another if the
  hypervisor goes down.
• Redundant router.
Load Balancing
• Uses HA Proxy
• CloudStack supports load-balancing for
  distributing traffic to its instances
• Choose between round-robin, source, or
  least connections
• Choose stickiness policy
  (source, lbcookie, appcookie)
Snapshots
• CloudStack allows you to take snapshots
  manually or set up recurring snapshots.
• Snapshots can be managed automagically
  (keep N number) and manually (delete
  snapshot manually).
• Can be turned into templates or volumes
  to be used by other instances.
CloudStack Networking
• CloudStack manages
  –   DHCP
  –   VLAN allocation
  –   Firewall
  –   NAT/Port forwarding
  –   Routing
  –   VPN
  –   Load Balancing
• CloudStack can manage physical network
  hardware (F5-Big IP, NetScaler, Juniper SRX)
CloudStack Networking Types
• CloudStack offers Basic and Advanced
  Networking
  – Basic: Easy, can only be one physical network
    • Every host, system VM, and guest instance has a
      unique IP
  – Advanced: Allows multiple physical networks
    • Each account has a public IP, assigned to virtual
      router, guest IP range (e.g. 10.0.1.10/24), and
      VLAN ID for the isolated guest network
    • Guests communicate via their own dedicated
      VLAN
CloudStack Networks
• Management Network: Used by hypervisors
  and management server to communicate
• Private Network: Default network for system
  VMs (virtual router, secondary storage
  VM, console proxy VM)
• Public Network: Public-facing (e.g. the
  Internet)
• Guest Network: Network VMs are provisioned
  on
• Link-local Network: Network used for
  communication between hypervisor and
  system VMs. (RFC 3927)
Security Groups
• Traditional isolation has been via VLAN
• VLANs provide isolation, but at the cost of
  scaling
  – Standard limit is 4,096 VLANs
  – Hardware that supports upper limit is
    expensive
  – What happens with 4,097?
• Amazon and others use Layer 3 isolation
  (Security Groups)
Security Groups
• Assumes a quasi-trusted Layer 2 network
• Filtering/isolation happens at the bridge
  level (think ebtables)
• Deny by default
Accounts, Domains, and Projects
• CloudStack has a top-level domain called
  ROOT
• You can create sub-domains
• You can create 3 types of
  accounts, admins, domain-admins, or users
• Projects can be used to hold resources for
  time-limited projects
• Supports LDAP integration
• CloudStack’s account system is very simple –
  don’t make it more complicated!
Usage Accounting
• Provides stats that can be used for billing
  (but is not a billing solution)
• Usage stats show: VM count, CPU
  usage, disk allocation and use, network
  usage over time.
• Integration howtos for importing to
  Excel, Ubersmith, Amysta, and Cloud
  Portal.
APIs
•   Root Admin, Domain Admin, User
•   Set of methods available over HTTP(S)
•   Authenticated on 8080 w/Keys
•   Unauthenticated on 8096 (off by default)
•   Python + Ruby clients available
AWS EC2 and S3 Compatibility
• Includes an EC2/S3 compatibility layer
• See:
  – http://wiki.cloudstack.org/display/RelOps/EC2+AP
    I+support+in+CloudStack
  – http://www.slideshare.net/sebastiengoasguen/clo
    udstack-ec2-configuration
• Euca Tools, Boto, etc. should work with
  CloudStack
CloudMonkey
• New ASF CloudStack CLI
• Python code, built using Marvin
• https://cwiki.apache.org/CLOUDSTACK/cl
  oudstack-cloudmonkey-cli.html
• Available from CloudStack source or pypi:
  – http://pypi.python.org/pypi/cloudmonkey/
Trying CloudStack
DevCloud
• DevCloud is a VirtualBox image w/nested virt.
• Grab the DevCloud image from:
http://wiki.cloudstack.org/display/COMM/DevCloud
• Log in via the GUI:
http://localhost:8080/client
• SSH to DevCloud:
ssh -p 2222 root@localhost
Username: admin            Password: password
• DevCloud KVM – effort to run DevCloud on a KVM
   host
CloudStack Runbook
• Minimal install (1 server)
• Written by David Nalley w/fixes from the
  community
• http://people.apache.org/~ke4qqq/runbook
  /
• Focuses on CentOS w/KVM – other
  runbooks in process for Ubuntu w/Xen or
  KVM.
Get Involved
• Main Site: CloudStack.org
• IRC: #cloudstack and #cloudstack-dev
• Follow @cloudstack on Twitter
• Lots of Presos:
  http://slideshare.net/cloudstack
• Mailing Lists:
  http://cloudstack.org/discuss/mailing-
  lists.html
Contact Me
Email: jzb@apache.org


Phone: +1 314-669-4JZB
(4592)

Blog: http://dissociatedpress.net/


Twitter:

More Related Content

What's hot

Apache CloudStack Architecture by Alex Huang
Apache CloudStack Architecture by Alex HuangApache CloudStack Architecture by Alex Huang
Apache CloudStack Architecture by Alex Huangbuildacloud
 
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
 
Cloud stack overview
Cloud stack overviewCloud stack overview
Cloud stack overviewgavin_lee
 
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
 
Cloud stack overview
Cloud stack overviewCloud stack overview
Cloud stack overviewhowie YU
 
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
 
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
 
CloudStack Architecture Future
CloudStack Architecture FutureCloudStack Architecture Future
CloudStack Architecture FutureKimihiko Kitase
 
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
 
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
 
Getting Started with Apache CloudStack
Getting Started with Apache CloudStackGetting Started with Apache CloudStack
Getting Started with Apache CloudStackJoe Brockmeier
 
Building clouds with apache cloudstack apache roadshow 2018
Building clouds with apache cloudstack   apache roadshow 2018Building clouds with apache cloudstack   apache roadshow 2018
Building clouds with apache cloudstack apache roadshow 2018ShapeBlue
 
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
 
Ceph and Apache CloudStack
Ceph and Apache CloudStackCeph and Apache CloudStack
Ceph and Apache CloudStackke4qqq
 

What's hot (20)

Apache CloudStack Architecture by Alex Huang
Apache CloudStack Architecture by Alex HuangApache CloudStack Architecture by Alex Huang
Apache CloudStack Architecture by Alex Huang
 
CloudStack Hyderabad Meetup: Using CloudStack to build IaaS clouds
CloudStack Hyderabad Meetup: Using CloudStack to build IaaS cloudsCloudStack Hyderabad Meetup: Using CloudStack to build IaaS clouds
CloudStack Hyderabad Meetup: Using CloudStack to build IaaS clouds
 
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
 
Cloud stack for_beginners
Cloud stack for_beginnersCloud stack for_beginners
Cloud stack for_beginners
 
Cloud stack overview
Cloud stack overviewCloud stack overview
Cloud stack overview
 
Apache CloudStack: API to UI (STLLUG)
Apache CloudStack: API to UI (STLLUG)Apache CloudStack: API to UI (STLLUG)
Apache CloudStack: API to UI (STLLUG)
 
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
 
CloudStack Networking at CloudOpen Japan
CloudStack Networking at CloudOpen JapanCloudStack Networking at CloudOpen Japan
CloudStack Networking at CloudOpen Japan
 
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...
 
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
 
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
 
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
 
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
 
CloudStack Networking
CloudStack NetworkingCloudStack Networking
CloudStack Networking
 
Getting Started with Apache CloudStack
Getting Started with Apache CloudStackGetting Started with Apache CloudStack
Getting Started with Apache CloudStack
 
Building clouds with apache cloudstack apache roadshow 2018
Building clouds with apache cloudstack   apache roadshow 2018Building clouds with apache cloudstack   apache roadshow 2018
Building clouds with apache cloudstack apache roadshow 2018
 
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
 
Ceph and Apache CloudStack
Ceph and Apache CloudStackCeph and Apache CloudStack
Ceph and Apache CloudStack
 

Viewers also liked

Financial Services in India
Financial Services in IndiaFinancial Services in India
Financial Services in IndiaAlok Bhageria
 
Acacia’s patent monetization operating subsidiaries
Acacia’s patent monetization operating subsidiariesAcacia’s patent monetization operating subsidiaries
Acacia’s patent monetization operating subsidiariesAlex G. Lee, Ph.D. Esq. CLP
 
Crash course for designing projects
Crash course for designing projectsCrash course for designing projects
Crash course for designing projectsmhines
 
Smartphone Patent Wars: Legal & Policy Issues of Standard Essential Patens in...
Smartphone Patent Wars: Legal & Policy Issues of Standard Essential Patens in...Smartphone Patent Wars: Legal & Policy Issues of Standard Essential Patens in...
Smartphone Patent Wars: Legal & Policy Issues of Standard Essential Patens in...Alex G. Lee, Ph.D. Esq. CLP
 
UCSD Career Boost Career Revolution
UCSD Career Boost Career RevolutionUCSD Career Boost Career Revolution
UCSD Career Boost Career RevolutionUC San Diego
 
IoT Smart Home Innovation R&D White Space Insights from Patents
IoT Smart Home Innovation R&D White Space Insights from Patents IoT Smart Home Innovation R&D White Space Insights from Patents
IoT Smart Home Innovation R&D White Space Insights from Patents Alex G. Lee, Ph.D. Esq. CLP
 
Emerging Smartphone Killer Applications Insights from Patents
Emerging Smartphone Killer Applications Insights from PatentsEmerging Smartphone Killer Applications Insights from Patents
Emerging Smartphone Killer Applications Insights from PatentsAlex G. Lee, Ph.D. Esq. CLP
 
Prosvjed U Zagrebu
Prosvjed U  ZagrebuProsvjed U  Zagrebu
Prosvjed U Zagrebugrlica22
 
Human Computer Interaction
Human Computer InteractionHuman Computer Interaction
Human Computer Interactiondfg dg
 
Manuale minimo-delleconomia-politica-dellimmaginario
Manuale minimo-delleconomia-politica-dellimmaginarioManuale minimo-delleconomia-politica-dellimmaginario
Manuale minimo-delleconomia-politica-dellimmaginarioAlain Denis
 
BiLogica - verslo analitikos paslaugos
BiLogica - verslo analitikos paslaugosBiLogica - verslo analitikos paslaugos
BiLogica - verslo analitikos paslaugoseclectic78
 
Internet of Things (IoT) Strategic Patent Development 4Q 2015
Internet of Things (IoT) Strategic Patent Development 4Q 2015Internet of Things (IoT) Strategic Patent Development 4Q 2015
Internet of Things (IoT) Strategic Patent Development 4Q 2015Alex G. Lee, Ph.D. Esq. CLP
 
Human Computer Interaction
Human Computer InteractionHuman Computer Interaction
Human Computer Interactiondfg dg
 
The First Monthly Magazine Of GCL
The First Monthly Magazine Of GCLThe First Monthly Magazine Of GCL
The First Monthly Magazine Of GCLguest0564aa8
 

Viewers also liked (20)

Financial Services in India
Financial Services in IndiaFinancial Services in India
Financial Services in India
 
Acacia’s patent monetization operating subsidiaries
Acacia’s patent monetization operating subsidiariesAcacia’s patent monetization operating subsidiaries
Acacia’s patent monetization operating subsidiaries
 
Usaf Museum
Usaf MuseumUsaf Museum
Usaf Museum
 
Crash course for designing projects
Crash course for designing projectsCrash course for designing projects
Crash course for designing projects
 
Smartphone Patent Wars: Legal & Policy Issues of Standard Essential Patens in...
Smartphone Patent Wars: Legal & Policy Issues of Standard Essential Patens in...Smartphone Patent Wars: Legal & Policy Issues of Standard Essential Patens in...
Smartphone Patent Wars: Legal & Policy Issues of Standard Essential Patens in...
 
UCSD Career Boost Career Revolution
UCSD Career Boost Career RevolutionUCSD Career Boost Career Revolution
UCSD Career Boost Career Revolution
 
Prfm programming 2
Prfm programming 2Prfm programming 2
Prfm programming 2
 
IoT Smart Home Innovation R&D White Space Insights from Patents
IoT Smart Home Innovation R&D White Space Insights from Patents IoT Smart Home Innovation R&D White Space Insights from Patents
IoT Smart Home Innovation R&D White Space Insights from Patents
 
1725077 374
1725077 3741725077 374
1725077 374
 
Emerging Smartphone Killer Applications Insights from Patents
Emerging Smartphone Killer Applications Insights from PatentsEmerging Smartphone Killer Applications Insights from Patents
Emerging Smartphone Killer Applications Insights from Patents
 
IoT Business Insights from Patents
IoT Business Insights from PatentsIoT Business Insights from Patents
IoT Business Insights from Patents
 
Mobile patents in lawsuit
Mobile patents in lawsuitMobile patents in lawsuit
Mobile patents in lawsuit
 
Prosvjed U Zagrebu
Prosvjed U  ZagrebuProsvjed U  Zagrebu
Prosvjed U Zagrebu
 
Immutability
ImmutabilityImmutability
Immutability
 
Human Computer Interaction
Human Computer InteractionHuman Computer Interaction
Human Computer Interaction
 
Manuale minimo-delleconomia-politica-dellimmaginario
Manuale minimo-delleconomia-politica-dellimmaginarioManuale minimo-delleconomia-politica-dellimmaginario
Manuale minimo-delleconomia-politica-dellimmaginario
 
BiLogica - verslo analitikos paslaugos
BiLogica - verslo analitikos paslaugosBiLogica - verslo analitikos paslaugos
BiLogica - verslo analitikos paslaugos
 
Internet of Things (IoT) Strategic Patent Development 4Q 2015
Internet of Things (IoT) Strategic Patent Development 4Q 2015Internet of Things (IoT) Strategic Patent Development 4Q 2015
Internet of Things (IoT) Strategic Patent Development 4Q 2015
 
Human Computer Interaction
Human Computer InteractionHuman Computer Interaction
Human Computer Interaction
 
The First Monthly Magazine Of GCL
The First Monthly Magazine Of GCLThe First Monthly Magazine Of GCL
The First Monthly Magazine Of GCL
 

Similar to Deploying Apache CloudStack from API to UI

CloudStack - LinuxFest NorthWest
CloudStack - LinuxFest NorthWestCloudStack - LinuxFest NorthWest
CloudStack - LinuxFest NorthWestke4qqq
 
Taking the open cloud to 11
Taking the open cloud to 11Taking the open cloud to 11
Taking the open cloud to 11Joe Brockmeier
 
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
 
Open stack ha design & deployment kilo
Open stack ha design & deployment   kiloOpen stack ha design & deployment   kilo
Open stack ha design & deployment kiloSteven Li
 
CloudStack Architecture and Refactor
CloudStack Architecture and RefactorCloudStack Architecture and Refactor
CloudStack Architecture and Refactorgavin_lee
 
CloudStack Best Practice in PPTV
CloudStack Best Practice in PPTVCloudStack Best Practice in PPTV
CloudStack Best Practice in PPTVgavin_lee
 
What is cloud computing
What is cloud computingWhat is cloud computing
What is cloud computingBrian Bullard
 
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...cloud-diva
 
Scalable networking in Apache CloudStack
Scalable networking in Apache CloudStackScalable networking in Apache CloudStack
Scalable networking in Apache CloudStackChiradeep Vittal
 
Business Intelligent
Business Intelligent Business Intelligent
Business Intelligent Tuan Luong
 
XenServer Virtualization In Cloud Environments
XenServer Virtualization In Cloud EnvironmentsXenServer Virtualization In Cloud Environments
XenServer Virtualization In Cloud EnvironmentsTim Mackey
 
Climb Technical Overview
Climb Technical OverviewClimb Technical Overview
Climb Technical OverviewArif Ali
 
Introduction to linux containers
Introduction to linux containersIntroduction to linux containers
Introduction to linux containersGoogle
 
Cloud Computing Platform-CloudStack
Cloud Computing Platform-CloudStackCloud Computing Platform-CloudStack
Cloud Computing Platform-CloudStackArcadian Learning
 
Hacking apache cloud stack
Hacking apache cloud stackHacking apache cloud stack
Hacking apache cloud stackNitin Mehta
 

Similar to Deploying Apache CloudStack from API to UI (20)

Txlf2012
Txlf2012Txlf2012
Txlf2012
 
CloudStack - LinuxFest NorthWest
CloudStack - LinuxFest NorthWestCloudStack - LinuxFest NorthWest
CloudStack - LinuxFest NorthWest
 
Taking the open cloud to 11
Taking the open cloud to 11Taking the open cloud to 11
Taking the open cloud to 11
 
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
 
Open stack ha design & deployment kilo
Open stack ha design & deployment   kiloOpen stack ha design & deployment   kilo
Open stack ha design & deployment kilo
 
CloudStack Architecture and Refactor
CloudStack Architecture and RefactorCloudStack Architecture and Refactor
CloudStack Architecture and Refactor
 
CloudStack and SDN
CloudStack and SDNCloudStack and SDN
CloudStack and SDN
 
CloudStack Best Practice in PPTV
CloudStack Best Practice in PPTVCloudStack Best Practice in PPTV
CloudStack Best Practice in PPTV
 
What is cloud computing
What is cloud computingWhat is cloud computing
What is cloud computing
 
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...
 
Intro to CloudStack
Intro to CloudStackIntro to CloudStack
Intro to CloudStack
 
Scalable networking in Apache CloudStack
Scalable networking in Apache CloudStackScalable networking in Apache CloudStack
Scalable networking in Apache CloudStack
 
Business Intelligent
Business Intelligent Business Intelligent
Business Intelligent
 
XenServer Virtualization In Cloud Environments
XenServer Virtualization In Cloud EnvironmentsXenServer Virtualization In Cloud Environments
XenServer Virtualization In Cloud Environments
 
Climb Technical Overview
Climb Technical OverviewClimb Technical Overview
Climb Technical Overview
 
OpenStack Framework Introduction
OpenStack Framework IntroductionOpenStack Framework Introduction
OpenStack Framework Introduction
 
Introduction to linux containers
Introduction to linux containersIntroduction to linux containers
Introduction to linux containers
 
Cloud Computing Platform-CloudStack
Cloud Computing Platform-CloudStackCloud Computing Platform-CloudStack
Cloud Computing Platform-CloudStack
 
MyCloud for $100k
MyCloud for $100kMyCloud for $100k
MyCloud for $100k
 
Hacking apache cloud stack
Hacking apache cloud stackHacking apache cloud stack
Hacking apache cloud stack
 

More from Joe Brockmeier

Thinking inside the box (shared)
Thinking inside the box (shared)Thinking inside the box (shared)
Thinking inside the box (shared)Joe Brockmeier
 
Community Over Code: How to Build a Successful Project
Community Over Code: How to Build a Successful ProjectCommunity Over Code: How to Build a Successful Project
Community Over Code: How to Build a Successful ProjectJoe Brockmeier
 
Introduction to Atomic: Tailoring a Trusted OS for Containers
Introduction to Atomic: Tailoring a Trusted OS for ContainersIntroduction to Atomic: Tailoring a Trusted OS for Containers
Introduction to Atomic: Tailoring a Trusted OS for ContainersJoe Brockmeier
 
Sharing Apache's Goodness: How We Should be Telling Apache's Story
Sharing Apache's Goodness: How We Should be Telling Apache's StorySharing Apache's Goodness: How We Should be Telling Apache's Story
Sharing Apache's Goodness: How We Should be Telling Apache's StoryJoe Brockmeier
 
Solving the Package Problem
Solving the Package ProblemSolving the Package Problem
Solving the Package ProblemJoe Brockmeier
 
Apache CloudStack: From API to UI (NYLUG)
Apache CloudStack: From API to UI (NYLUG)Apache CloudStack: From API to UI (NYLUG)
Apache CloudStack: From API to UI (NYLUG)Joe Brockmeier
 
How I Learned to Stop Worrying, and Love Open Source Software Foundations
How I Learned to Stop Worrying, and Love Open Source Software FoundationsHow I Learned to Stop Worrying, and Love Open Source Software Foundations
How I Learned to Stop Worrying, and Love Open Source Software FoundationsJoe Brockmeier
 
Bootstrapping coverage
Bootstrapping coverageBootstrapping coverage
Bootstrapping coverageJoe Brockmeier
 

More from Joe Brockmeier (8)

Thinking inside the box (shared)
Thinking inside the box (shared)Thinking inside the box (shared)
Thinking inside the box (shared)
 
Community Over Code: How to Build a Successful Project
Community Over Code: How to Build a Successful ProjectCommunity Over Code: How to Build a Successful Project
Community Over Code: How to Build a Successful Project
 
Introduction to Atomic: Tailoring a Trusted OS for Containers
Introduction to Atomic: Tailoring a Trusted OS for ContainersIntroduction to Atomic: Tailoring a Trusted OS for Containers
Introduction to Atomic: Tailoring a Trusted OS for Containers
 
Sharing Apache's Goodness: How We Should be Telling Apache's Story
Sharing Apache's Goodness: How We Should be Telling Apache's StorySharing Apache's Goodness: How We Should be Telling Apache's Story
Sharing Apache's Goodness: How We Should be Telling Apache's Story
 
Solving the Package Problem
Solving the Package ProblemSolving the Package Problem
Solving the Package Problem
 
Apache CloudStack: From API to UI (NYLUG)
Apache CloudStack: From API to UI (NYLUG)Apache CloudStack: From API to UI (NYLUG)
Apache CloudStack: From API to UI (NYLUG)
 
How I Learned to Stop Worrying, and Love Open Source Software Foundations
How I Learned to Stop Worrying, and Love Open Source Software FoundationsHow I Learned to Stop Worrying, and Love Open Source Software Foundations
How I Learned to Stop Worrying, and Love Open Source Software Foundations
 
Bootstrapping coverage
Bootstrapping coverageBootstrapping coverage
Bootstrapping coverage
 

Recently uploaded

SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
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
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
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
 

Recently uploaded (20)

SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
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
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
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
 

Deploying Apache CloudStack from API to UI

  • 1. Deploying Apache CloudStack: From API to UI Joe Brockmeier PPMC Member Apache CloudStack jzb@apache.org
  • 3. What This Talk is About • What a Cloud Is and Challenges for IaaS • History and Overview of CloudStack • CloudStack’s Features and Capabilities • 60 minutes (maybe more)
  • 4. Five Six Characteristics of Clouds • On-Demand Self-Service • Broad Network Access • Resource Pooling • Rapid Elasticity • Measured Service • API Access
  • 5. Cloud Service Models USER CLOUD a.k.a. SOFTWARE AS A SERVICE Single application, multi-tenancy, network-based, one-to-many delivery of applications, all users have same access to features. Examples: Salesforce.com, Google Docs, Red Hat Network/RHEL DEVELOPMENT CLOUD a.k.a. PLATFORM-AS-A-SERVICE Application developer model, Application deployed to an elastic service that autoscales, low administrative overhead. No concept of virtual machines or operating system. Code it and deploy it. Examples: VMware CloudFoundry, Google AppEngine, Windows Azure, Rackspace Sites, Red Hat OpenShift, Active State Stackato, Appfog SYSTEMS CLOUD a.k.a INFRASTRUCTURE-AS-A-SERVICE Servers and storage are made available in a scalable way over a network. Examples: EC2,Rackspace CloudFiles, OpenStack, CloudStack, Eucalyptus, OpenNebula
  • 9. What is Apache CloudStack? Apache CloudStack is an open source IaaS that supports multiple hypervisors, high availability, complex networking, firewall, load balancer, and VPN configurations in a multi-tenant environment.
  • 10. Specifically… CloudStack is a set of applications that: • Provides separation between tenants • Handle allocating compute resources (inc. custom allocators) • Let users provision compute resources • Manages High Availability • Massively scalable (thousands of nodes) • Resource usage accounting
  • 11. CloudStack History • CloudStack began as VMOps (2008) later became Cloud.com. • Cloud.com released as CloudStack under GPLv3 (May 2010) • Cloud.com acquired by Citrix (July 2011) • Entirely open source (August 2011) • Relicensed & proposed to Apache (April 3, 2012) • Accepted as incubating project (April 16, 2012) • First release (4.0.0-incubating) (November 6, 2012) • First minor release (4.0.1-incubating) (February 12, 2013)
  • 12. CloudStack UI • Reference Implementation of the API • Built with HTML 4, CSS, and jQuery • Uses Java Server Pages for localization • Three types of customizations – Minor (logo, minor CSS) – Major (adding/changing tabs, additional links) – Rewrite using API
  • 13.
  • 16. Hypervisor Support • KVM • XenServer • Xen Cloud Platform • VMware via vCenter • Bare Metal via IPMI
  • 17. CloudStack Terminology • Zone: Availability zone, aka Regions. Could be worldwide. Different data centers • Pods: Racks or aisles in a data center • Clusters: Group of machines with a common type of Hypervisor • Host: A Single server • Primary Storage: Shared storage across a cluster • Secondary Storage: Shared storage in a single Zone
  • 18. CloudStack Architecture Internet  Hypervisor is the basic unit CloudStack Management of scale. Server Zone 1  Cluster consists of one ore more hosts of same L3 core hypervisor  All hosts in cluster have Pod 1 Access Layer Pod N access to shared (primary) Secondary storage …. Storage Cluster N  Pod is one or more clusters, usually with L2 switches. ….  Availability Zone has one or more pods, has access to Cluster 1 secondary storage. Host 1  One or more zones Primary represent cloud Storage Host 2
  • 19. CloudStack Storage • Primary Storage: – Anything that can be mounted on the node of a cluster. – Cluster LVM…iSCSI… – Holds disk images of running VMs – Support for CEPH with KVM hypervisors • Secondary Storage: – Available across the zone – Holds snapshots and templates (image repo) – Can use OpenStack swift or any object store (Gluster FS…) – New support for Caringo • Can use NFS for both to start • Storage abstraction refactoring underway in 4.1.0 and 4.2.0
  • 20. Networking • Extremely flexible to: – Provide isolation with VLANs – Provide isolation at L3 with shared L2 (scalability) – Support hardware devices that exposes API – Deployed on existing networking infrastructure – Support new networking paradigm (SDN) • Support for Nicira Virtual P • Extensive use of Open VSwitch
  • 21. Management Server • UI/API bits are stateless (state is stored in a MySQL database) • All UI functionality is available as an API call • Restful API – Unauthenticated API on 8096 for localhost (disabled by default) – Authenticated on port 8080 – Responses in XML or JSON
  • 22. Highly Scalable • Up to 10K resources managed per management server node • Internal testing w/software simulators shows up to 30K physical resources and 30K VMs managed by 4 management server nodes. • Real production deployments of tens of thousands of resources • See Alex Huang’s presentation: http://is.gd/alexh_scale
  • 23. CloudStack Allocation • How are VMs placed, storage allocated, etc.? • CloudStack has several defaults – First fit – Fill first – Disperse • Don’t like those? Create your own! • Allows over-provsioning • OS Preference
  • 24. High Availability • RFMTTR – “really fast mean time to recovery.” • CloudStack is not (alone) a magical HA solution. • Watches HA-enabled VMs to ensure they’re up, and that the hypervisor it’s on is up. Will restart on another if the hypervisor goes down. • Redundant router.
  • 25. Load Balancing • Uses HA Proxy • CloudStack supports load-balancing for distributing traffic to its instances • Choose between round-robin, source, or least connections • Choose stickiness policy (source, lbcookie, appcookie)
  • 26. Snapshots • CloudStack allows you to take snapshots manually or set up recurring snapshots. • Snapshots can be managed automagically (keep N number) and manually (delete snapshot manually). • Can be turned into templates or volumes to be used by other instances.
  • 27. CloudStack Networking • CloudStack manages – DHCP – VLAN allocation – Firewall – NAT/Port forwarding – Routing – VPN – Load Balancing • CloudStack can manage physical network hardware (F5-Big IP, NetScaler, Juniper SRX)
  • 28. CloudStack Networking Types • CloudStack offers Basic and Advanced Networking – Basic: Easy, can only be one physical network • Every host, system VM, and guest instance has a unique IP – Advanced: Allows multiple physical networks • Each account has a public IP, assigned to virtual router, guest IP range (e.g. 10.0.1.10/24), and VLAN ID for the isolated guest network • Guests communicate via their own dedicated VLAN
  • 29. CloudStack Networks • Management Network: Used by hypervisors and management server to communicate • Private Network: Default network for system VMs (virtual router, secondary storage VM, console proxy VM) • Public Network: Public-facing (e.g. the Internet) • Guest Network: Network VMs are provisioned on • Link-local Network: Network used for communication between hypervisor and system VMs. (RFC 3927)
  • 30. Security Groups • Traditional isolation has been via VLAN • VLANs provide isolation, but at the cost of scaling – Standard limit is 4,096 VLANs – Hardware that supports upper limit is expensive – What happens with 4,097? • Amazon and others use Layer 3 isolation (Security Groups)
  • 31. Security Groups • Assumes a quasi-trusted Layer 2 network • Filtering/isolation happens at the bridge level (think ebtables) • Deny by default
  • 32. Accounts, Domains, and Projects • CloudStack has a top-level domain called ROOT • You can create sub-domains • You can create 3 types of accounts, admins, domain-admins, or users • Projects can be used to hold resources for time-limited projects • Supports LDAP integration • CloudStack’s account system is very simple – don’t make it more complicated!
  • 33. Usage Accounting • Provides stats that can be used for billing (but is not a billing solution) • Usage stats show: VM count, CPU usage, disk allocation and use, network usage over time. • Integration howtos for importing to Excel, Ubersmith, Amysta, and Cloud Portal.
  • 34. APIs • Root Admin, Domain Admin, User • Set of methods available over HTTP(S) • Authenticated on 8080 w/Keys • Unauthenticated on 8096 (off by default) • Python + Ruby clients available
  • 35.
  • 36. AWS EC2 and S3 Compatibility • Includes an EC2/S3 compatibility layer • See: – http://wiki.cloudstack.org/display/RelOps/EC2+AP I+support+in+CloudStack – http://www.slideshare.net/sebastiengoasguen/clo udstack-ec2-configuration • Euca Tools, Boto, etc. should work with CloudStack
  • 37. CloudMonkey • New ASF CloudStack CLI • Python code, built using Marvin • https://cwiki.apache.org/CLOUDSTACK/cl oudstack-cloudmonkey-cli.html • Available from CloudStack source or pypi: – http://pypi.python.org/pypi/cloudmonkey/
  • 39. DevCloud • DevCloud is a VirtualBox image w/nested virt. • Grab the DevCloud image from: http://wiki.cloudstack.org/display/COMM/DevCloud • Log in via the GUI: http://localhost:8080/client • SSH to DevCloud: ssh -p 2222 root@localhost Username: admin Password: password • DevCloud KVM – effort to run DevCloud on a KVM host
  • 40. CloudStack Runbook • Minimal install (1 server) • Written by David Nalley w/fixes from the community • http://people.apache.org/~ke4qqq/runbook / • Focuses on CentOS w/KVM – other runbooks in process for Ubuntu w/Xen or KVM.
  • 41. Get Involved • Main Site: CloudStack.org • IRC: #cloudstack and #cloudstack-dev • Follow @cloudstack on Twitter • Lots of Presos: http://slideshare.net/cloudstack • Mailing Lists: http://cloudstack.org/discuss/mailing- lists.html
  • 42. Contact Me Email: jzb@apache.org Phone: +1 314-669-4JZB (4592) Blog: http://dissociatedpress.net/ Twitter:

Editor's Notes

  1. User-driven solutions to real problemsLower barrier to participationLarger user base of users helping users Aggressive release cycles stay current with the state-of-the-artChoice of infrastructureControl of data and securityAvoid lock-inOpen data, open standards, open APIs
  2. A user can belong to only one Account, .ie. the same User cannot belong to multiple Accounts.Whenever creating an account at any domain level it can be of two types - Admin or user. If account == Admin then he will be domain admin of that domain and if created with type=user he will be a regular account under that domain.Admin created at ROOT level is called ROOT admin and since ROOT is the top domain he has privileges to act on all the resources.Username is unique in a Domain across Accounts in that Domain. The same username can exist in other domains, including subdomains.Account name is unique in a domain. The same Account name can exist in other domains, including subdomains.Domain name can repeat as long as the full pathname from ROOT is unique. For ex, you can have ROOT/d1, as well as ROOT/foo/d1, and ROOT/bar/d1.Resources belong to an Account, not individual users in that account. Billing, resource limits etc are maintained by Account, not usernames.CloudStack allows to create 3 different types of accounts --> admin/domain-admin or user account. All the roles (admin, domain admins and user) are attached at account level.Under the account all the users have the same privileges. There are no role based users in one account.We can have multiple admins for the same domain.All the domains get created under the ROOT domain.