Crash Course On Open Source Cloud computing

           Gustavo Ribeiro
            @gustavonfr
Agenda


1. Introducão

2. Visão geral da computação em nuvem

3. Ferramentas Open para construção de
   Cloud

4. Ferramentas Open para gerenciamento

5. Dúvidas
Five Characteristics of Clouds
Cloud Computing Service Models

                  USER CLOUD a.k.a. SOFTWARE AS A SERVICE

                  Single application, multi-tenancy, network-based, one-to-many delivery of

     SaaS         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
     PaaS         operating system. Code it and deploy it.

                  Examples: Google AppEngine, Windows Azure, Rackspace Site, Red Hat
                  Makara

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

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

     IaaS         Examples: EC2,Rackspace CloudFiles, OpenStack, CloudStack,
                  Eucalyptus, Ubuntu Enterprise Cloud, OpenNebula
Deployment Models
Public, Private & Hybrid Clouds
Cloud Still Requires
Architectural Design

 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
Building Compute Clouds
with Open Source Software
Third Outline
Why Open Source?                            Level
                                                 Fourth Outline
                                                  Level
   Lower barrier to participation                    Fifth
   Larger user base, users helping users             Outline
   Aggressive release cycles stay current with the state-of-
                                                      Level
    the-art
                                                      Sixth
   Open data, Open standards, Open APIs
                                                      Outline
                                                      Level
                                                      Seventh
                                                      Outline
                                                      Level
                                                      Eighth
                                                      Outline
                                                      Level
Third Outline
Open Virtual Machine Formats        Level
                                       Fourth Outline
                                        Level
Open Virtualization Format (OVF) is an open Fifth
  standard for packaging and distributing virtual
                                            Outline
  appliances or more generally software to be run in
                                            Level
  virtual machines.                         Sixth
                                            Outline
                                            Level
                      •                     Seventh
                      •
                      •                     Outline
                      •                     Level
                      •
                                            Eighth
                                            Outline
                                            Level
Third Outline
Sourcing Open Source Software   Level
VMs and Cloud Appliances            Fourth Outline
                                     Level
                                        Fifth
                                        Outline
                                        Level
                                        Sixth
                                        Outline
                                        Level
                                        Seventh
                                        Outline
                                        Level
                                        Eighth
                                        Outline
                                        Level
Third Outline
Open Source Hypervisors                            Level
                                                             Fourth Outline
                                                              Level
Open Source                                                       Fifth
 Xen, Xen Cloud Platform (XCP)
 KVM – Kernel-based Virtualization
                                                                  Outline
 VirtualBox* - Oracle supported Virtualization Solutions         Level
 OpenVZ* - Container-based, Similar to Solaris Containers or BSD Zones
                                                                  Sixth
 LXC – User Space chrooted installs
                                                                  Outline
Proprietary                                                       Level
 VMware                                                          Seventh
 Citrix Xenserver                                                Outline
 Microsoft Hyper-V
 OracleVM (Based on OS Xen)
                                                                  Level
                                                                  Eighth
                                                                  Outline
                                                                  Level
Open Source Compute Clouds
Scale-Up or Scale-Out

Vertical Scaling (Scale-Up) –
Allocate additional resources to
VMs, requires a reboot, no need
for distributed app logic, single-
point of OS failure

Horizontal Scaling (Scale-Out) –
Application needs logic to work
in distributed fashion (e.g. HA-
Proxy and Apache, Hadoop)
Private Cloud Architecture
Managing Clouds with
Open Source Tools
Automation Unlocks
the Potential of the Cloud
The Myth of the Nines



99.9% (three nines)

99.95%
99.99% (four nines)
6/1/12
Open Source
Provisioning Tools

              Year Started   License   Installation
                                       Targets
Open Source
Monitoring Tools
DUVIDAS?
Additional Resources
   Devops Toolchains Group
   DevOps Wikipedia Page
   Open Cloud Initiative
   NIST Cloud Computing Platform
   Open Virtualization Format Specs
   Clouderati Twitter Account
   Planet DevOps
Crash Course in Open Source Cloud Computing

by Gustavo Ribeiro is licensed under a Creative Commons Attribution-ShareAlike 3.0
                              United States License.

Crash course on open source cloud computing

  • 1.
    Crash Course OnOpen Source Cloud computing Gustavo Ribeiro @gustavonfr
  • 2.
    Agenda 1. Introducão 2. Visãogeral da computação em nuvem 3. Ferramentas Open para construção de Cloud 4. Ferramentas Open para gerenciamento 5. Dúvidas
  • 3.
  • 4.
    Cloud Computing ServiceModels USER CLOUD a.k.a. SOFTWARE AS A SERVICE Single application, multi-tenancy, network-based, one-to-many delivery of SaaS 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 PaaS operating system. Code it and deploy it. Examples: Google AppEngine, Windows Azure, Rackspace Site, Red Hat Makara SYSTEMS CLOUD a.k.a INFRASTRUCTURE-AS-A-SERVICE Servers and storage are made available in a scalable way over a network. IaaS Examples: EC2,Rackspace CloudFiles, OpenStack, CloudStack, Eucalyptus, Ubuntu Enterprise Cloud, OpenNebula
  • 5.
  • 6.
    Cloud Still Requires ArchitecturalDesign  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
  • 7.
    Building Compute Clouds withOpen Source Software
  • 8.
    Third Outline Why OpenSource? Level  Fourth Outline Level  Lower barrier to participation Fifth  Larger user base, users helping users Outline  Aggressive release cycles stay current with the state-of- Level the-art Sixth  Open data, Open standards, Open APIs Outline Level Seventh Outline Level Eighth Outline Level
  • 9.
    Third Outline Open VirtualMachine Formats Level  Fourth Outline Level Open Virtualization Format (OVF) is an open Fifth standard for packaging and distributing virtual Outline appliances or more generally software to be run in Level virtual machines. Sixth Outline Level • Seventh • • Outline • Level • Eighth Outline Level
  • 10.
    Third Outline Sourcing OpenSource Software Level VMs and Cloud Appliances  Fourth Outline Level Fifth Outline Level Sixth Outline Level Seventh Outline Level Eighth Outline Level
  • 11.
    Third Outline Open SourceHypervisors Level  Fourth Outline Level Open Source Fifth  Xen, Xen Cloud Platform (XCP)  KVM – Kernel-based Virtualization Outline  VirtualBox* - Oracle supported Virtualization Solutions Level  OpenVZ* - Container-based, Similar to Solaris Containers or BSD Zones Sixth  LXC – User Space chrooted installs Outline Proprietary Level  VMware Seventh  Citrix Xenserver Outline  Microsoft Hyper-V  OracleVM (Based on OS Xen) Level Eighth Outline Level
  • 12.
  • 13.
    Scale-Up or Scale-Out VerticalScaling (Scale-Up) – Allocate additional resources to VMs, requires a reboot, no need for distributed app logic, single- point of OS failure Horizontal Scaling (Scale-Out) – Application needs logic to work in distributed fashion (e.g. HA- Proxy and Apache, Hadoop)
  • 14.
  • 15.
  • 16.
  • 17.
    The Myth ofthe Nines 99.9% (three nines) 99.95% 99.99% (four nines)
  • 18.
  • 19.
    Open Source Provisioning Tools Year Started License Installation Targets
  • 20.
  • 21.
  • 22.
    Additional Resources  Devops Toolchains Group  DevOps Wikipedia Page  Open Cloud Initiative  NIST Cloud Computing Platform  Open Virtualization Format Specs  Clouderati Twitter Account  Planet DevOps
  • 23.
    Crash Course inOpen Source Cloud Computing by Gustavo Ribeiro is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.