Topic 13: Cloud Stacks

494 views

Published on

Cloud Computing Workshop 2013, ITU

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

  • Be the first to like this

No Downloads
Views
Total views
494
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
39
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Topic 13: Cloud Stacks

  1. 1. 13: Cloud StacksZubair Nabizubair.nabi@itu.edu.pkApril 21, 2013Zubair Nabi 13: Cloud Stacks April 21, 2013 1 / 27
  2. 2. Outline1 Server-side Stacks2 Client-side LibrariesZubair Nabi 13: Cloud Stacks April 21, 2013 2 / 27
  3. 3. Outline1 Server-side Stacks2 Client-side LibrariesZubair Nabi 13: Cloud Stacks April 21, 2013 3 / 27
  4. 4. IntroductionCloud service creation and offering requires an entire ecosystemZubair Nabi 13: Cloud Stacks April 21, 2013 4 / 27
  5. 5. IntroductionCloud service creation and offering requires an entire ecosystemFocusing on just the software side, solutions are needed to managecomputation, storage, and networkingZubair Nabi 13: Cloud Stacks April 21, 2013 4 / 27
  6. 6. IntroductionCloud service creation and offering requires an entire ecosystemFocusing on just the software side, solutions are needed to managecomputation, storage, and networkingA number of open source solutions with a set of pros and consZubair Nabi 13: Cloud Stacks April 21, 2013 4 / 27
  7. 7. CloudStack1Console for managing data center resources1http://cloudstack.apache.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 5 / 27
  8. 8. CloudStack1Console for managing data center resourcesManages virtual machines, networking components, and storage1http://cloudstack.apache.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 5 / 27
  9. 9. CloudStack1Console for managing data center resourcesManages virtual machines, networking components, and storageEnables IaaS1http://cloudstack.apache.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 5 / 27
  10. 10. CloudStack1Console for managing data center resourcesManages virtual machines, networking components, and storageEnables IaaSUsed by Zynga, Nokia Research, etc.1http://cloudstack.apache.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 5 / 27
  11. 11. CloudStack1Console for managing data center resourcesManages virtual machines, networking components, and storageEnables IaaSUsed by Zynga, Nokia Research, etc.Possible to convert Amazon EC2 API to the CloudStack one1http://cloudstack.apache.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 5 / 27
  12. 12. What can it do?Can be used by both service providers and enterprisesZubair Nabi 13: Cloud Stacks April 21, 2013 6 / 27
  13. 13. What can it do?Can be used by both service providers and enterprisesSet up an on-demand, elastic cloud computing serviceZubair Nabi 13: Cloud Stacks April 21, 2013 6 / 27
  14. 14. What can it do?Can be used by both service providers and enterprisesSet up an on-demand, elastic cloud computing serviceVirtual machine instances, storage volumes, and networkingconfigurationsZubair Nabi 13: Cloud Stacks April 21, 2013 6 / 27
  15. 15. What can it do?Can be used by both service providers and enterprisesSet up an on-demand, elastic cloud computing serviceVirtual machine instances, storage volumes, and networkingconfigurationsSet up a private cloud for internal usageZubair Nabi 13: Cloud Stacks April 21, 2013 6 / 27
  16. 16. FeaturesMultiple Hypervisor Support: Supports Citrix XenServer, VMWarevSphere, KVM, and XenZubair Nabi 13: Cloud Stacks April 21, 2013 7 / 27
  17. 17. FeaturesMultiple Hypervisor Support: Supports Citrix XenServer, VMWarevSphere, KVM, and XenMassively Scalable Infrastructure Management: Can manage tensof thousands of geographically distributed datacentersZubair Nabi 13: Cloud Stacks April 21, 2013 7 / 27
  18. 18. FeaturesMultiple Hypervisor Support: Supports Citrix XenServer, VMWarevSphere, KVM, and XenMassively Scalable Infrastructure Management: Can manage tensof thousands of geographically distributed datacentersAutomatic Configuration Management: Automatic configuration ofeach guest’s VMs, network, and storage settingsZubair Nabi 13: Cloud Stacks April 21, 2013 7 / 27
  19. 19. Features (2)Graphical User Interface: Web interfaces both for the administratoras well as the userZubair Nabi 13: Cloud Stacks April 21, 2013 8 / 27
  20. 20. Features (2)Graphical User Interface: Web interfaces both for the administratoras well as the userAPI and Extensibility: Exposes a programmatic interface to allmanagement featuresZubair Nabi 13: Cloud Stacks April 21, 2013 8 / 27
  21. 21. Features (2)Graphical User Interface: Web interfaces both for the administratoras well as the userAPI and Extensibility: Exposes a programmatic interface to allmanagement featuresHigh Availability: Management Server itself can be deployed acrossmultiple nodes, with load balancingZubair Nabi 13: Cloud Stacks April 21, 2013 8 / 27
  22. 22. Management ServerAll resources such as hosts, storage devices, and IP addresses areprovided to it for managementZubair Nabi 13: Cloud Stacks April 21, 2013 9 / 27
  23. 23. Management ServerAll resources such as hosts, storage devices, and IP addresses areprovided to it for managementRuns on a dedicated server or VMZubair Nabi 13: Cloud Stacks April 21, 2013 9 / 27
  24. 24. Management ServerAll resources such as hosts, storage devices, and IP addresses areprovided to it for managementRuns on a dedicated server or VMControls allocation of VMs to hosts and assignment of storage and IPaddresses to the VM instanceZubair Nabi 13: Cloud Stacks April 21, 2013 9 / 27
  25. 25. Management ServerAll resources such as hosts, storage devices, and IP addresses areprovided to it for managementRuns on a dedicated server or VMControls allocation of VMs to hosts and assignment of storage and IPaddresses to the VM instanceRuns within a Tomcat container and uses a MySQL DB for persistenceZubair Nabi 13: Cloud Stacks April 21, 2013 9 / 27
  26. 26. Cloud InfrastructureOne or more zones (typically datacenters) consisting of various hoststo run VMsZubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
  27. 27. Cloud InfrastructureOne or more zones (typically datacenters) consisting of various hoststo run VMsZone: Consists of one or more podsZubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
  28. 28. Cloud InfrastructureOne or more zones (typically datacenters) consisting of various hoststo run VMsZone: Consists of one or more podsPod: L2 switch and one or more clustersZubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
  29. 29. Cloud InfrastructureOne or more zones (typically datacenters) consisting of various hoststo run VMsZone: Consists of one or more podsPod: L2 switch and one or more clustersCluster: Consists of one or more hosts and primary storageZubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
  30. 30. Cloud InfrastructureOne or more zones (typically datacenters) consisting of various hoststo run VMsZone: Consists of one or more podsPod: L2 switch and one or more clustersCluster: Consists of one or more hosts and primary storageHost: Single compute node within a cluster to run guest VMsZubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
  31. 31. Cloud InfrastructureOne or more zones (typically datacenters) consisting of various hoststo run VMsZone: Consists of one or more podsPod: L2 switch and one or more clustersCluster: Consists of one or more hosts and primary storageHost: Single compute node within a cluster to run guest VMsPrimary storage: Associated with a cluster and stores disk volumesfor all VMsZubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
  32. 32. Cloud InfrastructureOne or more zones (typically datacenters) consisting of various hoststo run VMsZone: Consists of one or more podsPod: L2 switch and one or more clustersCluster: Consists of one or more hosts and primary storageHost: Single compute node within a cluster to run guest VMsPrimary storage: Associated with a cluster and stores disk volumesfor all VMsSecondary storage: Associated with a zone and stores ISO imagesand disk volume snapshotsZubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
  33. 33. Networking OptionsBasic: Similar to AWS: guest isolation through L3 mechanisms suchas IP address source filteringZubair Nabi 13: Cloud Stacks April 21, 2013 11 / 27
  34. 34. Networking OptionsBasic: Similar to AWS: guest isolation through L3 mechanisms suchas IP address source filteringAdvanced: Flexibility in defining guest networksZubair Nabi 13: Cloud Stacks April 21, 2013 11 / 27
  35. 35. OpenStack2Public and private IaaS cloud management software stack2http://www.openstack.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 12 / 27
  36. 36. OpenStack2Public and private IaaS cloud management software stackUsed by PayPal, Cisco, Intel, HP, Rackspace, AT&T, etc.2http://www.openstack.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 12 / 27
  37. 37. OpenStack2Public and private IaaS cloud management software stackUsed by PayPal, Cisco, Intel, HP, Rackspace, AT&T, etc.Divided into a number of services2http://www.openstack.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 12 / 27
  38. 38. OpenStack2Public and private IaaS cloud management software stackUsed by PayPal, Cisco, Intel, HP, Rackspace, AT&T, etc.Divided into a number of servicesThe Cloud Controller hosts the databases, message queue,dashboard, and API endpoints2http://www.openstack.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 12 / 27
  39. 39. Compute (Nova)Manages the lifecycle of VM instancesZubair Nabi 13: Cloud Stacks April 21, 2013 13 / 27
  40. 40. Compute (Nova)Manages the lifecycle of VM instancesIn charge of scheduling, resource provisioning, live migration, andsecurityZubair Nabi 13: Cloud Stacks April 21, 2013 13 / 27
  41. 41. Compute (Nova)Manages the lifecycle of VM instancesIn charge of scheduling, resource provisioning, live migration, andsecuritySupports multiple hypervisors including KVM and XenZubair Nabi 13: Cloud Stacks April 21, 2013 13 / 27
  42. 42. StorageProvides both block and object storage for use by the VMZubair Nabi 13: Cloud Stacks April 21, 2013 14 / 27
  43. 43. StorageProvides both block and object storage for use by the VMUsers are allowed to create block storage devicesZubair Nabi 13: Cloud Stacks April 21, 2013 14 / 27
  44. 44. StorageProvides both block and object storage for use by the VMUsers are allowed to create block storage devicesThese devices can dynamically be attached and removed from VMinstancesZubair Nabi 13: Cloud Stacks April 21, 2013 14 / 27
  45. 45. StorageProvides both block and object storage for use by the VMUsers are allowed to create block storage devicesThese devices can dynamically be attached and removed from VMinstancesAlso provides a distributed object storage, called SwiftZubair Nabi 13: Cloud Stacks April 21, 2013 14 / 27
  46. 46. Object StorageUsers access binary objects through a RESTful APIZubair Nabi 13: Cloud Stacks April 21, 2013 15 / 27
  47. 47. Object StorageUsers access binary objects through a RESTful APISimilar to Amazon S3Zubair Nabi 13: Cloud Stacks April 21, 2013 15 / 27
  48. 48. Object StorageUsers access binary objects through a RESTful APISimilar to Amazon S3Useful for storing and managing large datasetsZubair Nabi 13: Cloud Stacks April 21, 2013 15 / 27
  49. 49. Object StorageUsers access binary objects through a RESTful APISimilar to Amazon S3Useful for storing and managing large datasetsCan also be used by the system to store VM imagesZubair Nabi 13: Cloud Stacks April 21, 2013 15 / 27
  50. 50. Block StorageExposes a block device to the userZubair Nabi 13: Cloud Stacks April 21, 2013 16 / 27
  51. 51. Block StorageExposes a block device to the userUsers interact with the storage by mounting volumes within their VMinstancesZubair Nabi 13: Cloud Stacks April 21, 2013 16 / 27
  52. 52. Block StorageExposes a block device to the userUsers interact with the storage by mounting volumes within their VMinstancesCan be detached from one instance and re-attached to another whileremaining persistentZubair Nabi 13: Cloud Stacks April 21, 2013 16 / 27
  53. 53. Block StorageExposes a block device to the userUsers interact with the storage by mounting volumes within their VMinstancesCan be detached from one instance and re-attached to another whileremaining persistentImplemented internally through the Cinder project which supportsmultiple back-endsZubair Nabi 13: Cloud Stacks April 21, 2013 16 / 27
  54. 54. Block StorageExposes a block device to the userUsers interact with the storage by mounting volumes within their VMinstancesCan be detached from one instance and re-attached to another whileremaining persistentImplemented internally through the Cinder project which supportsmultiple back-endsSome drivers allow the instance direct access to the underlyingphysical block deviceZubair Nabi 13: Cloud Stacks April 21, 2013 16 / 27
  55. 55. Block StorageExposes a block device to the userUsers interact with the storage by mounting volumes within their VMinstancesCan be detached from one instance and re-attached to another whileremaining persistentImplemented internally through the Cinder project which supportsmultiple back-endsSome drivers allow the instance direct access to the underlyingphysical block deviceImproves I/O performanceZubair Nabi 13: Cloud Stacks April 21, 2013 16 / 27
  56. 56. NetworkingAPI-driven network and IP address managementZubair Nabi 13: Cloud Stacks April 21, 2013 17 / 27
  57. 57. NetworkingAPI-driven network and IP address managementUsers are allowed to create their own networksZubair Nabi 13: Cloud Stacks April 21, 2013 17 / 27
  58. 58. NetworkingAPI-driven network and IP address managementUsers are allowed to create their own networksVLANs used to provide each allocation its own subnet and segregationfrom other allocationsZubair Nabi 13: Cloud Stacks April 21, 2013 17 / 27
  59. 59. Dashboard (Horizon)Web interface for administrators and usersZubair Nabi 13: Cloud Stacks April 21, 2013 18 / 27
  60. 60. Dashboard (Horizon)Web interface for administrators and usersGives access to VM image management, VM instance lifecyclemanagement, and storageZubair Nabi 13: Cloud Stacks April 21, 2013 18 / 27
  61. 61. Identity (Keystone)Centralized user account service with authentication and accesscontrolZubair Nabi 13: Cloud Stacks April 21, 2013 19 / 27
  62. 62. Identity (Keystone)Centralized user account service with authentication and accesscontrolRegistry of OpenStack servicesZubair Nabi 13: Cloud Stacks April 21, 2013 19 / 27
  63. 63. Image (Glance)Various image management capabilities, including registration anddeliveryZubair Nabi 13: Cloud Stacks April 21, 2013 20 / 27
  64. 64. Image (Glance)Various image management capabilities, including registration anddeliverySupports multiple image formatsZubair Nabi 13: Cloud Stacks April 21, 2013 20 / 27
  65. 65. Message QueueServices communicate with each other using the message queueZubair Nabi 13: Cloud Stacks April 21, 2013 21 / 27
  66. 66. Message QueueServices communicate with each other using the message queueIf the message queue fails, the cluster enters a “read only” stateZubair Nabi 13: Cloud Stacks April 21, 2013 21 / 27
  67. 67. Application Programming Interface (API)Command line clientZubair Nabi 13: Cloud Stacks April 21, 2013 22 / 27
  68. 68. Application Programming Interface (API)Command line clientAmazon EC2 compatibility APIsZubair Nabi 13: Cloud Stacks April 21, 2013 22 / 27
  69. 69. Outline1 Server-side Stacks2 Client-side LibrariesZubair Nabi 13: Cloud Stacks April 21, 2013 23 / 27
  70. 70. Libcloud3Abstracts away the APIs of different cloud vendors3http://libcloud.apache.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 24 / 27
  71. 71. Libcloud3Abstracts away the APIs of different cloud vendorsNegates vendor API lock-in3http://libcloud.apache.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 24 / 27
  72. 72. Libcloud3Abstracts away the APIs of different cloud vendorsNegates vendor API lock-inComputation: Such as Amazon EC2 and Rackspace CloudServers3http://libcloud.apache.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 24 / 27
  73. 73. Libcloud3Abstracts away the APIs of different cloud vendorsNegates vendor API lock-inComputation: Such as Amazon EC2 and Rackspace CloudServersStorage: Such as Amazon S3 and Rackspace CloudFiles3http://libcloud.apache.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 24 / 27
  74. 74. ComputeAbstraction for more than 20 providers such as Amazon, Rackspace,Nimbus, etc.Zubair Nabi 13: Cloud Stacks April 21, 2013 25 / 27
  75. 75. ComputeAbstraction for more than 20 providers such as Amazon, Rackspace,Nimbus, etc.Ability to run deployment scripts on the newly created serversZubair Nabi 13: Cloud Stacks April 21, 2013 25 / 27
  76. 76. StorageAbstraction for more than 10 providers such as Amazon, Rackspace,CloudFiles, etc.Zubair Nabi 13: Cloud Stacks April 21, 2013 26 / 27
  77. 77. ReferencesOpenStack operations guide: http://docs.openstack.org/trunk/openstack-ops/content/Zubair Nabi 13: Cloud Stacks April 21, 2013 27 / 27

×