SlideShare a Scribd company logo
13: Cloud Stacks
Zubair Nabi
zubair.nabi@itu.edu.pk
April 21, 2013
Zubair Nabi 13: Cloud Stacks April 21, 2013 1 / 27
Outline
1 Server-side Stacks
2 Client-side Libraries
Zubair Nabi 13: Cloud Stacks April 21, 2013 2 / 27
Outline
1 Server-side Stacks
2 Client-side Libraries
Zubair Nabi 13: Cloud Stacks April 21, 2013 3 / 27
Introduction
Cloud service creation and offering requires an entire ecosystem
Zubair Nabi 13: Cloud Stacks April 21, 2013 4 / 27
Introduction
Cloud service creation and offering requires an entire ecosystem
Focusing on just the software side, solutions are needed to manage
computation, storage, and networking
Zubair Nabi 13: Cloud Stacks April 21, 2013 4 / 27
Introduction
Cloud service creation and offering requires an entire ecosystem
Focusing on just the software side, solutions are needed to manage
computation, 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
CloudStack1
Console for managing data center resources
1
http://cloudstack.apache.org/
Zubair Nabi 13: Cloud Stacks April 21, 2013 5 / 27
CloudStack1
Console for managing data center resources
Manages virtual machines, networking components, and storage
1
http://cloudstack.apache.org/
Zubair Nabi 13: Cloud Stacks April 21, 2013 5 / 27
CloudStack1
Console for managing data center resources
Manages virtual machines, networking components, and storage
Enables IaaS
1
http://cloudstack.apache.org/
Zubair Nabi 13: Cloud Stacks April 21, 2013 5 / 27
CloudStack1
Console for managing data center resources
Manages virtual machines, networking components, and storage
Enables IaaS
Used by Zynga, Nokia Research, etc.
1
http://cloudstack.apache.org/
Zubair Nabi 13: Cloud Stacks April 21, 2013 5 / 27
CloudStack1
Console for managing data center resources
Manages virtual machines, networking components, and storage
Enables IaaS
Used by Zynga, Nokia Research, etc.
Possible to convert Amazon EC2 API to the CloudStack one
1
http://cloudstack.apache.org/
Zubair Nabi 13: Cloud Stacks April 21, 2013 5 / 27
What can it do?
Can be used by both service providers and enterprises
Zubair Nabi 13: Cloud Stacks April 21, 2013 6 / 27
What can it do?
Can be used by both service providers and enterprises
Set up an on-demand, elastic cloud computing service
Zubair Nabi 13: Cloud Stacks April 21, 2013 6 / 27
What can it do?
Can be used by both service providers and enterprises
Set up an on-demand, elastic cloud computing service
Virtual machine instances, storage volumes, and networking
configurations
Zubair Nabi 13: Cloud Stacks April 21, 2013 6 / 27
What can it do?
Can be used by both service providers and enterprises
Set up an on-demand, elastic cloud computing service
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
Features
Multiple Hypervisor Support: Supports Citrix XenServer, VMWare
vSphere, KVM, and Xen
Zubair Nabi 13: Cloud Stacks April 21, 2013 7 / 27
Features
Multiple Hypervisor Support: Supports Citrix XenServer, VMWare
vSphere, KVM, and Xen
Massively Scalable Infrastructure Management: Can manage tens
of thousands of geographically distributed datacenters
Zubair Nabi 13: Cloud Stacks April 21, 2013 7 / 27
Features
Multiple Hypervisor Support: Supports Citrix XenServer, VMWare
vSphere, KVM, and Xen
Massively Scalable Infrastructure Management: Can manage tens
of thousands of geographically distributed datacenters
Automatic Configuration Management: Automatic configuration of
each guest’s VMs, network, and storage settings
Zubair Nabi 13: Cloud Stacks April 21, 2013 7 / 27
Features (2)
Graphical User Interface: Web interfaces both for the administrator
as well as the user
Zubair Nabi 13: Cloud Stacks April 21, 2013 8 / 27
Features (2)
Graphical User Interface: Web interfaces both for the administrator
as well as the user
API and Extensibility: Exposes a programmatic interface to all
management features
Zubair Nabi 13: Cloud Stacks April 21, 2013 8 / 27
Features (2)
Graphical User Interface: Web interfaces both for the administrator
as well as the user
API and Extensibility: Exposes a programmatic interface to all
management features
High Availability: Management Server itself can be deployed across
multiple nodes, with load balancing
Zubair Nabi 13: Cloud Stacks April 21, 2013 8 / 27
Management Server
All resources such as hosts, storage devices, and IP addresses are
provided to it for management
Zubair Nabi 13: Cloud Stacks April 21, 2013 9 / 27
Management Server
All resources such as hosts, storage devices, and IP addresses are
provided to it for management
Runs on a dedicated server or VM
Zubair Nabi 13: Cloud Stacks April 21, 2013 9 / 27
Management Server
All resources such as hosts, storage devices, and IP addresses are
provided to it for management
Runs on a dedicated server or VM
Controls allocation of VMs to hosts and assignment of storage and IP
addresses to the VM instance
Zubair Nabi 13: Cloud Stacks April 21, 2013 9 / 27
Management Server
All resources such as hosts, storage devices, and IP addresses are
provided to it for management
Runs on a dedicated server or VM
Controls allocation of VMs to hosts and assignment of storage and IP
addresses 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
Cloud Infrastructure
One or more zones (typically datacenters) consisting of various hosts
to run VMs
Zubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
Cloud Infrastructure
One or more zones (typically datacenters) consisting of various hosts
to run VMs
Zone: Consists of one or more pods
Zubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
Cloud Infrastructure
One or more zones (typically datacenters) consisting of various hosts
to run VMs
Zone: Consists of one or more pods
Pod: L2 switch and one or more clusters
Zubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
Cloud Infrastructure
One or more zones (typically datacenters) consisting of various hosts
to 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
Zubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
Cloud Infrastructure
One or more zones (typically datacenters) consisting of various hosts
to 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
Zubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
Cloud Infrastructure
One or more zones (typically datacenters) consisting of various hosts
to 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 volumes
for all VMs
Zubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
Cloud Infrastructure
One or more zones (typically datacenters) consisting of various hosts
to 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 volumes
for all VMs
Secondary storage: Associated with a zone and stores ISO images
and disk volume snapshots
Zubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
Networking Options
Basic: Similar to AWS: guest isolation through L3 mechanisms such
as IP address source filtering
Zubair Nabi 13: Cloud Stacks April 21, 2013 11 / 27
Networking Options
Basic: Similar to AWS: guest isolation through L3 mechanisms such
as IP address source filtering
Advanced: Flexibility in defining guest networks
Zubair Nabi 13: Cloud Stacks April 21, 2013 11 / 27
OpenStack2
Public and private IaaS cloud management software stack
2
http://www.openstack.org/
Zubair Nabi 13: Cloud Stacks April 21, 2013 12 / 27
OpenStack2
Public and private IaaS cloud management software stack
Used by PayPal, Cisco, Intel, HP, Rackspace, AT&T, etc.
2
http://www.openstack.org/
Zubair Nabi 13: Cloud Stacks April 21, 2013 12 / 27
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
2
http://www.openstack.org/
Zubair Nabi 13: Cloud Stacks April 21, 2013 12 / 27
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
2
http://www.openstack.org/
Zubair Nabi 13: Cloud Stacks April 21, 2013 12 / 27
Compute (Nova)
Manages the lifecycle of VM instances
Zubair Nabi 13: Cloud Stacks April 21, 2013 13 / 27
Compute (Nova)
Manages the lifecycle of VM instances
In charge of scheduling, resource provisioning, live migration, and
security
Zubair Nabi 13: Cloud Stacks April 21, 2013 13 / 27
Compute (Nova)
Manages the lifecycle of VM instances
In charge of scheduling, resource provisioning, live migration, and
security
Supports multiple hypervisors including KVM and Xen
Zubair Nabi 13: Cloud Stacks April 21, 2013 13 / 27
Storage
Provides both block and object storage for use by the VM
Zubair Nabi 13: Cloud Stacks April 21, 2013 14 / 27
Storage
Provides both block and object storage for use by the VM
Users are allowed to create block storage devices
Zubair Nabi 13: Cloud Stacks April 21, 2013 14 / 27
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 VM
instances
Zubair Nabi 13: Cloud Stacks April 21, 2013 14 / 27
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 VM
instances
Also provides a distributed object storage, called Swift
Zubair Nabi 13: Cloud Stacks April 21, 2013 14 / 27
Object Storage
Users access binary objects through a RESTful API
Zubair Nabi 13: Cloud Stacks April 21, 2013 15 / 27
Object Storage
Users access binary objects through a RESTful API
Similar to Amazon S3
Zubair Nabi 13: Cloud Stacks April 21, 2013 15 / 27
Object Storage
Users access binary objects through a RESTful API
Similar to Amazon S3
Useful for storing and managing large datasets
Zubair Nabi 13: Cloud Stacks April 21, 2013 15 / 27
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
Block Storage
Exposes a block device to the user
Zubair Nabi 13: Cloud Stacks April 21, 2013 16 / 27
Block Storage
Exposes a block device to the user
Users interact with the storage by mounting volumes within their VM
instances
Zubair Nabi 13: Cloud Stacks April 21, 2013 16 / 27
Block Storage
Exposes a block device to the user
Users interact with the storage by mounting volumes within their VM
instances
Can be detached from one instance and re-attached to another while
remaining persistent
Zubair Nabi 13: Cloud Stacks April 21, 2013 16 / 27
Block Storage
Exposes a block device to the user
Users interact with the storage by mounting volumes within their VM
instances
Can be detached from one instance and re-attached to another while
remaining persistent
Implemented internally through the Cinder project which supports
multiple back-ends
Zubair Nabi 13: Cloud Stacks April 21, 2013 16 / 27
Block Storage
Exposes a block device to the user
Users interact with the storage by mounting volumes within their VM
instances
Can be detached from one instance and re-attached to another while
remaining persistent
Implemented internally through the Cinder project which supports
multiple back-ends
Some drivers allow the instance direct access to the underlying
physical block device
Zubair Nabi 13: Cloud Stacks April 21, 2013 16 / 27
Block Storage
Exposes a block device to the user
Users interact with the storage by mounting volumes within their VM
instances
Can be detached from one instance and re-attached to another while
remaining persistent
Implemented internally through the Cinder project which supports
multiple back-ends
Some drivers allow the instance direct access to the underlying
physical block device
Improves I/O performance
Zubair Nabi 13: Cloud Stacks April 21, 2013 16 / 27
Networking
API-driven network and IP address management
Zubair Nabi 13: Cloud Stacks April 21, 2013 17 / 27
Networking
API-driven network and IP address management
Users are allowed to create their own networks
Zubair Nabi 13: Cloud Stacks April 21, 2013 17 / 27
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 segregation
from other allocations
Zubair Nabi 13: Cloud Stacks April 21, 2013 17 / 27
Dashboard (Horizon)
Web interface for administrators and users
Zubair Nabi 13: Cloud Stacks April 21, 2013 18 / 27
Dashboard (Horizon)
Web interface for administrators and users
Gives access to VM image management, VM instance lifecycle
management, and storage
Zubair Nabi 13: Cloud Stacks April 21, 2013 18 / 27
Identity (Keystone)
Centralized user account service with authentication and access
control
Zubair Nabi 13: Cloud Stacks April 21, 2013 19 / 27
Identity (Keystone)
Centralized user account service with authentication and access
control
Registry of OpenStack services
Zubair Nabi 13: Cloud Stacks April 21, 2013 19 / 27
Image (Glance)
Various image management capabilities, including registration and
delivery
Zubair Nabi 13: Cloud Stacks April 21, 2013 20 / 27
Image (Glance)
Various image management capabilities, including registration and
delivery
Supports multiple image formats
Zubair Nabi 13: Cloud Stacks April 21, 2013 20 / 27
Message Queue
Services communicate with each other using the message queue
Zubair Nabi 13: Cloud Stacks April 21, 2013 21 / 27
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
Application Programming Interface (API)
Command line client
Zubair Nabi 13: Cloud Stacks April 21, 2013 22 / 27
Application Programming Interface (API)
Command line client
Amazon EC2 compatibility APIs
Zubair Nabi 13: Cloud Stacks April 21, 2013 22 / 27
Outline
1 Server-side Stacks
2 Client-side Libraries
Zubair Nabi 13: Cloud Stacks April 21, 2013 23 / 27
Libcloud3
Abstracts away the APIs of different cloud vendors
3
http://libcloud.apache.org/
Zubair Nabi 13: Cloud Stacks April 21, 2013 24 / 27
Libcloud3
Abstracts away the APIs of different cloud vendors
Negates vendor API lock-in
3
http://libcloud.apache.org/
Zubair Nabi 13: Cloud Stacks April 21, 2013 24 / 27
Libcloud3
Abstracts away the APIs of different cloud vendors
Negates vendor API lock-in
Computation: Such as Amazon EC2 and Rackspace CloudServers
3
http://libcloud.apache.org/
Zubair Nabi 13: Cloud Stacks April 21, 2013 24 / 27
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
3
http://libcloud.apache.org/
Zubair Nabi 13: Cloud Stacks April 21, 2013 24 / 27
Compute
Abstraction for more than 20 providers such as Amazon, Rackspace,
Nimbus, etc.
Zubair Nabi 13: Cloud Stacks April 21, 2013 25 / 27
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
Storage
Abstraction for more than 10 providers such as Amazon, Rackspace,
CloudFiles, etc.
Zubair Nabi 13: Cloud Stacks April 21, 2013 26 / 27
References
OpenStack operations guide: http://docs.openstack.org/
trunk/openstack-ops/content/
Zubair Nabi 13: Cloud Stacks April 21, 2013 27 / 27

More Related Content

PPTX
Whamcloud is Back: Lustre Today and Future
PPTX
Build public private cloud using openstack
PPTX
Whamcloud - Lustre for HPC and Ai
PDF
Lustre at indiana university
PPTX
Openstack architure part 1
PDF
Cloud stack design camp on jun 15
PDF
OpenStack Explained: Learn OpenStack architecture and the secret of a success...
PPTX
Adam Dagnall: Advanced S3 compatible storage integration in CloudStack
Whamcloud is Back: Lustre Today and Future
Build public private cloud using openstack
Whamcloud - Lustre for HPC and Ai
Lustre at indiana university
Openstack architure part 1
Cloud stack design camp on jun 15
OpenStack Explained: Learn OpenStack architecture and the secret of a success...
Adam Dagnall: Advanced S3 compatible storage integration in CloudStack

What's hot (20)

PDF
Designing OpenStack Architectures
PPTX
Disaster Recovery Synapse
PPTX
Big Data on Cloud Native Platform
PPTX
CloudStack vs Openstack
PDF
Making Cloudy Peanut Butter Cups: Apache CloudStack + Riak CS
PPTX
Dcs cloud architecture-high-level-design
PPTX
Building Multi-Site and Multi-OpenStack Cloud with OpenStack Cascading
PPTX
Eucalyptus, Nimbus & OpenNebula
PPTX
Running OpenStack on Amazon AWS, Alex Fishman
PDF
Cloud OS development
PDF
AWS-compared-to-OpenStack
PPTX
OpenStack architecture and services
PPT
A Tour of Internal Accumulo Testing
PPTX
OpenStack Trove Kilo Update Jan 2015
PPT
February 2016 HUG: Running Spark Clusters in Containers with Docker
PPTX
Openstack Installation (ver. liberty)
PDF
Montreal Linux MeetUp - OpenStack Overview (2017.10.03)
PDF
Cloud Computing using OpenStack
PPTX
Apache CloudStack from API to UI
PDF
VNG/IRD - Cloud computing & Openstack discussion 3/5/2014
Designing OpenStack Architectures
Disaster Recovery Synapse
Big Data on Cloud Native Platform
CloudStack vs Openstack
Making Cloudy Peanut Butter Cups: Apache CloudStack + Riak CS
Dcs cloud architecture-high-level-design
Building Multi-Site and Multi-OpenStack Cloud with OpenStack Cascading
Eucalyptus, Nimbus & OpenNebula
Running OpenStack on Amazon AWS, Alex Fishman
Cloud OS development
AWS-compared-to-OpenStack
OpenStack architecture and services
A Tour of Internal Accumulo Testing
OpenStack Trove Kilo Update Jan 2015
February 2016 HUG: Running Spark Clusters in Containers with Docker
Openstack Installation (ver. liberty)
Montreal Linux MeetUp - OpenStack Overview (2017.10.03)
Cloud Computing using OpenStack
Apache CloudStack from API to UI
VNG/IRD - Cloud computing & Openstack discussion 3/5/2014
Ad

Viewers also liked (19)

PDF
AOS Lab 7: Page tables
PDF
AOS Lab 4: If you liked it, then you should have put a “lock” on it
PDF
AOS Lab 11: Virtualization
PDF
AOS Lab 8: Interrupts and Device Drivers
PDF
AOS Lab 1: Hello, Linux!
PDF
AOS Lab 10: File system -- Inodes and beyond
PDF
AOS Lab 6: Scheduling
PDF
AOS Lab 5: System calls
PDF
AOS Lab 9: File system -- Of buffers, logs, and blocks
PDF
AOS Lab 2: Hello, xv6!
PDF
Topic 14: Operating Systems and Virtualization
PDF
AOS Lab 12: Network Communication
PDF
Topic 15: Datacenter Design and Networking
PDF
The Anatomy of Web Censorship in Pakistan
PDF
MapReduce and DBMS Hybrids
PDF
Raabta: Low-cost Video Conferencing for the Developing World
PDF
AOS Lab 1: Hello, Linux!
PDF
MapReduce Application Scripting
PPTX
The Big Data Stack
AOS Lab 7: Page tables
AOS Lab 4: If you liked it, then you should have put a “lock” on it
AOS Lab 11: Virtualization
AOS Lab 8: Interrupts and Device Drivers
AOS Lab 1: Hello, Linux!
AOS Lab 10: File system -- Inodes and beyond
AOS Lab 6: Scheduling
AOS Lab 5: System calls
AOS Lab 9: File system -- Of buffers, logs, and blocks
AOS Lab 2: Hello, xv6!
Topic 14: Operating Systems and Virtualization
AOS Lab 12: Network Communication
Topic 15: Datacenter Design and Networking
The Anatomy of Web Censorship in Pakistan
MapReduce and DBMS Hybrids
Raabta: Low-cost Video Conferencing for the Developing World
AOS Lab 1: Hello, Linux!
MapReduce Application Scripting
The Big Data Stack
Ad

Similar to Topic 13: Cloud Stacks (20)

PPTX
Deploying Apache CloudStack from API to UI
PPTX
CloudStack Overview
PDF
Cloud stack for_beginners
PPTX
Apache CloudStack: API to UI (STLLUG)
PDF
Txlf2012
PDF
Cloudstack for beginners
PPTX
Getting Started with Apache CloudStack
PDF
Hacking apache cloud stack
PPTX
What is cloud computing
PPTX
Cloud stack overview
PPTX
PPTX
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
PPTX
CloudStack DC Meetup - Apache CloudStack Overview and 4.1/4.2 Preview
PDF
CloudStack - LinuxFest NorthWest
PPTX
Successfully deploy build manage your cloud with cloud stack2
PPTX
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
PPTX
Intro to CloudStack
PDF
CloudStack In Production
PPTX
Taking the open cloud to 11
PPTX
What are clouds made from
Deploying Apache CloudStack from API to UI
CloudStack Overview
Cloud stack for_beginners
Apache CloudStack: API to UI (STLLUG)
Txlf2012
Cloudstack for beginners
Getting Started with Apache CloudStack
Hacking apache cloud stack
What is cloud computing
Cloud stack overview
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
CloudStack DC Meetup - Apache CloudStack Overview and 4.1/4.2 Preview
CloudStack - LinuxFest NorthWest
Successfully deploy build manage your cloud with cloud stack2
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Intro to CloudStack
CloudStack In Production
Taking the open cloud to 11
What are clouds made from

More from Zubair Nabi (11)

PDF
Lab 5: Interconnecting a Datacenter using Mininet
PDF
Topic 12: NoSQL in Action
PDF
Lab 4: Interfacing with Cassandra
PDF
Topic 10: Taxonomy of Data and Storage
PDF
Topic 11: Google Filesystem
PDF
Lab 3: Writing a Naiad Application
PDF
Topic 9: MR+
PDF
Topic 8: Enhancements and Alternative Architectures
PDF
Topic 7: Shortcomings in the MapReduce Paradigm
PDF
Lab 1: Introduction to Amazon EC2 and MPI
PDF
Topic 6: MapReduce Applications
Lab 5: Interconnecting a Datacenter using Mininet
Topic 12: NoSQL in Action
Lab 4: Interfacing with Cassandra
Topic 10: Taxonomy of Data and Storage
Topic 11: Google Filesystem
Lab 3: Writing a Naiad Application
Topic 9: MR+
Topic 8: Enhancements and Alternative Architectures
Topic 7: Shortcomings in the MapReduce Paradigm
Lab 1: Introduction to Amazon EC2 and MPI
Topic 6: MapReduce Applications

Recently uploaded (20)

PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PPTX
Cloud computing and distributed systems.
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Sensors and Actuators in IoT Systems using pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Transforming Manufacturing operations through Intelligent Integrations
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
PDF
Modernizing your data center with Dell and AMD
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Advanced IT Governance
PDF
CIFDAQ's Market Wrap: Ethereum Leads, Bitcoin Lags, Institutions Shift
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
Cloud computing and distributed systems.
CIFDAQ's Market Insight: SEC Turns Pro Crypto
20250228 LYD VKU AI Blended-Learning.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
NewMind AI Weekly Chronicles - August'25 Week I
Sensors and Actuators in IoT Systems using pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Transforming Manufacturing operations through Intelligent Integrations
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Understanding_Digital_Forensics_Presentation.pptx
GamePlan Trading System Review: Professional Trader's Honest Take
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Modernizing your data center with Dell and AMD
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Advanced IT Governance
CIFDAQ's Market Wrap: Ethereum Leads, Bitcoin Lags, Institutions Shift

Topic 13: Cloud Stacks

  • 1. 13: Cloud Stacks Zubair Nabi [email protected] April 21, 2013 Zubair Nabi 13: Cloud Stacks April 21, 2013 1 / 27
  • 2. Outline 1 Server-side Stacks 2 Client-side Libraries Zubair Nabi 13: Cloud Stacks April 21, 2013 2 / 27
  • 3. Outline 1 Server-side Stacks 2 Client-side Libraries Zubair Nabi 13: Cloud Stacks April 21, 2013 3 / 27
  • 4. Introduction Cloud service creation and offering requires an entire ecosystem Zubair Nabi 13: Cloud Stacks April 21, 2013 4 / 27
  • 5. Introduction Cloud service creation and offering requires an entire ecosystem Focusing on just the software side, solutions are needed to manage computation, storage, and networking Zubair Nabi 13: Cloud Stacks April 21, 2013 4 / 27
  • 6. Introduction Cloud service creation and offering requires an entire ecosystem Focusing on just the software side, solutions are needed to manage computation, 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
  • 7. CloudStack1 Console for managing data center resources 1 http://cloudstack.apache.org/ Zubair Nabi 13: Cloud Stacks April 21, 2013 5 / 27
  • 8. CloudStack1 Console for managing data center resources Manages virtual machines, networking components, and storage 1 http://cloudstack.apache.org/ Zubair Nabi 13: Cloud Stacks April 21, 2013 5 / 27
  • 9. CloudStack1 Console for managing data center resources Manages virtual machines, networking components, and storage Enables IaaS 1 http://cloudstack.apache.org/ Zubair Nabi 13: Cloud Stacks April 21, 2013 5 / 27
  • 10. CloudStack1 Console for managing data center resources Manages virtual machines, networking components, and storage Enables IaaS Used by Zynga, Nokia Research, etc. 1 http://cloudstack.apache.org/ Zubair Nabi 13: Cloud Stacks April 21, 2013 5 / 27
  • 11. CloudStack1 Console for managing data center resources Manages virtual machines, networking components, and storage Enables IaaS Used by Zynga, Nokia Research, etc. Possible to convert Amazon EC2 API to the CloudStack one 1 http://cloudstack.apache.org/ Zubair Nabi 13: Cloud Stacks April 21, 2013 5 / 27
  • 12. What can it do? Can be used by both service providers and enterprises Zubair Nabi 13: Cloud Stacks April 21, 2013 6 / 27
  • 13. What can it do? Can be used by both service providers and enterprises Set up an on-demand, elastic cloud computing service Zubair Nabi 13: Cloud Stacks April 21, 2013 6 / 27
  • 14. What can it do? Can be used by both service providers and enterprises Set up an on-demand, elastic cloud computing service Virtual machine instances, storage volumes, and networking configurations Zubair Nabi 13: Cloud Stacks April 21, 2013 6 / 27
  • 15. What can it do? Can be used by both service providers and enterprises Set up an on-demand, elastic cloud computing service 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
  • 16. Features Multiple Hypervisor Support: Supports Citrix XenServer, VMWare vSphere, KVM, and Xen Zubair Nabi 13: Cloud Stacks April 21, 2013 7 / 27
  • 17. Features Multiple Hypervisor Support: Supports Citrix XenServer, VMWare vSphere, KVM, and Xen Massively Scalable Infrastructure Management: Can manage tens of thousands of geographically distributed datacenters Zubair Nabi 13: Cloud Stacks April 21, 2013 7 / 27
  • 18. Features Multiple Hypervisor Support: Supports Citrix XenServer, VMWare vSphere, KVM, and Xen Massively Scalable Infrastructure Management: Can manage tens of thousands of geographically distributed datacenters Automatic Configuration Management: Automatic configuration of each guest’s VMs, network, and storage settings Zubair Nabi 13: Cloud Stacks April 21, 2013 7 / 27
  • 19. Features (2) Graphical User Interface: Web interfaces both for the administrator as well as the user Zubair Nabi 13: Cloud Stacks April 21, 2013 8 / 27
  • 20. Features (2) Graphical User Interface: Web interfaces both for the administrator as well as the user API and Extensibility: Exposes a programmatic interface to all management features Zubair Nabi 13: Cloud Stacks April 21, 2013 8 / 27
  • 21. Features (2) Graphical User Interface: Web interfaces both for the administrator as well as the user API and Extensibility: Exposes a programmatic interface to all management features High Availability: Management Server itself can be deployed across multiple nodes, with load balancing Zubair Nabi 13: Cloud Stacks April 21, 2013 8 / 27
  • 22. Management Server All resources such as hosts, storage devices, and IP addresses are provided to it for management Zubair Nabi 13: Cloud Stacks April 21, 2013 9 / 27
  • 23. Management Server All resources such as hosts, storage devices, and IP addresses are provided to it for management Runs on a dedicated server or VM Zubair Nabi 13: Cloud Stacks April 21, 2013 9 / 27
  • 24. Management Server All resources such as hosts, storage devices, and IP addresses are provided to it for management Runs on a dedicated server or VM Controls allocation of VMs to hosts and assignment of storage and IP addresses to the VM instance Zubair Nabi 13: Cloud Stacks April 21, 2013 9 / 27
  • 25. Management Server All resources such as hosts, storage devices, and IP addresses are provided to it for management Runs on a dedicated server or VM Controls allocation of VMs to hosts and assignment of storage and IP addresses 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
  • 26. Cloud Infrastructure One or more zones (typically datacenters) consisting of various hosts to run VMs Zubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
  • 27. Cloud Infrastructure One or more zones (typically datacenters) consisting of various hosts to run VMs Zone: Consists of one or more pods Zubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
  • 28. Cloud Infrastructure One or more zones (typically datacenters) consisting of various hosts to run VMs Zone: Consists of one or more pods Pod: L2 switch and one or more clusters Zubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
  • 29. Cloud Infrastructure One or more zones (typically datacenters) consisting of various hosts to 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 Zubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
  • 30. Cloud Infrastructure One or more zones (typically datacenters) consisting of various hosts to 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 Zubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
  • 31. Cloud Infrastructure One or more zones (typically datacenters) consisting of various hosts to 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 volumes for all VMs Zubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
  • 32. Cloud Infrastructure One or more zones (typically datacenters) consisting of various hosts to 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 volumes for all VMs Secondary storage: Associated with a zone and stores ISO images and disk volume snapshots Zubair Nabi 13: Cloud Stacks April 21, 2013 10 / 27
  • 33. Networking Options Basic: Similar to AWS: guest isolation through L3 mechanisms such as IP address source filtering Zubair Nabi 13: Cloud Stacks April 21, 2013 11 / 27
  • 34. Networking Options Basic: Similar to AWS: guest isolation through L3 mechanisms such as IP address source filtering Advanced: Flexibility in defining guest networks Zubair Nabi 13: Cloud Stacks April 21, 2013 11 / 27
  • 35. OpenStack2 Public and private IaaS cloud management software stack 2 http://www.openstack.org/ Zubair Nabi 13: Cloud Stacks April 21, 2013 12 / 27
  • 36. OpenStack2 Public and private IaaS cloud management software stack Used by PayPal, Cisco, Intel, HP, Rackspace, AT&T, etc. 2 http://www.openstack.org/ Zubair Nabi 13: Cloud Stacks April 21, 2013 12 / 27
  • 37. 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 2 http://www.openstack.org/ Zubair Nabi 13: Cloud Stacks April 21, 2013 12 / 27
  • 38. 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 2 http://www.openstack.org/ Zubair Nabi 13: Cloud Stacks April 21, 2013 12 / 27
  • 39. Compute (Nova) Manages the lifecycle of VM instances Zubair Nabi 13: Cloud Stacks April 21, 2013 13 / 27
  • 40. Compute (Nova) Manages the lifecycle of VM instances In charge of scheduling, resource provisioning, live migration, and security Zubair Nabi 13: Cloud Stacks April 21, 2013 13 / 27
  • 41. Compute (Nova) Manages the lifecycle of VM instances In charge of scheduling, resource provisioning, live migration, and security Supports multiple hypervisors including KVM and Xen Zubair Nabi 13: Cloud Stacks April 21, 2013 13 / 27
  • 42. Storage Provides both block and object storage for use by the VM Zubair Nabi 13: Cloud Stacks April 21, 2013 14 / 27
  • 43. Storage Provides both block and object storage for use by the VM Users are allowed to create block storage devices Zubair Nabi 13: Cloud Stacks April 21, 2013 14 / 27
  • 44. 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 VM instances Zubair Nabi 13: Cloud Stacks April 21, 2013 14 / 27
  • 45. 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 VM instances Also provides a distributed object storage, called Swift Zubair Nabi 13: Cloud Stacks April 21, 2013 14 / 27
  • 46. Object Storage Users access binary objects through a RESTful API Zubair Nabi 13: Cloud Stacks April 21, 2013 15 / 27
  • 47. Object Storage Users access binary objects through a RESTful API Similar to Amazon S3 Zubair Nabi 13: Cloud Stacks April 21, 2013 15 / 27
  • 48. Object Storage Users access binary objects through a RESTful API Similar to Amazon S3 Useful for storing and managing large datasets Zubair Nabi 13: Cloud Stacks April 21, 2013 15 / 27
  • 49. 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
  • 50. Block Storage Exposes a block device to the user Zubair Nabi 13: Cloud Stacks April 21, 2013 16 / 27
  • 51. Block Storage Exposes a block device to the user Users interact with the storage by mounting volumes within their VM instances Zubair Nabi 13: Cloud Stacks April 21, 2013 16 / 27
  • 52. Block Storage Exposes a block device to the user Users interact with the storage by mounting volumes within their VM instances Can be detached from one instance and re-attached to another while remaining persistent Zubair Nabi 13: Cloud Stacks April 21, 2013 16 / 27
  • 53. Block Storage Exposes a block device to the user Users interact with the storage by mounting volumes within their VM instances Can be detached from one instance and re-attached to another while remaining persistent Implemented internally through the Cinder project which supports multiple back-ends Zubair Nabi 13: Cloud Stacks April 21, 2013 16 / 27
  • 54. Block Storage Exposes a block device to the user Users interact with the storage by mounting volumes within their VM instances Can be detached from one instance and re-attached to another while remaining persistent Implemented internally through the Cinder project which supports multiple back-ends Some drivers allow the instance direct access to the underlying physical block device Zubair Nabi 13: Cloud Stacks April 21, 2013 16 / 27
  • 55. Block Storage Exposes a block device to the user Users interact with the storage by mounting volumes within their VM instances Can be detached from one instance and re-attached to another while remaining persistent Implemented internally through the Cinder project which supports multiple back-ends Some drivers allow the instance direct access to the underlying physical block device Improves I/O performance Zubair Nabi 13: Cloud Stacks April 21, 2013 16 / 27
  • 56. Networking API-driven network and IP address management Zubair Nabi 13: Cloud Stacks April 21, 2013 17 / 27
  • 57. Networking API-driven network and IP address management Users are allowed to create their own networks Zubair Nabi 13: Cloud Stacks April 21, 2013 17 / 27
  • 58. 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 segregation from other allocations Zubair Nabi 13: Cloud Stacks April 21, 2013 17 / 27
  • 59. Dashboard (Horizon) Web interface for administrators and users Zubair Nabi 13: Cloud Stacks April 21, 2013 18 / 27
  • 60. Dashboard (Horizon) Web interface for administrators and users Gives access to VM image management, VM instance lifecycle management, and storage Zubair Nabi 13: Cloud Stacks April 21, 2013 18 / 27
  • 61. Identity (Keystone) Centralized user account service with authentication and access control Zubair Nabi 13: Cloud Stacks April 21, 2013 19 / 27
  • 62. Identity (Keystone) Centralized user account service with authentication and access control Registry of OpenStack services Zubair Nabi 13: Cloud Stacks April 21, 2013 19 / 27
  • 63. Image (Glance) Various image management capabilities, including registration and delivery Zubair Nabi 13: Cloud Stacks April 21, 2013 20 / 27
  • 64. Image (Glance) Various image management capabilities, including registration and delivery Supports multiple image formats Zubair Nabi 13: Cloud Stacks April 21, 2013 20 / 27
  • 65. Message Queue Services communicate with each other using the message queue Zubair Nabi 13: Cloud Stacks April 21, 2013 21 / 27
  • 66. 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
  • 67. Application Programming Interface (API) Command line client Zubair Nabi 13: Cloud Stacks April 21, 2013 22 / 27
  • 68. Application Programming Interface (API) Command line client Amazon EC2 compatibility APIs Zubair Nabi 13: Cloud Stacks April 21, 2013 22 / 27
  • 69. Outline 1 Server-side Stacks 2 Client-side Libraries Zubair Nabi 13: Cloud Stacks April 21, 2013 23 / 27
  • 70. Libcloud3 Abstracts away the APIs of different cloud vendors 3 http://libcloud.apache.org/ Zubair Nabi 13: Cloud Stacks April 21, 2013 24 / 27
  • 71. Libcloud3 Abstracts away the APIs of different cloud vendors Negates vendor API lock-in 3 http://libcloud.apache.org/ Zubair Nabi 13: Cloud Stacks April 21, 2013 24 / 27
  • 72. Libcloud3 Abstracts away the APIs of different cloud vendors Negates vendor API lock-in Computation: Such as Amazon EC2 and Rackspace CloudServers 3 http://libcloud.apache.org/ Zubair Nabi 13: Cloud Stacks April 21, 2013 24 / 27
  • 73. 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 3 http://libcloud.apache.org/ Zubair Nabi 13: Cloud Stacks April 21, 2013 24 / 27
  • 74. Compute Abstraction for more than 20 providers such as Amazon, Rackspace, Nimbus, etc. Zubair Nabi 13: Cloud Stacks April 21, 2013 25 / 27
  • 75. 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
  • 76. Storage Abstraction for more than 10 providers such as Amazon, Rackspace, CloudFiles, etc. Zubair Nabi 13: Cloud Stacks April 21, 2013 26 / 27
  • 77. References OpenStack operations guide: http://docs.openstack.org/ trunk/openstack-ops/content/ Zubair Nabi 13: Cloud Stacks April 21, 2013 27 / 27