SlideShare a Scribd company logo
Building a Dev/Test cloud with
Apache CloudStack
David Nalley
PMC Member Apache CloudStack
Member, Apache Software Foundation
ke4qqq@apache.org
Twitter: @ke4qqq
#whoami
• Apache Software Foundation Member
• Apache CloudStack PMC Member
• Recovering Sysadmin
• Fedora Project Contributor
• Zenoss contributor
• Employed by Citrix in the Open Source Business Office
Why use cloud?
From a dev point of view the process looks like:
• Start new project
• File ticket for resources....wait....wait....wait
• Get resources, that aren't configured....wait...
• Get network access.....get permission....wait
• Get things done.
Why use cloud?
• What IT Ops provides is not what developers want.
Get rid of the waiting!
●
Remove constraints - developers empowered to get
things done.
●
Agility
●
Enforce automated process instead of manual ones
What does a dev/test cloud look like?
●
Self-service - developers can provision their own
environments
●
Usage measurement - we worry about VM sprawl
●
Isolated networks - must not let dev/test interfere with
the real world.
●
Commodity - as cheap as practical
●
May also house production workloads
Self service
●
Provisioning manually doesn't add value
●
Can be completely automated
●
Do they need full control or just pushing pre-configured
environments?
Self service
●
UI
●
API
●
Some external tool
Building a Dev/Test Cloud with Apache CloudStack
API or Command-line
� cloudmonkey> deploy virtualmachine
serviceofferingid=d8611d07-acf5-4cd4-a630-5c4d937ef043
templateid=081358ff-2427-44f8-adcc-1bb002fab361
zoneid=d06193b2-7980-4ad1-bd8-7b2f2eda63c3
curl 'http://localhost:8096/client/api?
command=listUsers'
Config Management deployment
{
"name": "hadoop_cluster_a",
"description": "A small hadoop cluster with hbase",
"version": "1.0",
"environment": "production",
"servers": [
{
"name": "zookeeper-a, zookeeper-b, zookeeper-c",
"description": "Zookeeper nodes",
"template": "rhel-5.6-base",
"service": "small",
"port_rules": "2181",
"run_list": "role[cluster_a], role[zookeeper_server]",
"actions": [
{ "knife_ssh": ["role:zookeeper_server", "sudo chef-client"] }
]
},
{
"name": "hadoop-master",
"description": "Hadoop master node",
"template": "rhel-5.6-base",
"service": "large",
"networks": "app-net, storage-net",
"port_rules": "50070, 50030, 60010",
"run_list": "role[cluster_a], role[hadoop_master], role[hbase_master]"
},
{
"name": "hadoop-worker-a hadoop-worker-b hadoop-worker-c",
"description": "Hadoop worker nodes",
"template": "rhel-5.6-base",
"service": "medium",
"port_rules": "50075, 50060, 60030",
"run_list": "role[cluster_a], role[hadoop_worker], role[hbase_regionserver]",
"actions": [
{ "knife_ssh": ["role:hadoop_master", "sudo chef-client"] },
{ "http_request": "http://${hadoop-master}:50070/index.jsp" }
]
}
}
Use a tool
Usage
● Jevons Paradox
● Plenty of waste possible as well - will developers always
destroy a machine when they are done with it?
● Important to show what projects and groups are
consuming resources as well as how they are using
those resources
Commodity Storage
● Commodity storage - this is dev/test environment - high
performance, resilient storage isn't needed.
● Local storage tends to be the best mix of cheap and
performant
● No failover, but it's dev/test - do you need it?
Commodity Networking
● Layer 3 isolation - (aka Security Groups)
● VLANs - (not as commodity, but still relatively cheap on
a small scale, but not at a large scale)
● Virtual routers (provide DHCP, DNS, LB, Firewall, PF,
NAT, etc)
Commodity Hypervisor
● KVM is my personal choice in this space.
● Easiest to consume - completely open source
Limiting Resources
● Limit the number of VMs, snapshots, IP addresses, etc.
● Use 'projects' to share resources
● This means most folks will never have problems, but
heaviest users will not be able to interrupt service for
others.
Questions
Resources
●
http://cloudstack.apache.org
●
#cloudstack on irc.freenode.net
●
http://cloudstack.apache.org/docs

More Related Content

What's hot (19)

PPTX
Event-driven IO server-side JavaScript environment based on V8 Engine
Ricardo Silva
 
PPTX
Ansible for large scale deployment
Karthik .P.R
 
PDF
Fact-Based Monitoring - PuppetConf 2014
Puppet
 
PPT
Drupal and Elasticsearch
Nikolay Ignatov
 
PDF
Carlos Conde : AWS Game Days - TIAD Paris
The Incredible Automation Day
 
PPTX
Kenshoo - Use Hadoop, One Week, No Coding
MapR Technologies
 
PDF
Node.js 與 google cloud storage
onlinemad
 
PDF
Modern Cassandra for Developers
Jeremy Hanna
 
ODP
Puppetconf 2013: Razor - provision like a boss
lutter
 
PPTX
Automation with Packer and TerraForm
Wesley Charles Blake
 
PDF
Saltstack - Orchestration & Application Deployment
inovex GmbH
 
ODP
Using Ansible at Scale to Manage a Public Cloud
Jesse Keating
 
PPTX
A journey-to-a-button
NawAwn
 
PDF
Drupal Big Data
Le Thanh Sang
 
PDF
Terraform, Ansible, or pure CloudFormation?
geekQ
 
PDF
Background processing
Kerry Buckley
 
PPTX
Hands on Performance Tuning - Mike Croft
JAXLondon2014
 
PPTX
Hands-on Performance Workshop - The science of performance
C2B2 Consulting
 
PPTX
Aymeric Weinbach - IoT et Azure - Global Azure Bootcamp 2016 Paris
AZUG FR
 
Event-driven IO server-side JavaScript environment based on V8 Engine
Ricardo Silva
 
Ansible for large scale deployment
Karthik .P.R
 
Fact-Based Monitoring - PuppetConf 2014
Puppet
 
Drupal and Elasticsearch
Nikolay Ignatov
 
Carlos Conde : AWS Game Days - TIAD Paris
The Incredible Automation Day
 
Kenshoo - Use Hadoop, One Week, No Coding
MapR Technologies
 
Node.js 與 google cloud storage
onlinemad
 
Modern Cassandra for Developers
Jeremy Hanna
 
Puppetconf 2013: Razor - provision like a boss
lutter
 
Automation with Packer and TerraForm
Wesley Charles Blake
 
Saltstack - Orchestration & Application Deployment
inovex GmbH
 
Using Ansible at Scale to Manage a Public Cloud
Jesse Keating
 
A journey-to-a-button
NawAwn
 
Drupal Big Data
Le Thanh Sang
 
Terraform, Ansible, or pure CloudFormation?
geekQ
 
Background processing
Kerry Buckley
 
Hands on Performance Tuning - Mike Croft
JAXLondon2014
 
Hands-on Performance Workshop - The science of performance
C2B2 Consulting
 
Aymeric Weinbach - IoT et Azure - Global Azure Bootcamp 2016 Paris
AZUG FR
 

Viewers also liked (6)

PPTX
Dev/Test in the Cloud - F
Chris Riley ☁
 
PPTX
Stephane Lapointe: L’expérience DEVTEST
MSDEVMTL
 
PPTX
Infragistics uses DevOps to increase customer engagment
Chris Riley ☁
 
PDF
14.05.08 cloud dev_ops_working_group_update
kevin_donovan
 
PDF
RHTE 2016 - Get your App Dev on in the Cloud
Eric D. Schabell
 
PPTX
Gestão Eficaz do Tempo
Gerisval Pessoa
 
Dev/Test in the Cloud - F
Chris Riley ☁
 
Stephane Lapointe: L’expérience DEVTEST
MSDEVMTL
 
Infragistics uses DevOps to increase customer engagment
Chris Riley ☁
 
14.05.08 cloud dev_ops_working_group_update
kevin_donovan
 
RHTE 2016 - Get your App Dev on in the Cloud
Eric D. Schabell
 
Gestão Eficaz do Tempo
Gerisval Pessoa
 
Ad

Similar to Building a Dev/Test Cloud with Apache CloudStack (20)

ODP
Building a Dev/Test Cloud with Apache CloudStack
ke4qqq
 
ODP
Puppet and Apache CloudStack
Puppet
 
PPT
Introduction to Apache CloudStack by David Nalley
buildacloud
 
ODP
Puppetpreso
ke4qqq
 
ODP
Puppet and Apache CloudStack
Puppet
 
ODP
Infrastructure as code with Puppet and Apache CloudStack
ke4qqq
 
PPTX
DR_PRESENT 1
Ahmed Salman
 
PPTX
Getting Started with Apache CloudStack
Joe Brockmeier
 
PPTX
Sergey Dzyuban "To Build My Own Cloud with Blackjack…"
Fwdays
 
PDF
Txlf2012
Joe Brockmeier
 
PDF
Hadoop Summit San Jose 2015: What it Takes to Run Hadoop at Scale Yahoo Persp...
Sumeet Singh
 
PDF
On CloudStack, Docker, Kubernetes, and Big Data…Oh my ! By Sebastien Goasguen...
Radhika Puthiyetath
 
PDF
Infrastructure as code with Puppet and Apache CloudStack
ke4qqq
 
PDF
ApacheCloudStack
Puppet
 
PDF
Hadoop Operations for Production Systems (Strata NYC)
Kathleen Ting
 
ODP
Puppet and CloudStack
ke4qqq
 
PDF
Confoo - DevOps & Agile Infrastructure
Will Stevens
 
PPTX
What it takes to run Hadoop at Scale: Yahoo! Perspectives
DataWorks Summit
 
PPTX
Configuring Your First Hadoop Cluster On EC2
benjaminwootton
 
PDF
Inside the Hadoop Machine @ VMworld
Richard McDougall
 
Building a Dev/Test Cloud with Apache CloudStack
ke4qqq
 
Puppet and Apache CloudStack
Puppet
 
Introduction to Apache CloudStack by David Nalley
buildacloud
 
Puppetpreso
ke4qqq
 
Puppet and Apache CloudStack
Puppet
 
Infrastructure as code with Puppet and Apache CloudStack
ke4qqq
 
DR_PRESENT 1
Ahmed Salman
 
Getting Started with Apache CloudStack
Joe Brockmeier
 
Sergey Dzyuban "To Build My Own Cloud with Blackjack…"
Fwdays
 
Txlf2012
Joe Brockmeier
 
Hadoop Summit San Jose 2015: What it Takes to Run Hadoop at Scale Yahoo Persp...
Sumeet Singh
 
On CloudStack, Docker, Kubernetes, and Big Data…Oh my ! By Sebastien Goasguen...
Radhika Puthiyetath
 
Infrastructure as code with Puppet and Apache CloudStack
ke4qqq
 
ApacheCloudStack
Puppet
 
Hadoop Operations for Production Systems (Strata NYC)
Kathleen Ting
 
Puppet and CloudStack
ke4qqq
 
Confoo - DevOps & Agile Infrastructure
Will Stevens
 
What it takes to run Hadoop at Scale: Yahoo! Perspectives
DataWorks Summit
 
Configuring Your First Hadoop Cluster On EC2
benjaminwootton
 
Inside the Hadoop Machine @ VMworld
Richard McDougall
 
Ad

More from ke4qqq (14)

PPTX
The Tragedy of Open Source
ke4qqq
 
PPT
On-demand Continuous Integration with Jenkins, jclouds, and CloudStack
ke4qqq
 
PPTX
Cloud Innovation and Risks
ke4qqq
 
PPTX
Understanding the CloudStack Release Process
ke4qqq
 
PPTX
ApacheConEU Keynote: What is the value of the Apache Software Foundation
ke4qqq
 
PDF
Ceph and Apache CloudStack
ke4qqq
 
PDF
It's not tools, Stupid
ke4qqq
 
PDF
DevOps, Cloud, and the Death of Backup Tape Changers
ke4qqq
 
PPT
10 Minute Overview of Apache CloudStack
ke4qqq
 
PPT
CloudStack Intro NYC
ke4qqq
 
PDF
CloudStack - LinuxFest NorthWest
ke4qqq
 
ODP
Build a Cloud Day - CloudStack
ke4qqq
 
ODP
Build a Cloud Day - CloudStack
ke4qqq
 
PPTX
Successfully deploy build manage your cloud with cloud stack2
ke4qqq
 
The Tragedy of Open Source
ke4qqq
 
On-demand Continuous Integration with Jenkins, jclouds, and CloudStack
ke4qqq
 
Cloud Innovation and Risks
ke4qqq
 
Understanding the CloudStack Release Process
ke4qqq
 
ApacheConEU Keynote: What is the value of the Apache Software Foundation
ke4qqq
 
Ceph and Apache CloudStack
ke4qqq
 
It's not tools, Stupid
ke4qqq
 
DevOps, Cloud, and the Death of Backup Tape Changers
ke4qqq
 
10 Minute Overview of Apache CloudStack
ke4qqq
 
CloudStack Intro NYC
ke4qqq
 
CloudStack - LinuxFest NorthWest
ke4qqq
 
Build a Cloud Day - CloudStack
ke4qqq
 
Build a Cloud Day - CloudStack
ke4qqq
 
Successfully deploy build manage your cloud with cloud stack2
ke4qqq
 

Recently uploaded (20)

PDF
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
PDF
Redefining Work in the Age of AI - What to expect? How to prepare? Why it mat...
Malinda Kapuruge
 
PDF
Plugging AI into everything: Model Context Protocol Simplified.pdf
Abati Adewale
 
PPTX
Smarter Governance with AI: What Every Board Needs to Know
OnBoard
 
PDF
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Priyanka Aash
 
PPTX
Practical Applications of AI in Local Government
OnBoard
 
PDF
FME as an Orchestration Tool with Principles From Data Gravity
Safe Software
 
PPTX
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
PDF
ArcGIS Utility Network Migration - The Hunter Water Story
Safe Software
 
PDF
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
PDF
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
DOCX
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
5 Things to Consider When Deploying AI in Your Enterprise
Safe Software
 
PDF
Kubernetes - Architecture & Components.pdf
geethak285
 
PPTX
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 
PDF
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
PPTX
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
PDF
Database Benchmarking for Performance Masterclass: Session 1 - Benchmarking F...
ScyllaDB
 
PPTX
UserCon Belgium: Honey, VMware increased my bill
stijn40
 
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
Redefining Work in the Age of AI - What to expect? How to prepare? Why it mat...
Malinda Kapuruge
 
Plugging AI into everything: Model Context Protocol Simplified.pdf
Abati Adewale
 
Smarter Governance with AI: What Every Board Needs to Know
OnBoard
 
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Priyanka Aash
 
Practical Applications of AI in Local Government
OnBoard
 
FME as an Orchestration Tool with Principles From Data Gravity
Safe Software
 
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
ArcGIS Utility Network Migration - The Hunter Water Story
Safe Software
 
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
5 Things to Consider When Deploying AI in Your Enterprise
Safe Software
 
Kubernetes - Architecture & Components.pdf
geethak285
 
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
Database Benchmarking for Performance Masterclass: Session 1 - Benchmarking F...
ScyllaDB
 
UserCon Belgium: Honey, VMware increased my bill
stijn40
 

Building a Dev/Test Cloud with Apache CloudStack

  • 1. Building a Dev/Test cloud with Apache CloudStack David Nalley PMC Member Apache CloudStack Member, Apache Software Foundation [email protected] Twitter: @ke4qqq
  • 2. #whoami • Apache Software Foundation Member • Apache CloudStack PMC Member • Recovering Sysadmin • Fedora Project Contributor • Zenoss contributor • Employed by Citrix in the Open Source Business Office
  • 3. Why use cloud? From a dev point of view the process looks like: • Start new project • File ticket for resources....wait....wait....wait • Get resources, that aren't configured....wait... • Get network access.....get permission....wait • Get things done.
  • 4. Why use cloud? • What IT Ops provides is not what developers want.
  • 5. Get rid of the waiting! ● Remove constraints - developers empowered to get things done. ● Agility ● Enforce automated process instead of manual ones
  • 6. What does a dev/test cloud look like? ● Self-service - developers can provision their own environments ● Usage measurement - we worry about VM sprawl ● Isolated networks - must not let dev/test interfere with the real world. ● Commodity - as cheap as practical ● May also house production workloads
  • 7. Self service ● Provisioning manually doesn't add value ● Can be completely automated ● Do they need full control or just pushing pre-configured environments?
  • 10. API or Command-line � cloudmonkey> deploy virtualmachine serviceofferingid=d8611d07-acf5-4cd4-a630-5c4d937ef043 templateid=081358ff-2427-44f8-adcc-1bb002fab361 zoneid=d06193b2-7980-4ad1-bd8-7b2f2eda63c3 curl 'http://localhost:8096/client/api? command=listUsers'
  • 12. { "name": "hadoop_cluster_a", "description": "A small hadoop cluster with hbase", "version": "1.0", "environment": "production", "servers": [ { "name": "zookeeper-a, zookeeper-b, zookeeper-c", "description": "Zookeeper nodes", "template": "rhel-5.6-base", "service": "small", "port_rules": "2181", "run_list": "role[cluster_a], role[zookeeper_server]", "actions": [ { "knife_ssh": ["role:zookeeper_server", "sudo chef-client"] } ] }, { "name": "hadoop-master", "description": "Hadoop master node", "template": "rhel-5.6-base", "service": "large", "networks": "app-net, storage-net", "port_rules": "50070, 50030, 60010", "run_list": "role[cluster_a], role[hadoop_master], role[hbase_master]" }, { "name": "hadoop-worker-a hadoop-worker-b hadoop-worker-c", "description": "Hadoop worker nodes", "template": "rhel-5.6-base", "service": "medium", "port_rules": "50075, 50060, 60030", "run_list": "role[cluster_a], role[hadoop_worker], role[hbase_regionserver]", "actions": [ { "knife_ssh": ["role:hadoop_master", "sudo chef-client"] }, { "http_request": "http://${hadoop-master}:50070/index.jsp" } ] } }
  • 14. Usage ● Jevons Paradox ● Plenty of waste possible as well - will developers always destroy a machine when they are done with it? ● Important to show what projects and groups are consuming resources as well as how they are using those resources
  • 15. Commodity Storage ● Commodity storage - this is dev/test environment - high performance, resilient storage isn't needed. ● Local storage tends to be the best mix of cheap and performant ● No failover, but it's dev/test - do you need it?
  • 16. Commodity Networking ● Layer 3 isolation - (aka Security Groups) ● VLANs - (not as commodity, but still relatively cheap on a small scale, but not at a large scale) ● Virtual routers (provide DHCP, DNS, LB, Firewall, PF, NAT, etc)
  • 17. Commodity Hypervisor ● KVM is my personal choice in this space. ● Easiest to consume - completely open source
  • 18. Limiting Resources ● Limit the number of VMs, snapshots, IP addresses, etc. ● Use 'projects' to share resources ● This means most folks will never have problems, but heaviest users will not be able to interrupt service for others.