Your SlideShare is downloading. ×
0
April 2013Considerations	  for	  Building	  a	  Private	  CloudFolsom	  Update	  Ryan	  Richard,	  RHCAOpenStack	  Archite...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMWhy	  Folsom?Monday, April 15, 13
RACKSPACE® HOSTING | WWW.RACKSPACE.COMWhat	  is	  a	  Private	  Cloud?Elastic	  or	  Traditional	  Virtualization	  (hint:...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMBuild	  with	  the	  End	  in	  Mind	  #	  of	  instances	  on	  this	  physical	  h...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMBuild	  with	  the	  End	  in	  Mind	  #	  of	  instances	  on	  this	  physical	  h...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMBuild	  with	  the	  End	  in	  Mind	  #	  of	  instances	  on	  this	  physical	  h...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMCapacity	  ThoughtsDon’t allow disk size of 0Public Cloud: Limit flavors to image siz...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMCapacity	  ThoughtsI can always add more machines....But you can’t change or modify ...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMCapacity	  Thoughts(resource	  /	  resource	  in	  smallest	  flavor)	  =	  maximum	 ...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMBuild	  with	  the	  End	  in	  Mind2	  networks	  (3	  w/	  floating	  IPs)1)	  Host...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMBuild	  with	  the	  End	  in	  Mind2	  networks	  (3	  w/	  floating	  IPs)1)	  Host...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMBuild	  with	  the	  End	  in	  Mind2	  networks	  (3	  w/	  floating	  IPs)1)	  Host...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMBuild	  with	  the	  End	  in	  Mind2	  networks	  (3	  w/	  floating	  IPs)1)	  Host...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMBuild	  with	  the	  End	  in	  Mind2	  networks	  (3	  w/	  floating	  IPs)1)	  Host...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMBuild	  with	  the	  End	  in	  Mind2	  networks	  (3	  w/	  floating	  IPs)1)	  Host...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMBuild	  with	  the	  End	  in	  Mind2	  networks	  (3	  w/	  floating	  IPs)1)	  Host...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMImages	  and	  StorageImagesBuilding images talk tomorrow @1:50 in room C123Format: ...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMImages	  and	  StorageGlanceFile	  backed	  (local)	  Alternatives:	  Swift,	  Cloud...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMImages	  and	  StorageGlance	  PerformanceNetwork	  Throughput:	  1Gbps	  =	  125MBp...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMImages	  and	  StorageGlance	  PerformanceNetwork	  Throughput:	  1Gbps	  =	  125MBp...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMImages	  and	  StorageGlance	  PerformanceNetwork	  Throughput:	  1Gbps	  =	  125MBp...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMImages	  and	  StorageStorage4	  focus	  points:	  Glance,	  Compute	  (local),	  Ci...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMArchitecture	  Examples	  and	  Thoughts1	  -­‐	  20	  physical	  serversSingle	  co...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMArchitecture	  Examples	  and	  Thoughts20-­‐100	  serversHA	  controllers	  and	  l...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMPerformance	  Considerations	  and	  BottlenecksIORandom	  IOReduce	  IO	  per	  ins...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMPerformance	  Considerations	  and	  BottlenecksIORandom	  IOReduce	  IO	  per	  ins...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMLessons	  LearnedLessons	  learnedFloating	  IPs	  MUST	  be	  associated	  with	  t...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMOperational	  Updatesnova	  hypervisor*	  callsImage	  types	  in	  Glancepolicy.jso...
RACKSPACE® HOSTING | WWW.RACKSPACE.COMBut....But	  this	  is	  a	  design	  summit	  alsoOpen	  to	  discussions/thoughts/...
RACKSPACE® HOSTING | 5000 WALZEM ROAD | SAN ANTONIO, TX 78218US SALES: 1-800-961-2888 | US SUPPORT: 1-800-961-4454 | WWW.R...
Upcoming SlideShare
Loading in...5
×

Consideration for Building a Private Cloud

442

Published on

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
442
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
51
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Consideration for Building a Private Cloud"

  1. 1. April 2013Considerations  for  Building  a  Private  CloudFolsom  Update  Ryan  Richard,  RHCAOpenStack  Architect  -­‐  Private  Cloudryan.richard@rackspace.com@rackninjaMonday, April 15, 13
  2. 2. RACKSPACE® HOSTING | WWW.RACKSPACE.COMWhy  Folsom?Monday, April 15, 13
  3. 3. RACKSPACE® HOSTING | WWW.RACKSPACE.COMWhat  is  a  Private  Cloud?Elastic  or  Traditional  Virtualization  (hint:  Pick  One!)Multi-­‐tenant  (Multi-­‐Application)SizePrivate  API  endpointsLimited  inbound  connectivityCustomized  for  specific  workloadsMonday, April 15, 13
  4. 4. RACKSPACE® HOSTING | WWW.RACKSPACE.COMBuild  with  the  End  in  Mind  #  of  instances  on  this  physical  host?Flavor: m1.tinyRam: 512MiBvCPU: 1Disk: 0 (size of image)Total instances:?48vCPU Ram DiskMonday, April 15, 13
  5. 5. RACKSPACE® HOSTING | WWW.RACKSPACE.COMBuild  with  the  End  in  Mind  #  of  instances  on  this  physical  host?Flavor: m1.mediumRam: 4096MiBvCPU: 2Disk: 10GiB + 40GiBTotal instances:24vCPU Ram DiskMonday, April 15, 13
  6. 6. RACKSPACE® HOSTING | WWW.RACKSPACE.COMBuild  with  the  End  in  Mind  #  of  instances  on  this  physical  host?Flavor: ram heavyRam: 64GiBvCPU: 8Disk: 100GiBTotal instances:2vCPU Ram DiskMonday, April 15, 13
  7. 7. RACKSPACE® HOSTING | WWW.RACKSPACE.COMCapacity  ThoughtsDon’t allow disk size of 0Public Cloud: Limit flavors to image sizePrivate Cloud: Can add flavors for specificapplication profilesNetwork UtilizationMonday, April 15, 13
  8. 8. RACKSPACE® HOSTING | WWW.RACKSPACE.COMCapacity  ThoughtsI can always add more machines....But you can’t change or modify the fixednetwork once instances are runningMonday, April 15, 13
  9. 9. RACKSPACE® HOSTING | WWW.RACKSPACE.COMCapacity  Thoughts(resource  /  resource  in  smallest  flavor)  =  maximum  #  of  instances  per  machineFixed  Network  -­‐  Double  or  quadruple  number  of  expected  instancesI can always add more machines....But you can’t change or modify the fixednetwork once instances are runningMonday, April 15, 13
  10. 10. RACKSPACE® HOSTING | WWW.RACKSPACE.COMBuild  with  the  End  in  Mind2  networks  (3  w/  floating  IPs)1)  Host  Network2)  Fixed  Network3)  Floating  networknova-networkMonday, April 15, 13
  11. 11. RACKSPACE® HOSTING | WWW.RACKSPACE.COMBuild  with  the  End  in  Mind2  networks  (3  w/  floating  IPs)1)  Host  Network2)  Fixed  Network3)  Floating  networknova-networkMonday, April 15, 13
  12. 12. RACKSPACE® HOSTING | WWW.RACKSPACE.COMBuild  with  the  End  in  Mind2  networks  (3  w/  floating  IPs)1)  Host  Network2)  Fixed  Network3)  Floating  networkEasy  to  add  physical  nodes  and/or  networksnova-networkMonday, April 15, 13
  13. 13. RACKSPACE® HOSTING | WWW.RACKSPACE.COMBuild  with  the  End  in  Mind2  networks  (3  w/  floating  IPs)1)  Host  Network2)  Fixed  Network3)  Floating  networkEasy  to  add  physical  nodes  and/or  networksnova-networkMonday, April 15, 13
  14. 14. RACKSPACE® HOSTING | WWW.RACKSPACE.COMBuild  with  the  End  in  Mind2  networks  (3  w/  floating  IPs)1)  Host  Network2)  Fixed  Network3)  Floating  networkEasy  to  add  physical  nodes  and/or  networksDon’t  try  to  change  the  fixed  network  once  in  productionnova-networkMonday, April 15, 13
  15. 15. RACKSPACE® HOSTING | WWW.RACKSPACE.COMBuild  with  the  End  in  Mind2  networks  (3  w/  floating  IPs)1)  Host  Network2)  Fixed  Network3)  Floating  networkEasy  to  add  physical  nodes  and/or  networksDon’t  try  to  change  the  fixed  network  once  in  productionnova-networkMonday, April 15, 13
  16. 16. RACKSPACE® HOSTING | WWW.RACKSPACE.COMBuild  with  the  End  in  Mind2  networks  (3  w/  floating  IPs)1)  Host  Network2)  Fixed  Network3)  Floating  networkEasy  to  add  physical  nodes  and/or  networksDon’t  try  to  change  the  fixed  network  once  in  productionEasy  to  add  additional  floating  networksnova-networkMonday, April 15, 13
  17. 17. RACKSPACE® HOSTING | WWW.RACKSPACE.COMImages  and  StorageImagesBuilding images talk tomorrow @1:50 in room C123Format: raw qcow2 vdi ...Container: bare ami bundle ...Cloud tech: cloud-init nonePartitioning: fixed dynamicDrivers: virtio vhost_net xen ...Monday, April 15, 13
  18. 18. RACKSPACE® HOSTING | WWW.RACKSPACE.COMImages  and  StorageGlanceFile  backed  (local)  Alternatives:  Swift,  CloudFiles,  NFS  (locally  mounted)Snapshots?qcow2  format:  “snapshot_image_format=qcow2“Monday, April 15, 13
  19. 19. RACKSPACE® HOSTING | WWW.RACKSPACE.COMImages  and  StorageGlance  PerformanceNetwork  Throughput:  1Gbps  =  125MBps  (expect  ~112MB/s)RAID  5  -­‐  large  sequential  read/writesDisk  Bandwidth  >  IOPSImprove  cache  -­‐  Reduce  #  of  images  Monday, April 15, 13
  20. 20. RACKSPACE® HOSTING | WWW.RACKSPACE.COMImages  and  StorageGlance  PerformanceNetwork  Throughput:  1Gbps  =  125MBps  (expect  ~112MB/s)RAID  5  -­‐  large  sequential  read/writesDisk  Bandwidth  >  IOPSImprove  cache  -­‐  Reduce  #  of  images  Image  Size Not  Cached Cached1.4GB 20secs 1sec16.4GB 2min  21secs 1secMonday, April 15, 13
  21. 21. RACKSPACE® HOSTING | WWW.RACKSPACE.COMImages  and  StorageGlance  PerformanceNetwork  Throughput:  1Gbps  =  125MBps  (expect  ~112MB/s)RAID  5  -­‐  large  sequential  read/writesDisk  Bandwidth  >  IOPSImprove  cache  -­‐  Reduce  #  of  images  Image  Size Not  Cached Cached1.4GB 20secs 1sec16.4GB 2min  21secs 1sec*times  from  “creating  image”  to    “qemu-­‐img  create”Monday, April 15, 13
  22. 22. RACKSPACE® HOSTING | WWW.RACKSPACE.COMImages  and  StorageStorage4  focus  points:  Glance,  Compute  (local),  Cinder,  SwiftGlance  -­‐  Space,  Sequential  read/writeCompute  -­‐  random  IOCinder  -­‐  Performance,  DensitySwift  -­‐  JBOD,  densityMonday, April 15, 13
  23. 23. RACKSPACE® HOSTING | WWW.RACKSPACE.COMArchitecture  Examples  and  Thoughts1  -­‐  20  physical  serversSingle  controllerSingle  API  Single  network  (1Gbps  or  2Gbps)Monday, April 15, 13
  24. 24. RACKSPACE® HOSTING | WWW.RACKSPACE.COMArchitecture  Examples  and  Thoughts20-­‐100  serversHA  controllers  and  load  balanced  APIsSwift/CloudFiles  for  GlanceAvailability  ZonesConsider  “frontend”  and  “backend”  networksCompute  Node  metrics  -­‐  Dedicated  Machine(s)Monday, April 15, 13
  25. 25. RACKSPACE® HOSTING | WWW.RACKSPACE.COMPerformance  Considerations  and  BottlenecksIORandom  IOReduce  IO  per  instanceBlock  Storage!Review  Hypervisor  best  practices  Monday, April 15, 13
  26. 26. RACKSPACE® HOSTING | WWW.RACKSPACE.COMPerformance  Considerations  and  BottlenecksIORandom  IOReduce  IO  per  instanceBlock  Storage!Review  Hypervisor  best  practices  0" 200" 400" 600" 800" 1000" 1200" 1400" 1600"compute/host"compute/host"(no"ht)"compute/host"(deadline)"Rs/speed/test13"(deadline"cache=none)"Rs/speed/test13"(cfq,"cache=none,"no"ht)"Rs/speed/test12"(cfq"cache=none)"Rs/speed/test12"(noop"cache=none)"rs/speed/test13"(cfq,"cache=writeback)"Rs/speed/test13"(noop,"cache=writeback)"rs/speed/test12"(cfq,"host"deadline,"cache=none)"Async&Random&IO&randW"(direct)"randR"(direct)"randW"randR"0"2000"4000"6000"8000"10000"12000"14000"randR" randW" randR"(direct)"randW"(direct)"seqR" seqW" seqR"(direct)"seqw"(direct)"Host&vs.&Instance&compute/host"Rs/speed/test12"(cfq"cache=none)"Monday, April 15, 13
  27. 27. RACKSPACE® HOSTING | WWW.RACKSPACE.COMLessons  LearnedLessons  learnedFloating  IPs  MUST  be  associated  with  the  “public_interface”Each  piece  of  OpenStack  has  its  own  architectureFolsom  is  stable  Migration  (live,  block)  works  but  scenarios  exist  where  it  doesn’tOpenStack  is  still  changing  often,  keep  up  to  date  with  current  state  of  the  projectsDon’t  do  Heterogeneous  NodesMonday, April 15, 13
  28. 28. RACKSPACE® HOSTING | WWW.RACKSPACE.COMOperational  Updatesnova  hypervisor*  callsImage  types  in  Glancepolicy.jsonComing  in  Grizzly:Cells  Quantum  Better  LDAP/AD  supportMonday, April 15, 13
  29. 29. RACKSPACE® HOSTING | WWW.RACKSPACE.COMBut....But  this  is  a  design  summit  alsoOpen  to  discussions/thoughts/questionsMonday, April 15, 13
  30. 30. RACKSPACE® HOSTING | 5000 WALZEM ROAD | SAN ANTONIO, TX 78218US SALES: 1-800-961-2888 | US SUPPORT: 1-800-961-4454 | WWW.RACKSPACE.COMRACKSPACE® HOSTING | © RACKSPACE US, INC. | RACKSPACE® AND FANATICAL SUPPORT® ARE SERVICE MARKS OF RACKSPACE US, INC. REGISTERED IN THE UNITED STATES AND OTHER COUNTRIES. | WWW.RACKSPACE.COMRackspace  is  hiringwww.rackertalent.comMonday, April 15, 13
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×