Professional Documents
Culture Documents
CC PDF
CC PDF
Public Clouds
Applications
Development and
Runtime Platform
Compute
Cloud
Storage
Manager
Private
Clients
Cloud
Other Govt.
Cloud Services Cloud Services
10
Subscription-Oriented Cloud Services:
X{compute, apps, data, ..} as a Service (..aaS)
Application s
Development and
Runtime
Platform
Compute
Storage
Cloud Manager
Private Resources
Public/Internet Private/Enterprise Hybrid/Inter
Clouds Clouds Clouds
Infrastructure as a
Service
Virtualized Servers
Storage and Networking
Examples: Amazon EC2, S3, Rightscale, vCloud
CLOUD COMPUTING DEPLOYMENT
2010:
1970: DARPA’s TCP/IP 1999: Grid Computing Microsoft
Azure
1984: IEEE 802.3 1997: IEEE
Ethernet & LAN 2008: Google
802.11 (Wi-Fi) AppEngine
1966: Flynn’s Taxonomy
SISD, SIMD, MISD, MIMD 1989: TCP/IP
2007: Manjrasoft Aneka
IETF RFC 1122
1969: ARPANET
1984: DEC’s 2005: Amazon
1951: UNIVAC I, VMScluster AWS (EC2, S3)
First Mainframe
1975: Xerox
PARC 2004: Web 2.0
Clouds Invented 1990: Lee-Calliau
Ethernet WWW, HTTP, HTML
1960: Cray’s
Grids First
Supercomputer
Clusters
Mainframes
ParallelApplications
Parallel Programming
Sequential Environments
Applications
Compilers, PVM,
Cluster Middleware:
Single System Image and Availability MPI, ….
Infrastructure
PC / PC / PC / PC /
Workstation Workstation Workstation Workstation
Common Common Common Common
SW & Applications SW & Applications SW & Applications SW & Applications
Applications
User interface for presentation
Middleware
Distributed System
Operative
ExecSuytsitoenmplatform including network
connectivity services
Hardware
Computer and network hardware
MPI Programming,
JMS, MSMQ, MQS
Message
Based
Communicati
on
Paradigms /
Architectural
Models
DSS
Architectures
Applications
Architectures
Compilers
1940 1950 1960 1970 1980 1990 2000 2010 2020 2030
DSS
Instruction
Stream
Data Data
Input Output
Processor
Single Instruction Stream
Processor
Single Data Input Stream
Processor
N
Instruction Instruction Instruction
Stream 1 Stream 2 Stream N
Core 2
IPC IPC
Channel Channel
Shared Shared
function f1() Memory function f2() Memory function fJ() Medium Level
{…} {…} {…}
(Threads,
Function 1 Function 2 Function J Functions)
Hardware
Social Networks, Scientific Computing, Enterprise
Applications
Applications (SaaS)
Frameworks for
Cloud
Application
Development Middleware (PaaS)
Virtual hardware,
networking, OS Hardware and OS
images, and storage. (IaaS)
request
Two Tier
(Classic
Model)
clien respons serve
t e r
Three Tier
clien serve
t Server/client r
N Tier
serve r
peer
peer
peer
peer
peer
peer
Node A Node B
Procedure B
RPC Library RPC Service
Program A (RPC
Program C (RPC
Client) Server)
Parameters Parameters
Return Value Return Value
Marshaling and Unmarshaling and
Unmarshaling Marshaling
Procedure Name Procedure Name
Network
Node A Node B
Application B
21
10 16
Instance Remote
15
Instance
5: Object
1: Ask for Object Proxy Object Skeleton Activation
Reference
9 11 20 17 14 6 4
Remote Reference Remote Reference
Module Module
Application
A 8 12 7
13
2 19 18 3
Network
Web WSDL(s) Web Service
Server
Application
Web Service
WSDL
WS Client
Application
Application
WSFL Web Service Flow
Quality of Service
Static UDDI Service Discovery
Management
Direct UDDI Service Publication
Security
WSDL
Service Description
SOAP XML-based
Messaging
HTTP, FTP,e-mail, MQ, IIOP, ….
Network
POST /InStock HTTP/1.1 Host: www.stocks.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: <Size>
<?xml version=“1.0”>
Envelope
<soap:Envelope xmlns:soap=“http//www.w3.org/2001/12/soap-envelope”
soap:encondingStyle=“http//www.w3.org/2001/12/soap-encoding”>
Header: Metadata &
<soap:Header></soap:Header> Assertions
<soap:Body xmlns:m=http://www.stocks.org/stock>
<m:GetStockPrice>
<m:StockName>IBM<m:StockName>
</m:GetStockPrice>
</soap:Body>
Body: Method Call
</soap:Envelope>
POST /InStock HTTP/1.1 Host: www.stocks.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: <Size>
<?xml version=“1.0”>
Envelope
<soap:Envelope xmlns:soap=“http//www.w3.org/2001/12/soap-envelope”
soap:encondingStyle=“http//www.w3.org/2001/12/soap-encoding”>
Header: Metadata &
<soap:Header></soap:Header> Assertions
<soap:Body xmlns:m=http://www.stocks.org/stock>
<m:GetStockPriceResponse>
<m:Price>34.5<m:Price>
</m:GetStockPriceResponse>
</soap:Body>
Body: Execution Result
</soap:Envelope>
Virtual Image Applications Applications
Guest
Virtual Virtual
Virtual Storage
Hardware Networking
Virtualization Layer
Software Emulation
Applications
Application - level
Virtualization
Programming
Execution Stack
Languages Programming
Language level
Virtualization
Operative
Systems OS- level
Virtualization
Hardware
Hardware - level
Virtualization
Virtual
Resources
Aggregati
Sharing Emulation Isolation Virtualization
on
Physical
Resources
How it is Virtualization
Technique
done? Model
Emulation Application
Execution
Environme Programming
Process Level High-Level VM
nt Language
Network Hardware-
assisted
Virtualization
Full Virtualization
System Level Hardware
…. Paravirtualization
Partial
Virtualization
Applications Applications
API calls
API
Libraries Libraries
ISA ISA
Hardware Hardware
Least privileged mode
(user mode)
Ring 3
Privileged modes
Ring 2
Ring 1
Ring 0
Virtual
Storag
Image
e
VMM Host emulation
Virtual
Machine
binary translation
instruction mapping
interpretation
……
Host
VM VM VM VM
ISA
Virtual Machine
Manager VM VM VM VM
ABI ISA
Virtual Machine
Operative System Manager
ISA ISA
Hardware Hardware
Virtual Machine Instance
ISA
Instructions (ISA)
Interpreter
Routines
Dispatcher Interpreter
Routines
Allocator
Sensitive Instructions
User Instructions
VM
VM VM VM VM VM
Server A Server B
(running) (running)
Before
Migration
VM VM VM
VM VM VM
Server A Server B
(running) (inactive)
After
Migration
User Applications
(unmodified ABI)
Management Domain (Domain
0)
•VM Management Ring 3
•HTTP interface User Domains (Domain U)
•Access to the Xen Hypervisor Ring 2 • Guest OS
Ring 1 • Modified codebase
• Hypercalls into Xen VMM
Ring 0
Xen Hypervisor
(VMM)
• Memory
management
• CPU state
registers
• Devices I/O
User Applications
Ring 3 (unmodified ABI)
Ring 2
Ring 1
Guest Operating System
Ring 0 • Unmodified codebase
• VMM unaware
Hypervisor
• Binary translation
• Instruction caching
I/ User Applications
O
VMware
Web VM VM VM
Server VMware Instance Instance Instance
Virtual Ethernet
Distributed
adapter and switch
VM file system
Network stack
Resource Storage stack
scheduling
VMkernel Device drivers
vCloud
vCenter vCenter
Optimi
ze Isolate
Test Map
Re-
Augme archite
nt ct
Assessment
◦ Isolate dependency
Reference migration architecture
Data migration
Application migration
Leveraging AWS features
Optimize for Cloud
Is a challenge
Identify in test phase
Mitigate in optimization phase
Types
◦ General
Performance monitoring & tuning
Disaster recovery
Compliance with standards and governance issues
Licensing issues
QoS
Portability and interoperability
…
◦ Security-related
Issues of security at various level of app
issues of trust and issues of privacy
Right execution logs
Consistent identity management
…
UNIT-IV
Integration
◦ E2E (Enterprise to Enterprise)
◦ E2C (Enterprise to Cloud)
◦ C2C (Cloud to Cloud)
Systems
◦ One-to-many
◦ One-to-one
◦ Many-to-one
ITaaS (IT as a service)
◦ Cloud infrastructure
◦ HP: Everything as a service
◦ Relay Services
UNIT-V
Enterprise Cloud Computing Paradigm
Cloud Characteristic (NIST)
◦ On-demand self service
◦ Broad network access
◦ Resource pooling
◦ Rapid elasticity
◦ Measured service
Deployment Models
◦ Public Cloud
◦ Private Cloud
◦ Virtual Private Cloud
◦ Community Cloud
◦ Managed Cloud
◦ Hybrid Cloud
ERP
Capabilities of ERP
◦ Transactional Capabilities
OLTP (Online Transaction Processing)
manage transaction oriented applications(relational
databases)
ACID properties, write/update-intensive
CRM (Customer Relationship Management)
◦ Analytical Capabilities
OLAP (Online Analytical Processing)
Analysis, reporting, decision support
Read only
Data-intensive
BI (Business Intelligence)
Five stage of the cloud
Standard
◦ Vendor lock-in
◦ OGF OCCI for compute clouds
◦ SNIA CDMI for storage and data management
◦ DMTF Virtualization Management (VMAN)
◦ DMTF Cloud Incubator
◦ Drives adoption, Drives the market, Third party vendor
SLA
◦ Lack of control
◦ Primitive vs. Sophisticated
Cloud Service Brokerage (CSB)
◦ Cloud Service Intermediation
◦ Aggregation
◦ Cloud service Arbitrage
industry-specific characteristics
◦ Rivalry
◦ Comparable Products
Market share
◦ Federation
Small companies
◦ Switching cost
Standardization
IaaS provider characteristic
1. on-demand provisioning of computational resources
2. Virtualization technologies to lease resources
3. Provide public and simple remote interfaces to manage
resources
4. use a pay-as-you-go cost model
5. “infinite capacity” or “unlimited elasticity”
Private and Public difference
Role of Virtualization
◦ Key of these characteristic
◦ Allocating resources efficiently
◦ Taking into account an organization’s goals
◦ Reacting to changes in the physical infrastructure
Problems In VM Solutions
◦ Distributed management of virtual machines
◦ Reservation-based provisioning of virtualized
resource
◦ Provisioning to meet SLA commitments
RESERVOIR project
◦ Resources and Services Virtualization without
Barriers
◦ Addressed above problems
Manage the virtual infrastructures
themselves
Efficiently selecting or scheduling
• computational resources
• VM-based resource scheduling
◦ Static approach
◦ Efficiency approach
• Solution
◦ Virtual Infrastructure Manager
Managing VMs in a pool of distributed physical
resources
• Case Study
◦ OpenNebula
VM model attributes
◦ A capacity in terms of memory and CPU
◦ A set of NICs attached to one or more virtual networks
◦ A set of disk images
◦ A state file (optional) or recovery file
Life Cycle
◦ Resource Selection
◦ Resource Preparation
Contextualization
◦ VM Creation
◦ VM Migration
◦ VM Termination