1 - 1 - Cloud Computing at A Glance
1 - 1 - Cloud Computing at A Glance
1 - 1 - Cloud Computing at A Glance
Dr.A.Neela Madheswari,
ASP/CSE,
Mahendra Engg College,
Namakkal
2
Contents
• 1.1 Cloud Computing at a
Glance
• 1.2 Historical Developments
• 1.3 Building Cloud Computing Environments.
• 1.4 Virtualization
• Introduction
• Characteristics
• Taxonomy
• Virtualization and Cloud Computing
• Pros and Cons
• 1.5 Technology:
• Xen
• Vmware
• Microsoft Hyper-V
3
Virtual
hardware
Runtime environments
4
Cloud computing
• Definition as per U.S. National Institute of
Standards and Technology (NIST):
• Cloud computing is a
• model for enabling ubiquitous, convenient, on-demand
network access
• to a shared pool of configurable computing resources
(e.g., networks, servers, storage, applications, and
services)
• that can be rapidly provisioned and released with minimal
management effort or service provider interaction.
• NIST
• founded in 1901, part of U.S., Dept of Commerce
• Oldest physical science lab
6
• Dr.Rajkumar Buyya
• Redmond Barry Distinguished Prof
• Founding CEO of Manjrasoft Pvt Ltd
• Director of Cloud Computing and
Distributed Systems CLOUDS Lab
@ University of Melbourne
• Received B.E. and M.E. @ Mysore and
Bengaluru Universities 1992, 1995
• Received Ph.D. Monash University,
Melbourne, Australia
“A cloud is a type of parallel and distributed system
consisting of a collection of interconnected and
virtualized computers that are dynamically provisioned
and presented as one or more unified computing resources
based on service-level agreements established through
negotiation between the service provider and
consumers.”
7
Deployment models
• The three major models for deploying and
accessing cloud computing environments are
• public clouds
• private/enterprise clouds
• hybrid clouds
8
9
10
characteristics
• No up-front commitments
• On-demand access
• Nice pricing
• Simplified application acceleration and scalability
• Efficient resource allocation
• Energy efficiency
• Seamless creation and use of third-party services
13
Mainframes
• Mainframes are:
• Powerful
• highly reliable computers
• specialized for large data movement and massive
input/output (I/O) operations.
• They were mostly used by large
organizations for bulk data processing
• Example: online transactions, enterprise
resource planning, and other operations.
•
20
Cluster computing
• Cluster computing started as a low-cost alternative
to the use of mainframes and supercomputers.
• The availability of cheap commodity machines
are connected by a high-band width network and
controlled by specific software tools that manage
them as a single system.
• Starting in the 1980s, clusters -
• become the standard technology for parallel & high-performance
computing
• cheaper and available to a large number of groups, including
universities and small research labs.
22
Grid computing
• Appeared in early 1990s as an evolution of cluster
computing.
• Users can “consume” resources in the same way
as they use other utilities such as power, gas,
and water.
• Grids initially developed as aggregations of
geographically dispersed clusters by means of
Internet connections.
24
1.2.2 Virtualization
• Virtualization allows abstraction of fundamental
elements for computing:
• hard ware
• runtime environments
• Storage
• networking.
Web evolution
• Web 0.0 – Developing the Internet
• Web 1.0 – The shopping carts and Static web
• Web 2.0 – The writing and participating web
• Web 3.0 – The semantic executing web (r/w/e web)
• Web 4.0 – Mobile web
• Web 5.0 – Open, Linked and Intelligent Web (Emotional web)
• https://flatworldbusiness.wordpress.com/flat-
education/previously/web-1-0-vs-web-2-0-vs-web-3-0-a-bird-eye-on-
the-definition/
30
Contents
• 1.1 Cloud Computing at a Glance
• 1.2 Historical Developments
• 1.3 Building Cloud Computing
Environments
• 1.4 Virtualization
• Introduction
• Characteristics
• Taxonomy
• Virtualization and Cloud Computing
• Pros and Cons
• 1.6 Technology:
• Xen
• Vmware
• Microsoft Hyper-V
34
• S3:
• It is organized into buckets
• These are containers of objects that are stored in binary form and
can be enriched with attributes
• Users can store objects of any size
40
Google Appengine
• PaaS
• Mostly devoted to execute web applications
• Provides
• Secure execution environment
• Collection of services for development of scalable and high-
performance web applications
• Services includes: in-memory caching, scalable data
store, job queues, messaging
• Developers can build and test applications on their own
machines using Appengine SDK.
41
Microsoft azure
• PaaS
• Cloud operating system and platform
• Provides scalable runtime environment for web
applications and distributed applications
• Applications in Azure are organized on the concept of
roles
• Web role: designed to host web application
• Worker role: used to perform workload processing
• Virtual machine role: provides virtual environment in which
computing stack can be fully customized including OS
42
Hadoop
• PaaS
• Open source framework suited for processing large
datasets on commodity hardware
• Developed by Google provides 2 major operations: map
and reduce
• Provides runtime environment and developers need only
provide the input data and specify the map and reduce
functions that need to be executed.
43
Manjrasoft Aneka
• PaaS
• Used to create scalable applications and their deployment
on various types of clouds in a seamless and elastic
manner
• Supports a collection of programming abstractions for
developing applications and distributed environment
deployed on heterogeneous hardware
45
Contents
• 1.1 Cloud Computing at a Glance
• 1.2 Historical Developments
• 1.3 Building Cloud Computing Environments
• 1.4 Virtualization
• Introduction
• Characteristics
• Taxonomy
• Virtualization and Cloud Computing
• Pros and Cons
• 1.5 Technology:
• Xen
• Vmware
• Microsoft Hyper-V
46
Virtualization
• Fundamental component of cloud computing
• Allows creation of secure, customizable and isolated
environment for running applications without affecting
other users applications
• A computer program to emulate an executing environment
separate from one that hosts such programs.
• For example, on the top of Windows OS, we can run
Linux OS.
• Used to provide additional capability with minimum costs
• Virtual machine (VM):
• A VM is a software implementation of a machine that executes
programs like a physical machine
• Each VM includes its own kernel, OS, supporting libraries and apps
47
Some scenarios
1. Desktop user wants to run
a copy of Windows on his
Linux computer running
simultaneously
2. A system architect wants
to run 3 different server
OS on one machine
3. Programmer wants to test
his programs on a platform
the customer is using
48
Contents
• 1.1 Cloud Computing at a Glance
• 1.2 Historical Developments
• 1.3 Building Cloud Computing Environments
• 1.4 Virtualization
• Introduction
• Characteristics
• Taxonomy
• Virtualization and Cloud Computing
• Pros and Cons
•1.5 Technology
• Xen
• Vmware
• Microsoft Hyper-V
55
Xen
• Motivation
• Overview of Xen
• CPU virtualization
56
Motivation
• Stronger isolation between applications
• Using separate machines is too expensive
• Separate processes is not sufficient
• Excess computing power
• Different OSs on the same machine
• Types of virtualization:
• Hardware-level virtualization
• Vmware, Xen
• Operating system-level virtualization
• Jails
• High-level language virtual machines
• Java VM
57
Overview of Xen
• Requires the guest OS to be ported
• Applications run without modifications
• Does not use a host OS
58
CPU virtualization
• In an ideal VM CPU,
• Sensitive instructions cause exceptions
• Instructions that change the machine state
• Instructions that read or write sensitive registers / memory
Vmware
Reasons for selecting Vmware:
• Reduce physical infrastructure cost
• Reduce data center operating cost (power, cooling)
• Minimize lost revenue due to downtime
61
Without vmware
63
With Vmware
64
Vmware VMotion
67
68
Microsoft Hyper-V
• Description:
• Hypervisor based virtualization platform
• Windows server 2008 x64 edition technology
• Standard, Enterprise and data center editions
• Hardware requirements:
• X64 server with hardware assisted virtualization
• AMD AMD-V or Intel-VT
• Hardware enabled Data execution prevention (DEP)
• AMD NX (No eXecute bit)
• Intel HD (eXecute Disable)
Features of Hyper-V
1. Generation 2 VMs: Secure boot for VMs and booting off of virtual
SCSI or virtual network adapters
2. VM direct connect: Direct remote desktop connection to any
running VM over VM Bus.
3. Extend replication to a third site
4. Replica frequency options: By default, Hyper-V replica will look for
12 missed cycles before it switches into failed state
5. Compression for faster migration
6. Online VM exporting and cloning
7. Online virtual hard disk resizing
8. Shared virtual hard disk