crash course on open source cloud computing

23
Crash Course On Open Source Cloud computing Gustavo Ribeiro @gustavonfr

Upload: lorscheider-santiago

Post on 11-May-2015

386 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: Crash course on open source cloud computing

Crash Course On Open Source Cloud computing

Gustavo Ribeiro@gustavonfr

www.veezor.com

Page 2: Crash course on open source cloud computing

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

Page 3: Crash course on open source cloud computing

Five Characteristics of Clouds

1. On-Demand Self-Service

2. Escalabilidade

3. Pool de recursos

4. Rapid Elasticity

5. Measured Service

Page 4: Crash course on open source cloud computing

Cloud Computing 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: 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.

Examples: EC2,Rackspace CloudFiles, OpenStack, CloudStack, Eucalyptus, Ubuntu Enterprise Cloud, OpenNebula

SaaS

PaaS

IaaS

Page 5: Crash course on open source cloud computing

Deployment Models Public, Private & Hybrid Clouds

Page 6: Crash course on open source cloud computing

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

Page 7: Crash course on open source cloud computing

Building Compute Cloudswith Open Source Software

Page 8: Crash course on open source cloud computing

Click to edit the outline text format Second Outline

Level Third Outline

Level Fourth Outline

Level Fifth

Outline Level

Sixth Outline Level

Seventh Outline Level

Eighth Outline Level

Ninth Outline LevelClick to edit Master text styles

Second level

Third level

Fourth level

Fifth level

Why Open Source?

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

Page 9: Crash course on open source cloud computing

Click to edit the outline text format Second Outline

Level Third Outline

Level Fourth Outline

Level Fifth

Outline Level

Sixth Outline Level

Seventh Outline Level

Eighth Outline Level

Ninth Outline LevelClick to edit Master text styles

Second level

Third level

Fourth level

Fifth level

Open Virtual Machine Formats

Open Virtualization Format (OVF) is an open standard for packaging and distributing virtual appliances or more generally software to be run in virtual machines.

Formats for hypervisors/cloud technologies:

• Amazon - AMI• KVM – QCOW2• VMware – VMDK• Xen – IMG• VHD – Virtual Hard Disk - Hyper-V

Page 10: Crash course on open source cloud computing

Click to edit the outline text format Second Outline

Level Third Outline

Level Fourth Outline

Level Fifth

Outline Level

Sixth Outline Level

Seventh Outline Level

Eighth Outline Level

Ninth Outline LevelClick to edit Master text styles

Second level

Third level

Fourth level

Fifth level

Sourcing Open Source SoftwareVMs and Cloud Appliances

Page 11: Crash course on open source cloud computing

Click to edit the outline text format Second Outline

Level Third Outline

Level Fourth Outline

Level Fifth

Outline Level

Sixth Outline Level

Seventh Outline Level

Eighth Outline Level

Ninth Outline LevelClick to edit Master text styles

Second level

Third level

Fourth level

Fifth level

Open Source Hypervisors

Open 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 installs

Proprietary VMware Citrix Xenserver Microsoft Hyper-V OracleVM (Based on OS Xen)

Page 12: Crash course on open source cloud computing

Open Source Compute Clouds

Year Started License Virtualization Technologies

2008 GPL Xenserver, Xen Cloud Platform, KVM, VMware

2006 GPL Xen, KVM, VMware (commercial version)

2010 (Developed by NASA by Anso Labs previously)

Apache VMware ESX and ESXi, , Xen, Xen Cloud Platform KVM, LXC, QEMU and Virtual Box

Numerous companies are building cloud software on OpenStack including Nebula, Piston Inc., CloudScaling

Page 13: Crash course on open source cloud computing

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)

Page 14: Crash course on open source cloud computing

Private Cloud Architecture

Page 15: Crash course on open source cloud computing

Managing Clouds with Open Source Tools

Page 16: Crash course on open source cloud computing

Automation Unlocks the Potential of the Cloud

Meat Cloud Cloud Operations

Page 17: Crash course on open source cloud computing

The Myth of the Nines

Availability % Downtime per Year

Downtime per Month

Downtime per Week

99.9% (three nines) 8.76 hours 43.2 minutes 10.1 minutes

99.95% 4.38 hours 21.56 minutes 5.04 minutes99.99% (four nines) 52.6 minutes 4.32 minutes 1.01 minutes

99.999% (five nines)

5.26 minutes 25.9 seconds 6.05 seconds

99.9999% (six nines)

31.5 seconds 2.59 seconds .0605 seconds

Intervalo de sondagem média para monitoramento - 5 minutosMesmo as pessoas sobre-humanas de operações não pode ser alertado e tomar medidas em menos de

5 minutos.Uma interrupção por ano pode cair o nível de serviço para três noves ou pior.

Page 18: Crash course on open source cloud computing

6/1/12

Page 19: Crash course on open source cloud computing

Open Source Provisioning Tools

Year Started License Installation Targets

Kickstart ? GPL Most .dep and RPM based Linux distros

(Plus koan for PXE boot of VMs)

2007 GPL Red Hat, OpenSUSE Fedora, Debian, Ubuntu

2008 GPL Fedora, Centos

2011 Apache (Bare metal provisioning)

Page 20: Crash course on open source cloud computing

Open SourceMonitoring Tools

License Type of Monitoring Collection Methods

GPL Performance SNMP, syslog

GPL Availability SNMP,TCP, ICMP, IPMI, syslog

GPL Availability/ Performance and more

SNMP, TCP/ICMP, IPMI, Synthetic Transactions

GPL Availability, Performance, Event Management

SNMP, ICMP, SSH, syslog, WMI

Page 21: Crash course on open source cloud computing

DUVIDAS?

Page 22: Crash course on open source cloud computing

Additional Resources

Devops Toolchains Group DevOps Wikipedia Page Open Cloud Initiative NIST Cloud Computing Platform Open Virtualization Format Specs Clouderati Twitter Account Planet DevOps

Page 23: Crash course on open source cloud computing

Crash Course in Open Source Cloud Computing

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