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

CloudStack Intro NYC

  • Upload
    ke4qqq

  • View
    756

  • Download
    2

Embed Size (px)

DESCRIPTION

Quick 10 minute introduction to Apache CloudStack - presentation originally given at NYC CloudStack Users Group.

Citation preview

Page 1: CloudStack Intro NYC

Intro to Apache CloudStack

David Nalley@ke4qqq

[email protected] / [email protected]

Page 2: CloudStack Intro NYC

#whoami

• Recovering Sysadmin

• F/LOSS contributor

• Committer and PMC member for Apache CloudStack

Page 3: CloudStack Intro NYC

So I have some questions

Page 4: CloudStack Intro NYC

CloudStack Overview

Page 5: CloudStack Intro NYC

• 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: CloudStack Intro NYC

• 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: CloudStack Intro NYC

• 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: CloudStack Intro NYC

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: CloudStack Intro NYC

Create Custom Virtual Machines via Service Offerings

Page 10: CloudStack Intro NYC

Dashboard Provides Overview of Consumed Resources

• Running, Stopped & Total VMs

• Public IPs

• Private networks

• Latest Events

Page 11: CloudStack Intro NYC

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: CloudStack Intro NYC

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: CloudStack Intro NYC

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: CloudStack Intro NYC

CloudStack Architecture

Page 15: CloudStack Intro NYC

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: CloudStack Intro NYC

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: CloudStack Intro NYC

• 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: CloudStack Intro NYC

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: CloudStack Intro NYC

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: CloudStack Intro NYC

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: CloudStack Intro NYC

Virtual router

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

• Provides a number of services

• DHCP

• Routing

• DNS

• Loadbalancing

• Firewall

• NAT