SlideShare a Scribd company logo
DevCloud and CloudMonkey
   in Apache CloudStack
     Sebastien Goasguen
          @sebgoa
IaaS…
IaaS challenges
• Not out of the box by itself
• Need a farm of hypervisors
  – Xen, KVM, VMware…
• Need storage
  – For image catalogue
  – For volume/snapshot management
• Need flexible network that can be configured
  on-demand
  – VLANS, no VLANS, existing net infra, SDN…
IaaS is really:
• A Data Center Orchestrator
  – Data storage
  – Data movement
  – Data processing


• That can:
  – Handle failures
  – Support large scale
  – Be programmed
DevOps
• Bring your developers closer to the operations
• Make your sys admins develop the apps
• Move to Software Defined Data Center,
  Automate everything
Dev:                                 Ops:
       Java                             Shell
       IDE                              CLI
What the ASF did to CloudStack ?
• “A little bit about the internals”
A Very Flexible IaaS
                                   Platform
Compute     Hypervisor




Storage     Block & Object



                          Primary Storage                        Secondary Storage


Network     Network & Network Services




  http://www.slideshare.net/cloudstack/cloudstack-architecture
Architecture / Language
• Java application
• Tomcat6, Axis2, Maven build + ant
  – Ant going away in 4.1
• Moving towards a plugin architecture
Releases
• Apache CloudStack 4.0 released in November

• Time based releases
  – Rather slip features but guarantee release


• Apache CloudStack 4.1 planned for March
  22nd. 4.2 most likely in July
CloudStack Cloud Architecture
                                   Internet
                                    Internet                Hypervisor is the basic unit of
   CloudStack
  Management                                                 scale.
     Server
Zone 1                                                      Cluster consists of one ore
                                                             more hosts of same
                       L3 core
                        L3 core                              hypervisor
                                                            All hosts in cluster have access
Pod 1 Access Layer
       Access Layer               Pod N                      to shared (primary) storage
                                               Secondary
                           ….                   Storage     Pod is one or more clusters,
  Cluster N                                                  usually with L2 switches.
                                                            Availability Zone has one or
       ….                                                    more pods, has access to
                                                             secondary storage.
  Cluster 1
                                                            One or more zones represent
   Host 11
    Host                                                     cloud
                 Primary
                 Storage
    Host 22
     Host
Cloud Interactions                                                                    OVM Cluster        Primary
                                                                                                                                          Storage

                                                                                                     Ap   i
                                                                                                 Xen               vcenter
                                                                                                                     vcenter


  Monitoring                                                                                                                            Primary
                                           CS API                     Clu                                    I
                                                                          ste                             AP           vSphere Cluster
                                                                                                                                    Storage
                                                                              r   M                 n ter
    End
      End
                                                                                   gm            vCe
                                                                                     t
   User UI
    User UI
                                                                                                                                         Primary
                                                                                                                        XS Cluster       Storage
   Admin
    Admin                                                    Clustered
                                                              Clustered
                                                        CloudStack                           XAPI
     UI
      UI                                                 CloudStack
   Domain
    Domain
                            CS Admin &                    CloudStack
                                                            CloudStack
                                                           CloudStack
                                                             CloudStack
                            End-user API                                                                                                 Primary
   Admin
    Admin
     UI
      UI
                                                          Management
                                                           Management                            JSON                   KVM Cluster Storage
                                                               Server
                                                                Server                                  NetConf
                                                                                                                           Juniper SRX
Cloud user                                                                                         Nitro API
{API client (Fog/etc)}                                                                                                                                 VNC
                                                                                            JSON
                  ec2 API                                                                 JSON                                          Netscaler

  Cloud user                                                                                                       Console
                                                                                                                    Console
                                                                                                                      Console
  {ec2 API client }                                                                                               ProxyConsole
                                                                                                                        VM
                                                                                                                   Proxy VM
                                                                                                                     Proxy VM
                                                                                                                      Proxy VM                NFS
                                                    MySQL
                                                    MySQL                                                                                     Server
                                                                                                                   Sec. Storage
                                                                                                                    Sec. Storage NFS                     NFS
                                                                           {Proxied} SSH                            Sec. VM
                                                                                                                         Storage
                                                                                                                     Sec. Storage
                                                                                                                        VM
                Ajax
                 Ajax                           HTTPS                                                                    VM
                                                                                                                          VM
               Console
                Console                                                           Router VM
                                                                                   Router VM                                      HTTP (Template Download)
                                                                                    Router VM
                                                                                      Router VM                                  HTTP (Template Copy)
                                                                                       Router VM
                                                                                         Router VM
    Cloud user                                                                                                                 HTTP (Swift)
               http://www.slideshare.net/cloudstack/cloudstack-architecture
“To get your feet wet…”
DevCloud
• A Virtual box appliance packaged to provide a
  working CloudStack environment.

• Aimed at developers but has other use cases:
  – Xen PV hosts gives nested virtualization
  – Local EC2/S3 Cloud on your laptop
  – Networking experiments ?
Self-Contained
DevCloud: as Host
Run CloudStack on local machine
Use DevCloud to setup hosts
CloudMonkey
• The CloudStack CLI, developed by Rohit Yadav
• ~600 lines of Python
• pip install cloudmonkey

• Lots of features:
  – Auto-completion
  – Tabular output
  – Help , scriptable, interactive shell…
Intro
•   $ cloudmonkey
•   ☁ Apache CloudStack ? cloudmonkey 4.0.0. Type
    help or ? to list commands.

•   ? cloudmonkey> set apikey plgWJfZK4gyS3mOMTVmjUVg-
    X-jlWlnfaUJ9GAbBbf9EdM-
    kAYMmAiLqzzq1ElZLYq_u38zCm0bewzGUdP66mg
•   ? cloudmonkey> set secretkey
    VDaACYb0LV9eNjTetIOElcVQkvJck_J_QljX_FcHRj87ZKiy0z
    0ty0ZsYBkoXkY9b7eq1EhwJaw7FF3akA3KBQ
• ? cloudmonkey> list users
• ? cloudmonkey> list virtualmachines
• ? cloudmonkey> help list templates
• ? cloudmonkey> deploy virtualmachine –help
• ? cloudmonkey> list templates
  templatefilter=all
• ? cloudmonkey> list serviceofferings | grep id
• ? cloudmonkey> stop virtualmachine id=2c650856-
  a080-4766-a8b3-4166042ccec7
Info
•   Apache incubator project
•   http://incubator.apache.org/cloudstack
•   #cloudstack and #cloudstack-dev on irc.freenode.net
•   @CloudStack on Twitter
•   http://www.slideshare.net/cloudstack
•   http://incubator.apache.org/cloudstack/mailing-lists.html
•   Collaboration Conference, Nov 30th -Dec 2nd
    – http://collab12.cloudstack.org/
    – http://www.youtube.com/diycloudcomputing

    Welcoming contributions and feedback, Join the fun !
“Time for a Demo ?”

More Related Content

PPT
Apache CloudStack AlpesJUG
PPT
CloudStack for Java User Group
PPT
Building FOSS clouds
PPTX
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
PDF
Hacking apache cloud stack
PPTX
PPTX
Apache CloudStack Architecture by Alex Huang
PDF
CloudStack Hyderabad Meetup: Using CloudStack to build IaaS clouds
Apache CloudStack AlpesJUG
CloudStack for Java User Group
Building FOSS clouds
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
Hacking apache cloud stack
Apache CloudStack Architecture by Alex Huang
CloudStack Hyderabad Meetup: Using CloudStack to build IaaS clouds

What's hot (20)

PPT
Intro to Cloudstack
PPTX
BACD July 2012 : The Xen Cloud Platform
PPTX
PDF
2 architectural at CloudStack Developer Day
PDF
iPaas with Fuse Fabric Technology
PPTX
Xen and Apache cloudstack
PDF
CloudStack-Developer-Day
PDF
CloudStack Architecture Future
PPTX
Deploying Apache CloudStack from API to UI
PPT
Scalable networking in Apache CloudStack
PPTX
CloudStack + SDN
PPTX
CloudStack DC Meetup - Apache CloudStack Overview and 4.1/4.2 Preview
PPTX
Scale11x : Virtualization with Xen and XCP
ODP
Supporting and Using EC2/CIMI on top of Cloud Environments via Deltacloud
PPTX
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
PPTX
Apache CloudStack: API to UI (STLLUG)
PDF
Decisions behind hypervisor selection in CloudStack 4.3
PDF
2012 CloudStack Design Camp in Taiwan--- CloudStack Overview-1
PPTX
CloudStack Performance Testing
Intro to Cloudstack
BACD July 2012 : The Xen Cloud Platform
2 architectural at CloudStack Developer Day
iPaas with Fuse Fabric Technology
Xen and Apache cloudstack
CloudStack-Developer-Day
CloudStack Architecture Future
Deploying Apache CloudStack from API to UI
Scalable networking in Apache CloudStack
CloudStack + SDN
CloudStack DC Meetup - Apache CloudStack Overview and 4.1/4.2 Preview
Scale11x : Virtualization with Xen and XCP
Supporting and Using EC2/CIMI on top of Cloud Environments via Deltacloud
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Apache CloudStack: API to UI (STLLUG)
Decisions behind hypervisor selection in CloudStack 4.3
2012 CloudStack Design Camp in Taiwan--- CloudStack Overview-1
CloudStack Performance Testing
Ad

Viewers also liked (6)

PPT
CloudMonkey
PDF
Git 101 for CloudStack
PPTX
All About Those User Stories
PPT
Intro to CloudStack API
PPTX
NetSuite
PPTX
Netsuite Presentation
CloudMonkey
Git 101 for CloudStack
All About Those User Stories
Intro to CloudStack API
NetSuite
Netsuite Presentation
Ad

Similar to DevCloud and CloudMonkey (20)

PPT
Intro to CloudStack Build a Cloud Day
PDF
CloudStack Best Practice in PPTV
PDF
Scalable Object Storage with Apache CloudStack and Apache Hadoop
PPTX
What is cloud computing
PPT
Distributed Block-level Storage Management for OpenStack, by Danile lee
PPT
Danile lee -open stackblocklevelstorage
PDF
Apache CloudStack: From API to UI (NYLUG)
PPT
PDF
OpenStack Momentum
PDF
Portrait of the Developer as the Artist - OpenTour Sofia
PPTX
Cloud stack overview
PPTX
Apache CloudStack from API to UI
PDF
RunningQuantumOnQuantumAtNicira.pdf
PDF
Cloud and Grids
PDF
Cloud Interoperability Demo at OGF29
PPTX
Improvements in Failover Clustering in Windows Server 2012
PPT
Ram chinta hug-20120922-v1
PPTX
Citrix CloudStack - Build Your Own Scalable Infrastructure Cloud with CloudStack
PPTX
Windows server 2012 failover clustering improvements
Intro to CloudStack Build a Cloud Day
CloudStack Best Practice in PPTV
Scalable Object Storage with Apache CloudStack and Apache Hadoop
What is cloud computing
Distributed Block-level Storage Management for OpenStack, by Danile lee
Danile lee -open stackblocklevelstorage
Apache CloudStack: From API to UI (NYLUG)
OpenStack Momentum
Portrait of the Developer as the Artist - OpenTour Sofia
Cloud stack overview
Apache CloudStack from API to UI
RunningQuantumOnQuantumAtNicira.pdf
Cloud and Grids
Cloud Interoperability Demo at OGF29
Improvements in Failover Clustering in Windows Server 2012
Ram chinta hug-20120922-v1
Citrix CloudStack - Build Your Own Scalable Infrastructure Cloud with CloudStack
Windows server 2012 failover clustering improvements

More from Sebastien Goasguen (20)

PDF
Kubernetes Sealed secrets
PDF
Kubernetes Native Serverless solution: Kubeless
PPTX
Serverless on Kubernetes
PPTX
Kubernetes kubecon-roundup
PPT
Docker and CloudStack
PPTX
On Docker and its use for LHC at CERN
PPTX
CloudStack Conference Public Clouds Use Cases
PPT
Kubernetes on CloudStack with coreOS
PPTX
Apache Libcloud
PPTX
Moving from Publican to Read The Docs
PPTX
Cloud and Big Data trends
PPTX
SDN: Network Agility in the Cloud
PPT
Build a Cloud Day Paris
PPT
CloudStack / Saltstack lightning talk at DevOps Amsterdam
PPT
CloudStack Clients and Tools
PPT
Apache CloudStack Google Summer of Code
PPT
Avoiding cloud lock-in
PPT
Cloud Standards and CloudStack
PPT
MyCloud for $100k
PPT
CloudStack and BigData
Kubernetes Sealed secrets
Kubernetes Native Serverless solution: Kubeless
Serverless on Kubernetes
Kubernetes kubecon-roundup
Docker and CloudStack
On Docker and its use for LHC at CERN
CloudStack Conference Public Clouds Use Cases
Kubernetes on CloudStack with coreOS
Apache Libcloud
Moving from Publican to Read The Docs
Cloud and Big Data trends
SDN: Network Agility in the Cloud
Build a Cloud Day Paris
CloudStack / Saltstack lightning talk at DevOps Amsterdam
CloudStack Clients and Tools
Apache CloudStack Google Summer of Code
Avoiding cloud lock-in
Cloud Standards and CloudStack
MyCloud for $100k
CloudStack and BigData

Recently uploaded (20)

PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Big Data Technologies - Introduction.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Encapsulation theory and applications.pdf
PDF
Electronic commerce courselecture one. Pdf
PPTX
Cloud computing and distributed systems.
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPT
Teaching material agriculture food technology
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Modernizing your data center with Dell and AMD
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Network Security Unit 5.pdf for BCA BBA.
Spectral efficient network and resource selection model in 5G networks
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
“AI and Expert System Decision Support & Business Intelligence Systems”
The AUB Centre for AI in Media Proposal.docx
Big Data Technologies - Introduction.pptx
MYSQL Presentation for SQL database connectivity
Encapsulation theory and applications.pdf
Electronic commerce courselecture one. Pdf
Cloud computing and distributed systems.
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Teaching material agriculture food technology
Dropbox Q2 2025 Financial Results & Investor Presentation
Chapter 3 Spatial Domain Image Processing.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Understanding_Digital_Forensics_Presentation.pptx
Modernizing your data center with Dell and AMD
The Rise and Fall of 3GPP – Time for a Sabbatical?
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Network Security Unit 5.pdf for BCA BBA.

DevCloud and CloudMonkey

  • 1. DevCloud and CloudMonkey in Apache CloudStack Sebastien Goasguen @sebgoa
  • 3. IaaS challenges • Not out of the box by itself • Need a farm of hypervisors – Xen, KVM, VMware… • Need storage – For image catalogue – For volume/snapshot management • Need flexible network that can be configured on-demand – VLANS, no VLANS, existing net infra, SDN…
  • 4. IaaS is really: • A Data Center Orchestrator – Data storage – Data movement – Data processing • That can: – Handle failures – Support large scale – Be programmed
  • 5. DevOps • Bring your developers closer to the operations • Make your sys admins develop the apps • Move to Software Defined Data Center, Automate everything Dev: Ops: Java Shell IDE CLI
  • 6. What the ASF did to CloudStack ?
  • 7. • “A little bit about the internals”
  • 8. A Very Flexible IaaS Platform Compute Hypervisor Storage Block & Object Primary Storage Secondary Storage Network Network & Network Services http://www.slideshare.net/cloudstack/cloudstack-architecture
  • 9. Architecture / Language • Java application • Tomcat6, Axis2, Maven build + ant – Ant going away in 4.1 • Moving towards a plugin architecture
  • 10. Releases • Apache CloudStack 4.0 released in November • Time based releases – Rather slip features but guarantee release • Apache CloudStack 4.1 planned for March 22nd. 4.2 most likely in July
  • 11. CloudStack Cloud Architecture Internet Internet  Hypervisor is the basic unit of CloudStack Management scale. Server Zone 1  Cluster consists of one ore more hosts of same L3 core L3 core hypervisor  All hosts in cluster have access Pod 1 Access Layer Access Layer Pod N to shared (primary) storage Secondary …. Storage  Pod is one or more clusters, Cluster N usually with L2 switches.  Availability Zone has one or …. more pods, has access to secondary storage. Cluster 1  One or more zones represent Host 11 Host cloud Primary Storage Host 22 Host
  • 12. Cloud Interactions OVM Cluster Primary Storage Ap i Xen vcenter vcenter Monitoring Primary CS API Clu I ste AP vSphere Cluster Storage r M n ter End End gm vCe t User UI User UI Primary XS Cluster Storage Admin Admin Clustered Clustered CloudStack XAPI UI UI CloudStack Domain Domain CS Admin & CloudStack CloudStack CloudStack CloudStack End-user API Primary Admin Admin UI UI Management Management JSON KVM Cluster Storage Server Server NetConf Juniper SRX Cloud user Nitro API {API client (Fog/etc)} VNC JSON ec2 API JSON Netscaler Cloud user Console Console Console {ec2 API client } ProxyConsole VM Proxy VM Proxy VM Proxy VM NFS MySQL MySQL Server Sec. Storage Sec. Storage NFS NFS {Proxied} SSH Sec. VM Storage Sec. Storage VM Ajax Ajax HTTPS VM VM Console Console Router VM Router VM HTTP (Template Download) Router VM Router VM HTTP (Template Copy) Router VM Router VM Cloud user HTTP (Swift) http://www.slideshare.net/cloudstack/cloudstack-architecture
  • 13. “To get your feet wet…”
  • 14. DevCloud • A Virtual box appliance packaged to provide a working CloudStack environment. • Aimed at developers but has other use cases: – Xen PV hosts gives nested virtualization – Local EC2/S3 Cloud on your laptop – Networking experiments ?
  • 16. DevCloud: as Host Run CloudStack on local machine Use DevCloud to setup hosts
  • 17. CloudMonkey • The CloudStack CLI, developed by Rohit Yadav • ~600 lines of Python • pip install cloudmonkey • Lots of features: – Auto-completion – Tabular output – Help , scriptable, interactive shell…
  • 18. Intro • $ cloudmonkey • ☁ Apache CloudStack ? cloudmonkey 4.0.0. Type help or ? to list commands. • ? cloudmonkey> set apikey plgWJfZK4gyS3mOMTVmjUVg- X-jlWlnfaUJ9GAbBbf9EdM- kAYMmAiLqzzq1ElZLYq_u38zCm0bewzGUdP66mg • ? cloudmonkey> set secretkey VDaACYb0LV9eNjTetIOElcVQkvJck_J_QljX_FcHRj87ZKiy0z 0ty0ZsYBkoXkY9b7eq1EhwJaw7FF3akA3KBQ
  • 19. • ? cloudmonkey> list users • ? cloudmonkey> list virtualmachines • ? cloudmonkey> help list templates • ? cloudmonkey> deploy virtualmachine –help • ? cloudmonkey> list templates templatefilter=all • ? cloudmonkey> list serviceofferings | grep id • ? cloudmonkey> stop virtualmachine id=2c650856- a080-4766-a8b3-4166042ccec7
  • 20. Info • Apache incubator project • http://incubator.apache.org/cloudstack • #cloudstack and #cloudstack-dev on irc.freenode.net • @CloudStack on Twitter • http://www.slideshare.net/cloudstack • http://incubator.apache.org/cloudstack/mailing-lists.html • Collaboration Conference, Nov 30th -Dec 2nd – http://collab12.cloudstack.org/ – http://www.youtube.com/diycloudcomputing Welcoming contributions and feedback, Join the fun !
  • 21. “Time for a Demo ?”

Editor's Notes

  • #7: Caveat: A contributor is identified by sending a single email on the –dev or –users mailing list. This graphs plots the number of unique email addresses