10 minute overview of apache cloudstack

21
Intro to Apache CloudStack David Nalley @ke4qqq [email protected] / [email protected]

Upload: ke4qqq

Post on 08-May-2015

531 views

Category:

Technology


4 download

DESCRIPTION

A really high-level overview of Apache CloudStack

TRANSCRIPT

Page 1: 10 Minute Overview of Apache CloudStack

Intro to Apache CloudStack

David Nalley@ke4qqq

[email protected] / [email protected]

Page 2: 10 Minute Overview of Apache CloudStack

#whoami

• Recovering Sysadmin

• F/LOSS contributor

• Committer and PMC member for Apache CloudStack

Page 3: 10 Minute Overview of Apache CloudStack

So I have some questions

Page 4: 10 Minute Overview of Apache CloudStack

CloudStack Overview

Page 5: 10 Minute Overview of Apache CloudStack

• CloudStack is an open source Infrastructure-as –a-Service (IaaS) orchestration platform that enables users to build, manage and deploy compute cloud environments.

• CloudStack is a Top-Level Project at the Apache Software Foundation.

What is Apache CloudStack?

Page 6: 10 Minute Overview of Apache CloudStack

• CloudStack offers an administrator's Web interface, used for provisioning and managing the cloud, as well as an end-user's Web interface, used for running VMs and managing VM templates.

• The UI can be customized to reflect the desired service provider or enterprise look and feel.

Graphical User Interface

Page 7: 10 Minute Overview of Apache CloudStack

• CloudStack Web Services Query HTTP API is loosely based on the REST architecture and allows developers to create new management solutions or integrate existing systems with CloudStack. It supports output in both XML and JSON.

• EC2/S3 support (translation layer) is also present.

Page 8: 10 Minute Overview of Apache CloudStack

Benefits of CloudStack

Self Service

Cap

ital Le

vera

ge

Work

forc

e L

evera

ge

Management Automation

WorkloadStandardization

Remove IT as a service delivery critical path

Reduce IT operational costs

Consistent application and service deployment

Usage Metering

CentralizedManagement

SmarterVirtualization

Visibility into user and line of business usage

Manage complete infrastructure, regardless of scale

Drive reduced capital requirements

Page 9: 10 Minute Overview of Apache CloudStack

Create Custom Virtual Machines via Service Offerings

Page 10: 10 Minute Overview of Apache CloudStack

Dashboard Provides Overview of Consumed Resources

• Running, Stopped & Total VMs

• Public IPs

• Private networks

• Latest Events

Page 11: 10 Minute Overview of Apache CloudStack

Virtual Machine Management

Users

Start

Stop

Restart

Destroy

VM Operations Console Access

• CPU Utilized

• Network Read

• Network Writes

VM StatusChange

Service Offering

2 CPUs

1 GB RAM

20 GB

20 Mbps

4 CPUs

4 GB RAM

200 GB

100 Mbps

Page 12: 10 Minute Overview of Apache CloudStack

Volume & Snapshot Management

Volume

VM 1Add / DeleteVolumes

Schedule Snapshots

Hourly

Daily

Weekly

MonthlyNow

Create Templates from Volumes

Volume Template

View Snapshot History 12/2/2012 7.30 am….

2/2/2012 7.30 am

Page 13: 10 Minute Overview of Apache CloudStack

Network & Network Services

• Create Networks and attach VMs

• Acquire public IP address for NAT & load balancing

• Control traffic to VM using ingress and egress firewall rules

• Set up rules to load balance traffic between VMs

Page 14: 10 Minute Overview of Apache CloudStack

CloudStack Architecture

Page 15: 10 Minute Overview of Apache CloudStack

CloudStack Architecture

Availability and Security

Servers Network StorageVirtualization Layer

Service Management (Metering, Accounts, etc.)

Resource Management

Servers Storage Network

Dynamic Workload Management

snapshots LB HA Monitoring

User Interface Developer APIAmazon*

Image Libraries

Application Catalog

Custom Templates

Operating System ISOs

Inte

grati

on A

PI

Ope

ratio

nal I

nteg

ratio

n(O

SS/B

SS, M

onito

ring,

Iden

tity

Man

agem

ent ,

Etc

)Administrator End User Console

Page 16: 10 Minute Overview of Apache CloudStack

Zone

Zone

Zone

Cloud Infrastructure Overview - Summary

• One or more hosts grouped into a cluster

• One or more clusters grouped into a pod

• One or more pods grouped into a zone

• One or more zones controlled by one management server

Pod

SecondaryStorage

MySQLCloud_db

ManagementManagementServerServer

Page 17: 10 Minute Overview of Apache CloudStack

• Hosts• Servers onto which services will be provisioned

• Primary Storage• VM disk storage

• Cluster• A grouping of hosts and their associated storage

• Pod• Collection of clusters in the same failure boundary

• Network• Logical network associated with service offerings

• Secondary Storage• Template, snapshot and ISO storage

• Zone• Collection of pods, network offerings and secondary storage

• Management Server Farm• Management and provisioning tasks

Components

Zone

CloudStack Pod

Cluster

Host

HostNetwork

PrimaryStorage

VM

VM

CloudStack Pod

ClusterSecondary

Storage

Page 18: 10 Minute Overview of Apache CloudStack

CloudStack Infrastructure - Overview

• CloudStack provides a number of ‘infrastructure’ pieces, external to the management server that provide scalable services.

• Secondary Storage (SSVM)

• Console Proxy (CPVM)

• Virtual Router (VR or domR)

Page 19: 10 Minute Overview of Apache CloudStack

Secondary Storage

• Secondary Storage - provides storage for machine images and snapshots

• Secondary Storage VM - provides stateless and scalable management and interaction with Secondary Storage.

Page 20: 10 Minute Overview of Apache CloudStack

Console Proxy• Hypervisors provide access

to the ‘console’ of a virtual machine generally via VNC.

• Accessing it requires direct access to the hypervisor - including credentials into the hypervisor directly.

• CPVM proxies access to the VNC session and provides access control so that others can’t get access.

• Automatically scales to handle demand of console sessions.

• Provides an AJAX interface that is usable on virtually any device.

Page 21: 10 Minute Overview of Apache CloudStack

Virtual router

• Lowest common denominator (so far) is a virtual machine.

• Provides a number of services

• DHCP

• Routing

• DNS

• Loadbalancing

• Firewall

• NAT