SlideShare a Scribd company logo
Building a Test/Dev Cloud with
Apache CloudStack
David Nalley
ke4qqq@apache.org
@ke4qqq
#whoami
● Sysadmin of a decade
● Apache Software Foundation Member
● Apache CloudStack Committer & PMC Member
● Fedora Project Contributor
● Employed by Citrix in the Open Source Business Office
Why use cloud?
From a dev POV the process normally 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 Operations provides is not what a developer wants.
Get rid of the waiting
● Remove the 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 Commandline?
� 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-mgmt based 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 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
● http://cloudstack.jp
● #cloudstack on irc.freenode.net
● Mailing lists/google group
Building a Dev/Test Cloud with Apache CloudStack

More Related Content

PPT
On-demand Continuous Integration with Jenkins, jclouds, and CloudStack
ODP
Puppetpreso
PDF
Bacd zenoss
PPTX
Successfully deploy build manage your cloud with cloud stack2
PDF
Managing Ceph operational complexity with Juju
PDF
Running OpenShift Clusters in a Cloudstack Environment
PDF
Thinking in Terms of a Data Center Operating System
PDF
Sven Vogel: Running CloudStack and OpenShift with NetApp on KVM
On-demand Continuous Integration with Jenkins, jclouds, and CloudStack
Puppetpreso
Bacd zenoss
Successfully deploy build manage your cloud with cloud stack2
Managing Ceph operational complexity with Juju
Running OpenShift Clusters in a Cloudstack Environment
Thinking in Terms of a Data Center Operating System
Sven Vogel: Running CloudStack and OpenShift with NetApp on KVM

What's hot (20)

PPT
CloudStack and BigData
PPTX
Containers and CloudStack
ODP
Guaranteeing Storage Performance by Mike Tutkowski
PDF
The Future of SDN in CloudStack by Chiradeep Vittal
PPTX
Cloudstack: the best kept secret in the cloud
PPTX
Whats New in Apache CloudStack Version 4.5
PDF
CloudStack Hyderabad Meetup: How the Apache community works
PDF
Dag Sonstebo - CloudStack usage service
PDF
On CloudStack, Docker, Kubernetes, and Big Data…Oh my ! By Sebastien Goasguen...
PDF
Running OpenStack in Production
PPTX
Cloudsolutionday 2016: Compliance and cost controlling on AWS
PDF
Apache JClouds
PPTX
Build public private cloud using openstack
PPTX
Cnam azure 2015 storage
PPTX
CloudStack Meetup - Introduction
PPTX
CloudStack challenges for China customers
PDF
Robert Sander: CloudStack and Terraform
PDF
PaaS on top of CloudStack
PPTX
MongoDB in the Clouds
PDF
From metal to service 100% automation with Apache CloudStack and Ansible - ...
CloudStack and BigData
Containers and CloudStack
Guaranteeing Storage Performance by Mike Tutkowski
The Future of SDN in CloudStack by Chiradeep Vittal
Cloudstack: the best kept secret in the cloud
Whats New in Apache CloudStack Version 4.5
CloudStack Hyderabad Meetup: How the Apache community works
Dag Sonstebo - CloudStack usage service
On CloudStack, Docker, Kubernetes, and Big Data…Oh my ! By Sebastien Goasguen...
Running OpenStack in Production
Cloudsolutionday 2016: Compliance and cost controlling on AWS
Apache JClouds
Build public private cloud using openstack
Cnam azure 2015 storage
CloudStack Meetup - Introduction
CloudStack challenges for China customers
Robert Sander: CloudStack and Terraform
PaaS on top of CloudStack
MongoDB in the Clouds
From metal to service 100% automation with Apache CloudStack and Ansible - ...
Ad

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

PDF
Building a Dev/Test Cloud with Apache CloudStack
ODP
Puppet and Apache CloudStack
PPT
Introduction to Apache CloudStack by David Nalley
PPTX
DR_PRESENT 1
PPTX
Sergey Dzyuban "To Build My Own Cloud with Blackjack…"
PPTX
Getting Started with Apache CloudStack
PDF
Hadoop Operations for Production Systems (Strata NYC)
PDF
Hadoop Summit San Jose 2015: What it Takes to Run Hadoop at Scale Yahoo Persp...
PDF
Txlf2012
ODP
Puppet and Apache CloudStack
ODP
Infrastructure as code with Puppet and Apache CloudStack
PPTX
Industrialization, be fast be furious!
PDF
Confoo - DevOps & Agile Infrastructure
PPTX
Configuring Your First Hadoop Cluster On EC2
PPTX
Cloudy with a chance of Hadoop - real world considerations
PPTX
What it takes to run Hadoop at Scale: Yahoo! Perspectives
PDF
2013 05-fite-club-working-models-cloud-growing-up
PDF
Infrastructure as code with Puppet and Apache CloudStack
PDF
ApacheCloudStack
PDF
App cap2956v2-121001194956-phpapp01 (1)
Building a Dev/Test Cloud with Apache CloudStack
Puppet and Apache CloudStack
Introduction to Apache CloudStack by David Nalley
DR_PRESENT 1
Sergey Dzyuban "To Build My Own Cloud with Blackjack…"
Getting Started with Apache CloudStack
Hadoop Operations for Production Systems (Strata NYC)
Hadoop Summit San Jose 2015: What it Takes to Run Hadoop at Scale Yahoo Persp...
Txlf2012
Puppet and Apache CloudStack
Infrastructure as code with Puppet and Apache CloudStack
Industrialization, be fast be furious!
Confoo - DevOps & Agile Infrastructure
Configuring Your First Hadoop Cluster On EC2
Cloudy with a chance of Hadoop - real world considerations
What it takes to run Hadoop at Scale: Yahoo! Perspectives
2013 05-fite-club-working-models-cloud-growing-up
Infrastructure as code with Puppet and Apache CloudStack
ApacheCloudStack
App cap2956v2-121001194956-phpapp01 (1)
Ad

More from ke4qqq (13)

PPTX
The Tragedy of Open Source
PPTX
Cloud Innovation and Risks
PPTX
Understanding the CloudStack Release Process
PPTX
ApacheConEU Keynote: What is the value of the Apache Software Foundation
PDF
Ceph and Apache CloudStack
PDF
It's not tools, Stupid
PDF
DevOps, Cloud, and the Death of Backup Tape Changers
PPT
10 Minute Overview of Apache CloudStack
PPT
CloudStack Intro NYC
ODP
Puppet and CloudStack
PDF
CloudStack - LinuxFest NorthWest
ODP
Build a Cloud Day - CloudStack
ODP
Build a Cloud Day - CloudStack
The Tragedy of Open Source
Cloud Innovation and Risks
Understanding the CloudStack Release Process
ApacheConEU Keynote: What is the value of the Apache Software Foundation
Ceph and Apache CloudStack
It's not tools, Stupid
DevOps, Cloud, and the Death of Backup Tape Changers
10 Minute Overview of Apache CloudStack
CloudStack Intro NYC
Puppet and CloudStack
CloudStack - LinuxFest NorthWest
Build a Cloud Day - CloudStack
Build a Cloud Day - CloudStack

Recently uploaded (20)

PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Encapsulation theory and applications.pdf
PPTX
Tartificialntelligence_presentation.pptx
PPT
Teaching material agriculture food technology
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PPTX
Machine Learning_overview_presentation.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Empathic Computing: Creating Shared Understanding
PPTX
1. Introduction to Computer Programming.pptx
PPTX
Spectroscopy.pptx food analysis technology
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
A Presentation on Artificial Intelligence
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Encapsulation_ Review paper, used for researhc scholars
cloud_computing_Infrastucture_as_cloud_p
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Encapsulation theory and applications.pdf
Tartificialntelligence_presentation.pptx
Teaching material agriculture food technology
Spectral efficient network and resource selection model in 5G networks
Heart disease approach using modified random forest and particle swarm optimi...
Machine Learning_overview_presentation.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Empathic Computing: Creating Shared Understanding
1. Introduction to Computer Programming.pptx
Spectroscopy.pptx food analysis technology
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
A Presentation on Artificial Intelligence
MIND Revenue Release Quarter 2 2025 Press Release
Unlocking AI with Model Context Protocol (MCP)
OMC Textile Division Presentation 2021.pptx
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Programs and apps: productivity, graphics, security and other tools
Encapsulation_ Review paper, used for researhc scholars

Building a Dev/Test Cloud with Apache CloudStack

  • 1. Building a Test/Dev Cloud with Apache CloudStack David Nalley [email protected] @ke4qqq
  • 2. #whoami ● Sysadmin of a decade ● Apache Software Foundation Member ● Apache CloudStack Committer & PMC Member ● Fedora Project Contributor ● Employed by Citrix in the Open Source Business Office
  • 3. Why use cloud? From a dev POV the process normally 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 Operations provides is not what a developer wants.
  • 5. Get rid of the waiting ● Remove the 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?
  • 8. Self-service ● UI? ● API? ● Some external tool?
  • 10. API or Commandline? � 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 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.

Editor's Notes

  • #5: Dev wants to work - IT has process, and tickets, etc.
  • #7: Talk a lot about the general architecture of CloudStack
  • #9: What does self service really mean?
  • #10: IS this really your idea of enabling developers? It might be nice to have, but it shouldn't be the real interface - even with defaults this takes 6 clicks.....which is better than filing a ticket, but doesn't scale.
  • #19: Elasticity is only imagined - look at default limits placed on AWS users.