Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

Introduction to Apache CloudStack by David Nalley

1.455 visualizaciones

Publicado el

Apache CloudStack is a mature, easy to deploy IaaS platform. That doesn't mean that it can be done without thought or preparation. Learn how CloudStack can be most efficiently deployed, and the problems to avoid in the process.

About David Nalley

David is a recovering sysadmin with a decade of experience. He’s a committer on the Apache CloudStack (incubating) project, a contributor to the Fedora Project and the Vice President of Infrastructure at the Apache Software Foundation.

Publicado en: Software
  • Sé el primero en comentar

Introduction to Apache CloudStack by David Nalley

  1. 1. Introduction to Apache CloudStack David Nalley @ke4qqq ke4qqq@apache.org
  2. 2. #whoami Recovering sysadmin Apache CloudStack and Apache jclouds Work for Citrix Open Source Business Office VP Infra, Apache Software Foundation Intro to Apache CloudStack
  3. 3. Questions Intro to Apache CloudStack
  4. 4. A brief history of CloudStack 2008-2010 – Stealth mode startup (VMOps) 2009 – First production in public cloud 2010 – Released as open source (GPLv3) 2011 – Cloud.com acquired by Citrix 2012 – Transferred to the ASF (ASLv2) 2013 – Graduated as TLP Intro to Apache CloudStack
  5. 5. Cloud Infrastructure as a Service • Compute, Network, Storage Cloud requires: • On-demand • Self-service • Scalable • Measurable Intro to Apache CloudStack
  6. 6. What is CloudStack Orchestration platform for Infrastructure as a Service Focused heavily on compute Somewhat monolithic – by design Written in Java Intro to Apache CloudStack
  7. 7. Where do we dive in? Intro to Apache CloudStack
  8. 8. IaaS is Orchestration IaaS doesn’t really provide new services, it orchestrates existing services •Hypervisors •Storage •Network •Isolation •Accounting Intro to Apache CloudStack
  9. 9. CloudStack Hypervisor Support KVM XenServer VMware vSphere Hyper-V Oracle VM (reappearing in 4.5) LXC Baremetal Intro to Apache CloudStack
  10. 10. CloudStack Storage - Primary Local NFS iSCSI Distributed (GlusterFS, Ceph, etc) $anything_hypervisor_supports Intro to Apache CloudStack
  11. 11. CloudStack Storage - Secondary NFS Object Storage (S3 or Swift API) Intro to Apache CloudStack
  12. 12. Networking The bane of any cloud operators existence Intro to Apache CloudStack
  13. 13. Networking - Challenges Network guys are luddites (generally) We have scale issues Intro to Apache CloudStack
  14. 14. Scale VLANs – don’t scale Firewalls – don’t scale Loadbalancers – don’t scale Intro to Apache CloudStack
  15. 15. How we scale the network Amazon’s Security Groups In CloudStack we reuse the Security Groups terminology. SDN The interesting pieces aren’t in Layer 2-3, but 4-7, and still being developed. Intro to Apache CloudStack
  16. 16. Resources, hierarchy, failure domains Regions Zones (DCs) Pods Clusters Machines Intro to Apache CloudStack
  17. 17. Actual use UI is beautiful …..but….. API is where real people do work. Intro to Apache CloudStack
  18. 18. API Native CloudStack API http://cloudstack.apache.org/docs/api/ EC2, GCE APIs https://github.com/imduffy15/ec2stack https://github.com/NOPping/gstack Intro to Apache CloudStack
  19. 19. API Use an abstraction library (jclouds, fog, libcloud) Use tools that use abstraction libraries (knife-cloudstack, Intro to Apache CloudStack
  20. 20. Stop thinking of VMs { "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" } ] } ] }
  21. 21. { "name": "hadoop_cluster_a", "description": "A small hadoop cluster with hbase", "version": "1.0", "environment": "production",
  22. 22. "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"] } ] },
  23. 23. { "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]" },
  24. 24. { "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" } ]
  25. 25. knife cs stack create hadoop_cluster_a
  26. 26. Prereqs Configuration management Automated provisioning Monitoring Intro to Apache CloudStack
  27. 27. Jevon’s Paradox Intro to Apache CloudStack
  28. 28. Rants Portability is a red herring – Config Management is a prereq Portability is pointless – moving data is the problem Scale is hard – expect to iterate, a lot. Failure is even harder – fail proactively Intro to Apache CloudStack
  29. 29. Next gen predictions Lots of people need IaaS Many people need workload orchestration (Kubernetes, Apache Mesos, etc) Intro to Apache CloudStack
  30. 30. Questions Intro to Apache CloudStack
  31. 31. Get Involved Web: http://cloudstack.apache.org/ Mailing Lists: cloudstack.apache.org/mailing-lists.html IRC: irc.freenode.net: 6667 #cloudstack Twitter: @cloudstack LinkedIn: www.linkedin.com/groups/CloudStack-Users-Group-3144859 If it didn’t happen on the mailing list, it didn’t happen. Intro to Apache CloudStack

×