Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Build a Cloud Day SF - Crash Course on Open Source Cloud Computing


Published on

Overview on the software and tools needed to deliver an open source cloud computing environment.

Published in: Technology
  • Be the first to comment

Build a Cloud Day SF - Crash Course on Open Source Cloud Computing

  1. 1. C R A S H CO U RS E I N O P E N S O U RC E C LO U D CO M P U T I N G Mark R. Hinkle Senior Director, Cloud Computing Community Citrix
  2. 2. % W H OA M I•••••••••
  3. 3. Q U I C K C LO U D CO M P U T I N G OV E RV I E W :O R T H E O B L I G ATO RY “ W H AT I S T H EC LO U D ? ” S L I D ES
  4. 4. F I V E C H A R AC T E R I ST I C S O F C LO U D S
  5. 5. C LO U D CO M P U T I N G S E RV I C E M O D E L S 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. DEVELOPMENT CLOUD a.k.a. PLATFORM-AS-A-SERVICE Application developer model, Application deployed to an elastic service that auto-scales, low administrative overhead. No concept of virtual machines or operating system. Code it and deploy it. SYSTEMS CLOUD a.k.a INFRASTRUCTURE-AS-A-SERVICE Servers and storage are made available in a scalable way over a network.
  6. 6. D E P LOY M E N T M O D E L SP U B L I C , P R I VAT E & H Y B R I D C LO U D S
  7. 7. C LO U D ST I L L R EQ U I R ESA RC H I T EC T U R A L D ES I G N Cloud Computing isn’t a magical solution apps need to be able to scale out Design your architecture with the end in mind Make your infrastructure easily replicable
  8. 8. B U I L D I N G C LO U D SW I T H O P E N S O U RC E S O F T WA R E
  9. 9. P R I VAT E C LO U D A RC H I T EC T U R E
  10. 10. W H Y O P E N S O U RC E ? User-Driven Solutions to Real Problems Lower barrier to participation Larger user base, users helping users Aggressive release cycles stay current with the state-of- the-art Open data, Open standards, Open APIs
  11. 11. V I RT UA L FO R M AT SOpen Virtualization Format (OVF) is an openstandard for packaging and distributing virtualappliances or more generally software to be run invirtual machines. Formats for hypervisors/cloud technologies: • Amazon - AMI • KVM – QCOW2 • VMware – VMDK • Xen – IMG • VHD – Virtual Hard Disk - Hyper-V
  12. 12. S O U RC I N G O P E N S O U RC E S O F T WA R EV M S A N D C LO U D A P P L I A N C ESTool/Project What you can do with themBitnami BitNami provides free, ready to run environments for your favorite open source web applications and frameworks, including Drupal, Joomla!, Wordpress, PHP, Rails, Django and many more.Boxgrinder BoxGrinder is a set of projects that help you grind out appliances for multiple virtualization and Cloud providersSUSE Studio SUSE Studio supports building and deploying directly to cloud services such as Amazon EC2.UShareSoft Create cloud server templates on any OS in minutes. Visually design templates then generate to any image format (hypervisor and physical).
  13. 13. H Y P E RV I S O RSOpen Source Xen, Xen Cloud Platform (XCP) KVM – Kernel-based Virtualization VirtualBox* - Oracle supported Virtualization Solutions OpenVZ* - Container-based, Similar to Solaris Containers or BSD Zones LXC – User Space chrooted installsProprietary VMware Citrix Xenserver Microsoft Hyper-V OracleVM (Based on OS Xen)
  14. 14. CO M P U T E C LO U D S ( I A A S ) Year Started License Virtualization Technologies 2008 Apache Xenserver, Xen Cloud CloudStack Platform, KVM, VMware 2006 GPL Xen, KVM, VMware Eucalyptus (commercial version) 2010 (Developed by Apache VMware ESX and ESXi, , OpenStack NASA by Anso Labs Xen, Xen Cloud Platform previously) KVM, LXC, QEMU and Virtual Box 2005 Apache Xen, KVM, VMware OpenNebula
  15. 15. SCALE-UP OR SCALE-OUTVertical Scaling (Scale-Up) –Allocate additional resourcesto VMs, requires a reboot, noneed for distributed app logic,single-point of OS failureHorizontal Scaling (Scale-Out) –Application needs logic towork in distributed fashion(e.g. HA-Proxy and Apache,Hadoop)
  16. 16. C LO U D CO M P U T I N G STO R AG E Description GlusterFS Scale Out NAS system aggregating storage over Ethernet or Infiniband CEPH Distributed file storage system developed by DreamHost OpenStack Swift Long-term object storage system Sheepdog Distributed storage for KVM hypervisors NFS Old standby, tried and true, not designed for cloud scale or performance
  17. 17. C LO U D A P I S A R E N ’ T C R EAT E D EQ UA LO P E N S O U RC E A B ST R AC T I O N S jclouds libcloud deltacloud fog
  18. 18. P L AT FO R M - A S - A - S E RV I C E ( PA A S ) Year Started Sponsors Languages/FrameworksCloudFoundry 2011 VMware Spring for Java, Ruby for Rails and Sinatra, node.js, Grails, Scala on Lift and more via partners (e.g. Python, PHP)OpenShift ** 2011 Red Hat Java, Ruby, PHP, Perl and PythonPHPFog* 2011 Appfog PHP, NodeJS, Ruby, Python, Java, .NET, MySQL, PostgreSQLStackato* ActiveState Java, Python, PHP, Ruby, Perl, Node.js, othersWSO2 Stratus 2010 WSO2 Jboss, Java EE6
  20. 20. AU TO M AT I O N U N LO C KST H E P OT E N T I A L O F T H E C LO U D
  21. 21. 4 T Y P ES O F M A N AG E M E N T TO O L SProvisioningInstallation of operating systems and othersoftwareConfiguration ManagementSets the parameters for servers, can specifyinstallation parametersOrchestration/AutomationAutomate tasks across systemsMonitoringRecords errors and health of IT infrastructure
  22. 22. M A N AG E M E N T TO O LC H A I N S Monitoring Patching and Provisioning Configuration
  23. 23. O P E N S O U RC EP ROV I S I O N I N G TO O L S Year Started License Installation TargetsKickstart ? GPL Most .dep and RPM based Linux distrosCobbler (Plus koan 2007 GPL Red Hat, OpenSUSEfor PXE boot of Fedora, Debian,VMs) UbuntuSpacewalk 2008 GPL Fedora, CentosCrowbar 2011 Apache (Bare metal provisioning)
  24. 24. C O N F I G U R AT I O N M A N A G E M E N TTO O L S Year Started Language License Client/Server Cfengine 1993 C Apache Yes Chef 2009 Ruby Apache Chef Solo – No Chef Server - Yes Puppet 2004 Ruby GPL Yes & standalone Salt 2011 Python Apache yes
  25. 25. M O N I TO R I N G TO O L S License Type of Monitoring Collection MethodsCacti / RRDTool GPL Performance SNMP, syslogGraphite Apache 2.0 Performance AgentNagios GPL Availability SNMP,TCP, ICMP, IPMI, syslogZabbix GPL Availability/ SNMP, TCP/ICMP, Performance and IPMI, Synthetic more TransactionsZenoss GPL Availability, SNMP, ICMP, SSH, Performance, Event syslog, WMI Management
  26. 26. AU TO M AT I O N / O RC H EST R AT I O N TO O L S Year Started Language License Client/Server Support OrganizationCapistrano 2006 Ruby MIT Yes NoneRunDeck 2010 Java Apache Yes DTO SolutionsFunc 2007 Python GPL Yes Fedora ProjectMCollective 2009 Ruby Apache Yes PuppetLabsSalt 2011 Python Apache Yes SaltStack Inc. ?
  27. 27. CO N C E P T UA L AU TO M AT E D TO O LC H A I NGenerate Images BootStrapped Image Configuration Provision SUSE Studio CloudStack Puppet Cobbler BoxGrinder OpenStack Chef Monitoring Nagios Start/Stop Services Zenoss RunDeck Cacti Capistrano MCollective
  28. 28. Questions? SLIDES CAN BE VIEWED AND DOWNLOADED AT: H T T P : / / W W W. S L I D E S H A R E . N E T/ S O C I A L I Z E D S O F T WA R E /
  29. 29. CO N TAC T M E
  30. 30. A D D I T I O N A L R ES O U RC ES Devops Toolchains Group DevOps Wikipedia Page Open Cloud Initiative NIST Cloud Computing Platform Open Virtualization Format Specs Clouderati Twitter Account Planet DevOps
  31. 31. I T TA K ES A ( O P E N S O U RC E ) V I L L AG E TO B U I L D A C LO U DB Y M A R K R . H I N K L E I S L I C E N S E D U N D E R A C R E AT I V E C O M M O N S AT T R I B U T I O N - S H A R E A L I K E 3 . 0 U N I T E D S TAT E S L I C E N S E .