ApplicationsTargetingOpenStackMultiple paths to deployingapplications on OpenStackclouds.Horizon, Chef & enStratus
Dell, Opscode & enStratus           OpenStack Conference, Spring 2012Rob Hirschfeld        @zehicle        http://robhirsc...
Dell, Opscode & enStratus                            OpenStack Conference, Spring 2012“Deploy Stuff on OpenStack” There a...
Dell, Opscode & enStratus                               OpenStack Conference, Spring 2012Real Work / Real Tools OpenStack...
Dell, Opscode & enStratus               OpenStack Conference, Spring 2012Architecture
Dell, Opscode & enStratus                                                                                      OpenStack C...
Dell, Opscode & enStratus                                    OpenStack Conference, Spring 2012Today’s Focus Areas         ...
Dell, Opscode & enStratus                                OpenStack Conference, Spring 2012One Cloud: Multiple Views  Audie...
Dell, Opscode & enStratus                         OpenStack Conference, Spring 2012Starting Point:A Reference Deploy Dell...
Dell, Opscode & enStratus                                         OpenStack Conference, Spring 2012OpenStack InstallerCrow...
Dell, Opscode & enStratus                                                                OpenStack Conference, Spring 2012...
enStratus  ServerChef Server(via Crowbar)  Horizon                     Management UIs(Dashboard) NovaController           ...
Dell, Opscode & enStratus                             OpenStack Conference, Spring 2012OpenStack Dashboard Users      & T...
Dell, Opscode & enStratusOpenStack Conference, Spring 2012
Dell, Opscode & enStratusOpenStack Conference, Spring 2012
Dell, Opscode & enStratusOpenStack Conference, Spring 2012
Dell, Opscode & enStratusOpenStack Conference, Spring 2012
Dell, Opscode & enStratusOpenStack Conference, Spring 2012
Dell, Opscode & enStratusOpenStack Conference, Spring 2012
Dell, Opscode & enStratus         OpenStack Conference, Spring 2012DevOps
Dell, Opscode & enStratus                             OpenStack Conference, Spring 2012Infrastructure as Code Programmati...
Dell, Opscode & enStratus                                 OpenStack Conference, Spring 2012Chef Resources    represent in...
Dell, Opscode & enStratus                           OpenStack Conference, Spring 2012So you have a Cloud...        Let’s p...
Dell, Opscode & enStratus                     OpenStack Conference, Spring 2012Let’s talk to APIs            Knife
Dell, Opscode & enStratus                                          OpenStack Conference, Spring 2012knife openstackAvailab...
Dell, Opscode & enStratus                                           OpenStack Conference, Spring 2012knife openstack flavo...
Dell, Opscode & enStratus                                            OpenStack Conference, Spring 2012knife openstack imag...
Dell, Opscode & enStratus                                                  OpenStack Conference, Spring 2012knife openstac...
Dell, Opscode & enStratus                                                          OpenStack Conference, Spring 2012 knife...
Dell, Opscode & enStratus                                                                            OpenStack Conference,...
Dell, Opscode & enStratus                               OpenStack Conference, Spring 2012Build & Manage Anything Linux, W...
Dell, Opscode & enStratus                      OpenStack Conference, Spring 2012Infrastructure Portability knife-ec2 kni...
Dell, Opscode & enStratusOpenStack Conference, Spring 2012
Dell, Opscode & enStratus                                 OpenStack Conference, Spring 2012Application Portal   On-Premis...
Dell, Opscode & enStratus                   OpenStack Conference, Spring 2012Cloud Management
Dell, Opscode & enStratus                                   OpenStack Conference, Spring 2012Application Automation   Mul...
Dell, Opscode & enStratus                            OpenStack Conference, Spring 2012Conclusion There are many correct w...
Dell, Opscode & enStratus           OpenStack Conference, Spring 2012Rob Hirschfeld        @zehicle        http://robhirsc...
Upcoming SlideShare
Loading in …5
×

Open stack design 2012 applications targeting openstack-final

4,933 views
4,780 views

Published on

Published in: Technology
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,933
On SlideShare
0
From Embeds
0
Number of Embeds
1,761
Actions
Shares
0
Downloads
209
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide

Open stack design 2012 applications targeting openstack-final

  1. 1. ApplicationsTargetingOpenStackMultiple paths to deployingapplications on OpenStackclouds.Horizon, Chef & enStratus
  2. 2. Dell, Opscode & enStratus OpenStack Conference, Spring 2012Rob Hirschfeld @zehicle http://robhirschfeld.com rob_hirschfeld@dell.comMatt Ray @mattray http://leastresistance.net matt@opscode.comKeith Hudgins @keithhudgins http://cloudmess.com keith.hudgins@enstratus.com
  3. 3. Dell, Opscode & enStratus OpenStack Conference, Spring 2012“Deploy Stuff on OpenStack” There are multiple right ways to leverage cloud resources. Our objective is to show you different options to leverage OpenStack Each has benefits and limitations All methods can co-exist! We want to SHOW you
  4. 4. Dell, Opscode & enStratus OpenStack Conference, Spring 2012Real Work / Real Tools OpenStack is ready to rock Having the right tools helps  Shorten time to value  Improve consistency  Work with your strengths Reference deployment is important
  5. 5. Dell, Opscode & enStratus OpenStack Conference, Spring 2012Architecture
  6. 6. Dell, Opscode & enStratus OpenStack Conference, Spring 2012 TaxonomyAPI Clients Cloud Dashboard DevOps Tools Application Management Ecosystem (Horizon) Opscode Chef enStratus OpenStack Cloud APIs Crowbar Operations Compute Mgmt Required (Nova) Ops Infrastructure Services Auth Images Object RabbitMQ (Keystone) (Glance) (Swift) Ganglia mySQL Hypervisors Nagios (KVM) DNS/NTP Operating Systems (Ubuntu 12.04) Chef Physical Infrastructure (Dell PowerEdge C6220, R620/720xd) Key: Crowbar Installed OpenStack Components Ecosystem
  7. 7. Dell, Opscode & enStratus OpenStack Conference, Spring 2012Today’s Focus Areas Dashboard DevOps Tools Application Management (Horizon) Opscode Chef enStratus OpenStack Cloud APIs CrowbarOperations Mgmt Chef
  8. 8. Dell, Opscode & enStratus OpenStack Conference, Spring 2012One Cloud: Multiple Views Audience View / Tool Culture Proof of OpenStack Exploration & Concept Horizon Self-Service “Dashboard” Developers & Opscode DevOps & Operations Chef Continuous Deploy CIO & enStratus Imaged Based Enterprise IT GUI Mgmt
  9. 9. Dell, Opscode & enStratus OpenStack Conference, Spring 2012Starting Point:A Reference Deploy Dell’sopen source Crowbar project lays down a consistent reference deployment Includes & integrates Nova, Keystone, Glance, Dashboard and Swift. Important to have a repeatable deployments because consistent & describable implementation matters Demo starts with OpenStack already deployed (Crowbar uses Chef)
  10. 10. Dell, Opscode & enStratus OpenStack Conference, Spring 2012OpenStack InstallerCrowbar Project Field Tested  Raw servers to full cloud in <2 hours  Multi-Node from the ground up  Hardened with a year of real deployments Apache 2 Open Source (on github)  Dell area of contribution to OpenStack  Multi-OS: Ubuntu, RHEL, CentOS, SUSE  Development “in the open” w/ community engagement OpenStack Releases (dell.com/OpenStack)  Cactus: delivered full bare metal deploys  Diablo: added Keystone & Dashboard  Essex: in Beta – we welcome collaboration!
  11. 11. Dell, Opscode & enStratus OpenStack Conference, Spring 2012 Setup of OpenStack Orchestration State OpenStack ComponentsOps Management Machine Dell “Crowbar” Crowbar Magic Happens! Run List Network Configuration Chef Server Operating System Config. Hardware Config (uses “Sledgehammer”) DHCP Server(s)
  12. 12. enStratus ServerChef Server(via Crowbar) Horizon Management UIs(Dashboard) NovaController Demo Environment Nova VM VM Compute Nova VM VM Compute Nova VM VM OpenStack Conference, Spring 2012 Dell, Opscode & enStratus Compute
  13. 13. Dell, Opscode & enStratus OpenStack Conference, Spring 2012OpenStack Dashboard Users & Tenants Images  Available Images  Uploading to Glance Quotas IPPools SSH Key Access to a VM
  14. 14. Dell, Opscode & enStratusOpenStack Conference, Spring 2012
  15. 15. Dell, Opscode & enStratusOpenStack Conference, Spring 2012
  16. 16. Dell, Opscode & enStratusOpenStack Conference, Spring 2012
  17. 17. Dell, Opscode & enStratusOpenStack Conference, Spring 2012
  18. 18. Dell, Opscode & enStratusOpenStack Conference, Spring 2012
  19. 19. Dell, Opscode & enStratusOpenStack Conference, Spring 2012
  20. 20. Dell, Opscode & enStratus OpenStack Conference, Spring 2012DevOps
  21. 21. Dell, Opscode & enStratus OpenStack Conference, Spring 2012Infrastructure as Code Programmatically provision and configure your infrastructure Treat it like any other code base  Track changes  Versioned  Branches Reconstruct your business from a code repository, data backups, and bare metal resources.
  22. 22. Dell, Opscode & enStratus OpenStack Conference, Spring 2012Chef Resources represent infrastructure actions  Packages, files, services, users, etc. Recipes are the execution of Resources  Explicit order of deployment Cookbooks contain Recipes and support  Versioned and shared Nodes have a run list of recipes & attributes
  23. 23. Dell, Opscode & enStratus OpenStack Conference, Spring 2012So you have a Cloud... Let’s put something on it!
  24. 24. Dell, Opscode & enStratus OpenStack Conference, Spring 2012Let’s talk to APIs Knife
  25. 25. Dell, Opscode & enStratus OpenStack Conference, Spring 2012knife openstackAvailable openstack subcommands: (for details, knife SUB-COMMAND - -help)** OPENSTACK COMMANDS **knife openstack flavor list (options)knife openstack image list (options)knife openstack server create (options)knife openstack server delete SERVER [SERVER] (options)knife openstack server list (options)
  26. 26. Dell, Opscode & enStratus OpenStack Conference, Spring 2012knife openstack flavor listID Name Virtual CPUs RAM Disk1 m1.tiny 1 512 MB 0 GB2 m1.small 1 2048 MB 20 GB3 m1.medium 2 4096 MB 40 GB4 m1.large 4 8192 MB 80 GB5 m1.xlarge 8 16384 MB 160 GB
  27. 27. Dell, Opscode & enStratus OpenStack Conference, Spring 2012knife openstack image listID Name13 natty-server-cloudimg-amd6412 natty-server-cloudimg-amd64-kernel15 oneiric-server-cloudimg-amd6414 oneiric-server-cloudimg-amd64-kernel
  28. 28. Dell, Opscode & enStratus OpenStack Conference, Spring 2012knife openstack server createknife openstack server create -N k3 -f 2 -I 15 -S keyInstance ID: 1207Instance Name: k3Flavor: 2Image: 15SSH Keypair: keyWaiting for server........................Public IP Address: 8.21.28.53Private IP Address: 8.21.28.53Waiting for sshd..doneBootstrapping Chef on 8.21.28.53
  29. 29. Dell, Opscode & enStratus OpenStack Conference, Spring 2012 knife openstack server listInstance ID Name Public IP Private IP Flavor Image Keypair State1205 k1 8.21.28.51 8.21.28.51 1 13 key active1206 k2 8.21.28.52 8.21.28.52 1 13 key active1206 k3 8.21.28.53 8.21.28.53 2 15 key active
  30. 30. Dell, Opscode & enStratus OpenStack Conference, Spring 2012 ssh -i ~/.ssh/key.pem ubuntu@8.21.28.53Welcome to Ubuntu 11.04 (GNU/Linux 2.6.38-13-virtual x86_64)* Documentation: https://help.ubuntu.com/ System information as of Thu April 19 13:43:29 UTC 2012 System load: 0.08 Processes: 63 Usage of /: 40.8% of 1.35GB Users logged in: 0 Memory usage: 6% IP address for eth0: 8.21.28.53 Swap usage: 0%---------------------------------------------------------------------<snip>Get cloud support with Ubuntu Advantage Cloud Guest http://www.ubuntu.com/business/services/cloudThe programs included with the Ubuntu system are free software;the exact distribution terms for each program are described in theindividual files in /usr/share/doc/*/copyright.Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted byapplicable law.To run a command as administrator (user "root"), use "sudo <command>".See "man sudo_root" for details.ubuntu@k3:~$
  31. 31. Dell, Opscode & enStratus OpenStack Conference, Spring 2012Build & Manage Anything Linux, Windows, Solaris, OSX, BSDs Servers, workstations, clusters IaaS infrastructure PaaS infrastructure SaaS applications Storage systems
  32. 32. Dell, Opscode & enStratus OpenStack Conference, Spring 2012Infrastructure Portability knife-ec2 knife-hp knife-rackspace knife-openstack (and many more)
  33. 33. Dell, Opscode & enStratusOpenStack Conference, Spring 2012
  34. 34. Dell, Opscode & enStratus OpenStack Conference, Spring 2012Application Portal On-Premise private/hybrid cloud management Business-driven controls Application-based management and automation True governance for your cloud
  35. 35. Dell, Opscode & enStratus OpenStack Conference, Spring 2012Cloud Management
  36. 36. Dell, Opscode & enStratus OpenStack Conference, Spring 2012Application Automation Multi-tiered architecture management Use your own config management Load-based or custom scaling controls Multi-region and multi-cloud architectures
  37. 37. Dell, Opscode & enStratus OpenStack Conference, Spring 2012Conclusion There are many correct ways to access OpenStack capability Choose the tools that work best for your users You do not have to pick one, they will work together
  38. 38. Dell, Opscode & enStratus OpenStack Conference, Spring 2012Rob Hirschfeld @zehicle http://robhirschfeld.com rob_hirschfeld@dell.comMatt Ray @mattray http://leastresistance.net matt@opscode.comKeith Hudgins @keithhudgins http://cloudmess.com keith.hudgins@enstratus.com

×