View
756
Download
2
Category
Preview:
DESCRIPTION
Quick 10 minute introduction to Apache CloudStack - presentation originally given at NYC CloudStack Users Group.
Citation preview
Intro to Apache CloudStack
David Nalley@ke4qqq
ke4qqq@apache.org / david@gnsa.us
#whoami
• Recovering Sysadmin
• F/LOSS contributor
• Committer and PMC member for Apache CloudStack
So I have some questions
CloudStack Overview
• 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?
• 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
• 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.
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
Create Custom Virtual Machines via Service Offerings
Dashboard Provides Overview of Consumed Resources
• Running, Stopped & Total VMs
• Public IPs
• Private networks
• Latest Events
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
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
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
CloudStack Architecture
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
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
• 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
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)
Secondary Storage
• Secondary Storage - provides storage for machine images and snapshots
• Secondary Storage VM - provides stateless and scalable management and interaction with Secondary Storage.
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.
Virtual router
• Lowest common denominator (so far) is a virtual machine.
• Provides a number of services
• DHCP
• Routing
• DNS
• Loadbalancing
• Firewall
• NAT
Recommended