Download - Topic 13: Cloud Stacks
![Page 1: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/1.jpg)
13: Cloud Stacks
Zubair Nabi
April 21, 2013
Zubair Nabi 13: Cloud Stacks April 21, 2013 1 / 27
![Page 2: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/2.jpg)
Outline
1 Server-side Stacks
2 Client-side Libraries
Zubair Nabi 13: Cloud Stacks April 21, 2013 2 / 27
![Page 3: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/3.jpg)
Outline
1 Server-side Stacks
2 Client-side Libraries
Zubair Nabi 13: Cloud Stacks April 21, 2013 3 / 27
![Page 4: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/4.jpg)
Introduction
Cloud service creation and offering requires an entire ecosystem
Focusing on just the software side, solutions are needed to managecomputation, storage, and networking
A number of open source solutions with a set of pros and cons
Zubair Nabi 13: Cloud Stacks April 21, 2013 4 / 27
![Page 5: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/5.jpg)
Introduction
Cloud service creation and offering requires an entire ecosystem
Focusing on just the software side, solutions are needed to managecomputation, storage, and networking
A number of open source solutions with a set of pros and cons
Zubair Nabi 13: Cloud Stacks April 21, 2013 4 / 27
![Page 6: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/6.jpg)
Introduction
Cloud service creation and offering requires an entire ecosystem
Focusing on just the software side, solutions are needed to managecomputation, storage, and networking
A number of open source solutions with a set of pros and cons
Zubair Nabi 13: Cloud Stacks April 21, 2013 4 / 27
![Page 7: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/7.jpg)
CloudStack1
Console for managing data center resources
Manages virtual machines, networking components, and storageI Enables IaaS
Used by Zynga, Nokia Research, etc.
Possible to convert Amazon EC2 API to the CloudStack one
1http://cloudstack.apache.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 5 / 27
![Page 8: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/8.jpg)
CloudStack1
Console for managing data center resourcesManages virtual machines, networking components, and storage
I Enables IaaS
Used by Zynga, Nokia Research, etc.
Possible to convert Amazon EC2 API to the CloudStack one
1http://cloudstack.apache.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 5 / 27
![Page 9: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/9.jpg)
CloudStack1
Console for managing data center resourcesManages virtual machines, networking components, and storage
I Enables IaaS
Used by Zynga, Nokia Research, etc.
Possible to convert Amazon EC2 API to the CloudStack one
1http://cloudstack.apache.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 5 / 27
![Page 10: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/10.jpg)
CloudStack1
Console for managing data center resourcesManages virtual machines, networking components, and storage
I Enables IaaS
Used by Zynga, Nokia Research, etc.
Possible to convert Amazon EC2 API to the CloudStack one
1http://cloudstack.apache.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 5 / 27
![Page 11: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/11.jpg)
CloudStack1
Console for managing data center resourcesManages virtual machines, networking components, and storage
I Enables IaaS
Used by Zynga, Nokia Research, etc.
Possible to convert Amazon EC2 API to the CloudStack one
1http://cloudstack.apache.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 5 / 27
![Page 12: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/12.jpg)
What can it do?
Can be used by both service providers and enterprises
Set up an on-demand, elastic cloud computing serviceI Virtual machine instances, storage volumes, and networking
configurations
Set up a private cloud for internal usage
Zubair Nabi 13: Cloud Stacks April 21, 2013 6 / 27
![Page 13: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/13.jpg)
What can it do?
Can be used by both service providers and enterprisesSet up an on-demand, elastic cloud computing service
I Virtual machine instances, storage volumes, and networkingconfigurations
Set up a private cloud for internal usage
Zubair Nabi 13: Cloud Stacks April 21, 2013 6 / 27
![Page 14: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/14.jpg)
What can it do?
Can be used by both service providers and enterprisesSet up an on-demand, elastic cloud computing service
I Virtual machine instances, storage volumes, and networkingconfigurations
Set up a private cloud for internal usage
Zubair Nabi 13: Cloud Stacks April 21, 2013 6 / 27
![Page 15: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/15.jpg)
What can it do?
Can be used by both service providers and enterprisesSet up an on-demand, elastic cloud computing service
I Virtual machine instances, storage volumes, and networkingconfigurations
Set up a private cloud for internal usage
Zubair Nabi 13: Cloud Stacks April 21, 2013 6 / 27
![Page 16: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/16.jpg)
Features
Multiple Hypervisor Support: Supports Citrix XenServer, VMWarevSphere, KVM, and Xen
Massively Scalable Infrastructure Management: Can manage tensof thousands of geographically distributed datacenters
Automatic Configuration Management: Automatic configuration ofeach guest’s VMs, network, and storage settings
Zubair Nabi 13: Cloud Stacks April 21, 2013 7 / 27
![Page 17: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/17.jpg)
Features
Multiple Hypervisor Support: Supports Citrix XenServer, VMWarevSphere, KVM, and Xen
Massively Scalable Infrastructure Management: Can manage tensof thousands of geographically distributed datacenters
Automatic Configuration Management: Automatic configuration ofeach guest’s VMs, network, and storage settings
Zubair Nabi 13: Cloud Stacks April 21, 2013 7 / 27
![Page 18: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/18.jpg)
Features
Multiple Hypervisor Support: Supports Citrix XenServer, VMWarevSphere, KVM, and Xen
Massively Scalable Infrastructure Management: Can manage tensof thousands of geographically distributed datacenters
Automatic Configuration Management: Automatic configuration ofeach guest’s VMs, network, and storage settings
Zubair Nabi 13: Cloud Stacks April 21, 2013 7 / 27
![Page 19: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/19.jpg)
Features (2)
Graphical User Interface: Web interfaces both for the administratoras well as the user
API and Extensibility: Exposes a programmatic interface to allmanagement features
High Availability: Management Server itself can be deployed acrossmultiple nodes, with load balancing
Zubair Nabi 13: Cloud Stacks April 21, 2013 8 / 27
![Page 20: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/20.jpg)
Features (2)
Graphical User Interface: Web interfaces both for the administratoras well as the user
API and Extensibility: Exposes a programmatic interface to allmanagement features
High Availability: Management Server itself can be deployed acrossmultiple nodes, with load balancing
Zubair Nabi 13: Cloud Stacks April 21, 2013 8 / 27
![Page 21: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/21.jpg)
Features (2)
Graphical User Interface: Web interfaces both for the administratoras well as the user
API and Extensibility: Exposes a programmatic interface to allmanagement features
High Availability: Management Server itself can be deployed acrossmultiple nodes, with load balancing
Zubair Nabi 13: Cloud Stacks April 21, 2013 8 / 27
![Page 22: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/22.jpg)
Management Server
All resources such as hosts, storage devices, and IP addresses areprovided to it for management
Runs on a dedicated server or VM
Controls allocation of VMs to hosts and assignment of storage and IPaddresses to the VM instance
Runs within a Tomcat container and uses a MySQL DB for persistence
Zubair Nabi 13: Cloud Stacks April 21, 2013 9 / 27
![Page 23: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/23.jpg)
Management Server
All resources such as hosts, storage devices, and IP addresses areprovided to it for management
Runs on a dedicated server or VM
Controls allocation of VMs to hosts and assignment of storage and IPaddresses to the VM instance
Runs within a Tomcat container and uses a MySQL DB for persistence
Zubair Nabi 13: Cloud Stacks April 21, 2013 9 / 27
![Page 24: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/24.jpg)
Management Server
All resources such as hosts, storage devices, and IP addresses areprovided to it for management
Runs on a dedicated server or VM
Controls allocation of VMs to hosts and assignment of storage and IPaddresses to the VM instance
Runs within a Tomcat container and uses a MySQL DB for persistence
Zubair Nabi 13: Cloud Stacks April 21, 2013 9 / 27
![Page 25: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/25.jpg)
Management Server
All resources such as hosts, storage devices, and IP addresses areprovided to it for management
Runs on a dedicated server or VM
Controls allocation of VMs to hosts and assignment of storage and IPaddresses to the VM instance
Runs within a Tomcat container and uses a MySQL DB for persistence
Zubair Nabi 13: Cloud Stacks April 21, 2013 9 / 27
![Page 26: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/26.jpg)
Cloud Infrastructure
One or more zones (typically datacenters) consisting of various hoststo run VMs
Zone: Consists of one or more pods
Pod: L2 switch and one or more clusters
Cluster: Consists of one or more hosts and primary storage
Host: Single compute node within a cluster to run guest VMs
Primary storage: Associated with a cluster and stores disk volumesfor all VMs
Secondary storage: Associated with a zone and stores ISO imagesand disk volume snapshots
Zubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
![Page 27: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/27.jpg)
Cloud Infrastructure
One or more zones (typically datacenters) consisting of various hoststo run VMs
Zone: Consists of one or more pods
Pod: L2 switch and one or more clusters
Cluster: Consists of one or more hosts and primary storage
Host: Single compute node within a cluster to run guest VMs
Primary storage: Associated with a cluster and stores disk volumesfor all VMs
Secondary storage: Associated with a zone and stores ISO imagesand disk volume snapshots
Zubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
![Page 28: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/28.jpg)
Cloud Infrastructure
One or more zones (typically datacenters) consisting of various hoststo run VMs
Zone: Consists of one or more pods
Pod: L2 switch and one or more clusters
Cluster: Consists of one or more hosts and primary storage
Host: Single compute node within a cluster to run guest VMs
Primary storage: Associated with a cluster and stores disk volumesfor all VMs
Secondary storage: Associated with a zone and stores ISO imagesand disk volume snapshots
Zubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
![Page 29: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/29.jpg)
Cloud Infrastructure
One or more zones (typically datacenters) consisting of various hoststo run VMs
Zone: Consists of one or more pods
Pod: L2 switch and one or more clusters
Cluster: Consists of one or more hosts and primary storage
Host: Single compute node within a cluster to run guest VMs
Primary storage: Associated with a cluster and stores disk volumesfor all VMs
Secondary storage: Associated with a zone and stores ISO imagesand disk volume snapshots
Zubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
![Page 30: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/30.jpg)
Cloud Infrastructure
One or more zones (typically datacenters) consisting of various hoststo run VMs
Zone: Consists of one or more pods
Pod: L2 switch and one or more clusters
Cluster: Consists of one or more hosts and primary storage
Host: Single compute node within a cluster to run guest VMs
Primary storage: Associated with a cluster and stores disk volumesfor all VMs
Secondary storage: Associated with a zone and stores ISO imagesand disk volume snapshots
Zubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
![Page 31: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/31.jpg)
Cloud Infrastructure
One or more zones (typically datacenters) consisting of various hoststo run VMs
Zone: Consists of one or more pods
Pod: L2 switch and one or more clusters
Cluster: Consists of one or more hosts and primary storage
Host: Single compute node within a cluster to run guest VMs
Primary storage: Associated with a cluster and stores disk volumesfor all VMs
Secondary storage: Associated with a zone and stores ISO imagesand disk volume snapshots
Zubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
![Page 32: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/32.jpg)
Cloud Infrastructure
One or more zones (typically datacenters) consisting of various hoststo run VMs
Zone: Consists of one or more pods
Pod: L2 switch and one or more clusters
Cluster: Consists of one or more hosts and primary storage
Host: Single compute node within a cluster to run guest VMs
Primary storage: Associated with a cluster and stores disk volumesfor all VMs
Secondary storage: Associated with a zone and stores ISO imagesand disk volume snapshots
Zubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
![Page 33: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/33.jpg)
Networking Options
Basic: Similar to AWS: guest isolation through L3 mechanisms suchas IP address source filtering
Advanced: Flexibility in defining guest networks
Zubair Nabi 13: Cloud Stacks April 21, 2013 11 / 27
![Page 34: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/34.jpg)
Networking Options
Basic: Similar to AWS: guest isolation through L3 mechanisms suchas IP address source filtering
Advanced: Flexibility in defining guest networks
Zubair Nabi 13: Cloud Stacks April 21, 2013 11 / 27
![Page 35: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/35.jpg)
OpenStack2
Public and private IaaS cloud management software stack
Used by PayPal, Cisco, Intel, HP, Rackspace, AT&T, etc.
Divided into a number of services
The Cloud Controller hosts the databases, message queue,dashboard, and API endpoints
2http://www.openstack.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 12 / 27
![Page 36: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/36.jpg)
OpenStack2
Public and private IaaS cloud management software stack
Used by PayPal, Cisco, Intel, HP, Rackspace, AT&T, etc.
Divided into a number of services
The Cloud Controller hosts the databases, message queue,dashboard, and API endpoints
2http://www.openstack.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 12 / 27
![Page 37: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/37.jpg)
OpenStack2
Public and private IaaS cloud management software stack
Used by PayPal, Cisco, Intel, HP, Rackspace, AT&T, etc.
Divided into a number of services
The Cloud Controller hosts the databases, message queue,dashboard, and API endpoints
2http://www.openstack.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 12 / 27
![Page 38: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/38.jpg)
OpenStack2
Public and private IaaS cloud management software stack
Used by PayPal, Cisco, Intel, HP, Rackspace, AT&T, etc.
Divided into a number of services
The Cloud Controller hosts the databases, message queue,dashboard, and API endpoints
2http://www.openstack.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 12 / 27
![Page 39: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/39.jpg)
Compute (Nova)
Manages the lifecycle of VM instances
In charge of scheduling, resource provisioning, live migration, andsecurity
Supports multiple hypervisors including KVM and Xen
Zubair Nabi 13: Cloud Stacks April 21, 2013 13 / 27
![Page 40: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/40.jpg)
Compute (Nova)
Manages the lifecycle of VM instances
In charge of scheduling, resource provisioning, live migration, andsecurity
Supports multiple hypervisors including KVM and Xen
Zubair Nabi 13: Cloud Stacks April 21, 2013 13 / 27
![Page 41: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/41.jpg)
Compute (Nova)
Manages the lifecycle of VM instances
In charge of scheduling, resource provisioning, live migration, andsecurity
Supports multiple hypervisors including KVM and Xen
Zubair Nabi 13: Cloud Stacks April 21, 2013 13 / 27
![Page 42: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/42.jpg)
Storage
Provides both block and object storage for use by the VM
Users are allowed to create block storage devices
These devices can dynamically be attached and removed from VMinstances
Also provides a distributed object storage, called Swift
Zubair Nabi 13: Cloud Stacks April 21, 2013 14 / 27
![Page 43: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/43.jpg)
Storage
Provides both block and object storage for use by the VM
Users are allowed to create block storage devices
These devices can dynamically be attached and removed from VMinstances
Also provides a distributed object storage, called Swift
Zubair Nabi 13: Cloud Stacks April 21, 2013 14 / 27
![Page 44: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/44.jpg)
Storage
Provides both block and object storage for use by the VM
Users are allowed to create block storage devices
These devices can dynamically be attached and removed from VMinstances
Also provides a distributed object storage, called Swift
Zubair Nabi 13: Cloud Stacks April 21, 2013 14 / 27
![Page 45: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/45.jpg)
Storage
Provides both block and object storage for use by the VM
Users are allowed to create block storage devices
These devices can dynamically be attached and removed from VMinstances
Also provides a distributed object storage, called Swift
Zubair Nabi 13: Cloud Stacks April 21, 2013 14 / 27
![Page 46: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/46.jpg)
Object Storage
Users access binary objects through a RESTful API
Similar to Amazon S3
Useful for storing and managing large datasets
Can also be used by the system to store VM images
Zubair Nabi 13: Cloud Stacks April 21, 2013 15 / 27
![Page 47: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/47.jpg)
Object Storage
Users access binary objects through a RESTful API
Similar to Amazon S3
Useful for storing and managing large datasets
Can also be used by the system to store VM images
Zubair Nabi 13: Cloud Stacks April 21, 2013 15 / 27
![Page 48: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/48.jpg)
Object Storage
Users access binary objects through a RESTful API
Similar to Amazon S3
Useful for storing and managing large datasets
Can also be used by the system to store VM images
Zubair Nabi 13: Cloud Stacks April 21, 2013 15 / 27
![Page 49: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/49.jpg)
Object Storage
Users access binary objects through a RESTful API
Similar to Amazon S3
Useful for storing and managing large datasets
Can also be used by the system to store VM images
Zubair Nabi 13: Cloud Stacks April 21, 2013 15 / 27
![Page 50: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/50.jpg)
Block Storage
Exposes a block device to the user
Users interact with the storage by mounting volumes within their VMinstances
Can be detached from one instance and re-attached to another whileremaining persistent
Implemented internally through the Cinder project which supportsmultiple back-endsSome drivers allow the instance direct access to the underlyingphysical block device
I Improves I/O performance
Zubair Nabi 13: Cloud Stacks April 21, 2013 16 / 27
![Page 51: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/51.jpg)
Block Storage
Exposes a block device to the user
Users interact with the storage by mounting volumes within their VMinstances
Can be detached from one instance and re-attached to another whileremaining persistent
Implemented internally through the Cinder project which supportsmultiple back-endsSome drivers allow the instance direct access to the underlyingphysical block device
I Improves I/O performance
Zubair Nabi 13: Cloud Stacks April 21, 2013 16 / 27
![Page 52: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/52.jpg)
Block Storage
Exposes a block device to the user
Users interact with the storage by mounting volumes within their VMinstances
Can be detached from one instance and re-attached to another whileremaining persistent
Implemented internally through the Cinder project which supportsmultiple back-endsSome drivers allow the instance direct access to the underlyingphysical block device
I Improves I/O performance
Zubair Nabi 13: Cloud Stacks April 21, 2013 16 / 27
![Page 53: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/53.jpg)
Block Storage
Exposes a block device to the user
Users interact with the storage by mounting volumes within their VMinstances
Can be detached from one instance and re-attached to another whileremaining persistent
Implemented internally through the Cinder project which supportsmultiple back-ends
Some drivers allow the instance direct access to the underlyingphysical block device
I Improves I/O performance
Zubair Nabi 13: Cloud Stacks April 21, 2013 16 / 27
![Page 54: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/54.jpg)
Block Storage
Exposes a block device to the user
Users interact with the storage by mounting volumes within their VMinstances
Can be detached from one instance and re-attached to another whileremaining persistent
Implemented internally through the Cinder project which supportsmultiple back-endsSome drivers allow the instance direct access to the underlyingphysical block device
I Improves I/O performance
Zubair Nabi 13: Cloud Stacks April 21, 2013 16 / 27
![Page 55: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/55.jpg)
Block Storage
Exposes a block device to the user
Users interact with the storage by mounting volumes within their VMinstances
Can be detached from one instance and re-attached to another whileremaining persistent
Implemented internally through the Cinder project which supportsmultiple back-endsSome drivers allow the instance direct access to the underlyingphysical block device
I Improves I/O performance
Zubair Nabi 13: Cloud Stacks April 21, 2013 16 / 27
![Page 56: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/56.jpg)
Networking
API-driven network and IP address management
Users are allowed to create their own networks
VLANs used to provide each allocation its own subnet and segregationfrom other allocations
Zubair Nabi 13: Cloud Stacks April 21, 2013 17 / 27
![Page 57: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/57.jpg)
Networking
API-driven network and IP address management
Users are allowed to create their own networks
VLANs used to provide each allocation its own subnet and segregationfrom other allocations
Zubair Nabi 13: Cloud Stacks April 21, 2013 17 / 27
![Page 58: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/58.jpg)
Networking
API-driven network and IP address management
Users are allowed to create their own networks
VLANs used to provide each allocation its own subnet and segregationfrom other allocations
Zubair Nabi 13: Cloud Stacks April 21, 2013 17 / 27
![Page 59: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/59.jpg)
Dashboard (Horizon)
Web interface for administrators and users
Gives access to VM image management, VM instance lifecyclemanagement, and storage
Zubair Nabi 13: Cloud Stacks April 21, 2013 18 / 27
![Page 60: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/60.jpg)
Dashboard (Horizon)
Web interface for administrators and users
Gives access to VM image management, VM instance lifecyclemanagement, and storage
Zubair Nabi 13: Cloud Stacks April 21, 2013 18 / 27
![Page 61: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/61.jpg)
Identity (Keystone)
Centralized user account service with authentication and accesscontrol
Registry of OpenStack services
Zubair Nabi 13: Cloud Stacks April 21, 2013 19 / 27
![Page 62: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/62.jpg)
Identity (Keystone)
Centralized user account service with authentication and accesscontrol
Registry of OpenStack services
Zubair Nabi 13: Cloud Stacks April 21, 2013 19 / 27
![Page 63: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/63.jpg)
Image (Glance)
Various image management capabilities, including registration anddelivery
Supports multiple image formats
Zubair Nabi 13: Cloud Stacks April 21, 2013 20 / 27
![Page 64: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/64.jpg)
Image (Glance)
Various image management capabilities, including registration anddelivery
Supports multiple image formats
Zubair Nabi 13: Cloud Stacks April 21, 2013 20 / 27
![Page 65: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/65.jpg)
Message Queue
Services communicate with each other using the message queue
If the message queue fails, the cluster enters a “read only” state
Zubair Nabi 13: Cloud Stacks April 21, 2013 21 / 27
![Page 66: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/66.jpg)
Message Queue
Services communicate with each other using the message queue
If the message queue fails, the cluster enters a “read only” state
Zubair Nabi 13: Cloud Stacks April 21, 2013 21 / 27
![Page 67: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/67.jpg)
Application Programming Interface (API)
Command line client
Amazon EC2 compatibility APIs
Zubair Nabi 13: Cloud Stacks April 21, 2013 22 / 27
![Page 68: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/68.jpg)
Application Programming Interface (API)
Command line client
Amazon EC2 compatibility APIs
Zubair Nabi 13: Cloud Stacks April 21, 2013 22 / 27
![Page 69: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/69.jpg)
Outline
1 Server-side Stacks
2 Client-side Libraries
Zubair Nabi 13: Cloud Stacks April 21, 2013 23 / 27
![Page 70: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/70.jpg)
Libcloud3
Abstracts away the APIs of different cloud vendors
Negates vendor API lock-in
Computation: Such as Amazon EC2 and Rackspace CloudServers
Storage: Such as Amazon S3 and Rackspace CloudFiles
3http://libcloud.apache.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 24 / 27
![Page 71: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/71.jpg)
Libcloud3
Abstracts away the APIs of different cloud vendors
Negates vendor API lock-in
Computation: Such as Amazon EC2 and Rackspace CloudServers
Storage: Such as Amazon S3 and Rackspace CloudFiles
3http://libcloud.apache.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 24 / 27
![Page 72: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/72.jpg)
Libcloud3
Abstracts away the APIs of different cloud vendors
Negates vendor API lock-in
Computation: Such as Amazon EC2 and Rackspace CloudServers
Storage: Such as Amazon S3 and Rackspace CloudFiles
3http://libcloud.apache.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 24 / 27
![Page 73: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/73.jpg)
Libcloud3
Abstracts away the APIs of different cloud vendors
Negates vendor API lock-in
Computation: Such as Amazon EC2 and Rackspace CloudServers
Storage: Such as Amazon S3 and Rackspace CloudFiles
3http://libcloud.apache.org/Zubair Nabi 13: Cloud Stacks April 21, 2013 24 / 27
![Page 74: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/74.jpg)
Compute
Abstraction for more than 20 providers such as Amazon, Rackspace,Nimbus, etc.
Ability to run deployment scripts on the newly created servers
Zubair Nabi 13: Cloud Stacks April 21, 2013 25 / 27
![Page 75: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/75.jpg)
Compute
Abstraction for more than 20 providers such as Amazon, Rackspace,Nimbus, etc.
Ability to run deployment scripts on the newly created servers
Zubair Nabi 13: Cloud Stacks April 21, 2013 25 / 27
![Page 76: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/76.jpg)
Storage
Abstraction for more than 10 providers such as Amazon, Rackspace,CloudFiles, etc.
Zubair Nabi 13: Cloud Stacks April 21, 2013 26 / 27
![Page 77: Topic 13: Cloud Stacks](https://reader034.vdocuments.us/reader034/viewer/2022051411/546c91f5b4af9f892c8b50dd/html5/thumbnails/77.jpg)
References
OpenStack operations guide: http://docs.openstack.org/trunk/openstack-ops/content/
Zubair Nabi 13: Cloud Stacks April 21, 2013 27 / 27