Build a Cloud Day - CloudStack

  • Upload
    ke4qqq

  • View
    5.001

  • Download
    2

Embed Size (px)

Citation preview

CloudStack

David [email protected]

2011 Cloud.com Content is available under the Creative Commons Attribution-ShareAlike License 3.0 unported;

Formed in 2008 (as VMOps)Open Sourced CloudStack May 2010Acquired by Citrix July 2011Dropped 'open core' August 2011

What is the cloud

On-Demand Self-Service

Broad Network Access

Resource Pooling

Rapid Elasticity

Measured Service

What is the cloud?

The Cloud is AWESOME

The Cloud is OSSM

O On-demand

S Self-Service

S Scalable

M Measurable

Credit to Dave Nielsen for OSSM

What kind of clouds?

SaaS

PaaS

IaaSCompute

Storage

Networking

SaaS

PaaS

IaaS

What is CloudStack?

Free (as in speech, and beer) Infrastructure as a Service implementation that supports multiple hypervisors, complex network and firewall configuration, high-availability, and complex multi-tenant offerings.

What do IaaS Cloud Platforms really do?

Manage HA

Provision networking services (load balancing, dhcp, routing, VLAN allocation, firewall, isolation, VPN, manage external networking elements)

Allocate VM/resources based on algorithms and availability

Provide abstraction of and interaction with virtualization, networking, etc.

What do IaaS Cloud Platforms really do?

Provide a multi-tenant, highly segregated, interface (API or web interface)

Allow arbitrary resources limits to be placed on accounts or users.

Track not just counts of VMs at given point in time, but usage (type of instance, network, storage, CPU) over time.

Multiple hypervisor support

KVM

XenServer

XCP

VMware

OVM

Baremetal

Multi-tenant

Resources are hierarchically segregated into Zones, Pods, Clusters, and Hosts

Users are separated into multi-level domains and accounts and granted varying degrees of access to resources.

Users and Admins have access to the same UI

Networking

CloudStack manages networking including:Load Balancing

VPN

Firewall

Routing

DHCP

VLAN provisioning and management

Security Groups

High Availability

CloudStack, upon noticing an instance failing will attempt to restart the node, and failing that will create a new instance on a different piece of hardware in the cluster.

Works for all supported hypervisors.

System VMs such as router and loadbalancer are HA by default

Redundant router

Robust API

CloudStack is replete with a robust RESTful API (output in XML or JSON)Allows external applications such as monitoring to perform actions such as spinning up new instances in response to load. Allows you to loosely couple external applications such as billing and PaaS to CloudStack.

Overall (simplified) Architecture

Management Server/Database

Compute nodes

Primary Storage

Secondary Storage

Virtual resourcesRouter (routing, firewall, load balancer, VPN)

ConsoleProxy

Resources

Physical resources divided up into:Zone

Pod

Cluster

Hosts

Storage (tags)

Zone is typically a datacenterPod is typically a rackCluster is a hypervisor/hardware-homogenous collection of compute nodes.

Time to play with CloudStack UI

Time to play with CloudStack API

Deploy a virtual machine:

http://demo4/client/api?apikey=ZRFLiXIkmAHqgRmZzdiXMfaROyK35P_dXxS517WSa9Tmy1Hg&command=deployVirtualMachine&serviceofferingid=1&templateid=291&zoneid=1&signature=eXW%2fxfqx%2fhu%2frMreFksVsp3cT4M%3d

Contact

IRC: #CloudStack on irc.freenode.netForums: http://cloudstack.org/forum/Mailing lists: http://cloudstack.org/discuss/mailing-lists.htmlEmail: [email protected]/identi.ca: @ke4qqq

Click to edit the title text formatClick to edit Master title style

Click to edit the title text formatClick to edit Master title style

Click to edit the outline text formatSecond Outline LevelThird Outline LevelFourth Outline LevelFifth Outline LevelSixth Outline LevelSeventh Outline LevelEighth Outline Level

Ninth Outline LevelClick to edit Master text styles

Second level

Third level

Fourth level

Fifth level

May 18, 2010 | Cloud Confidential