SlideShare a Scribd company logo
1 of 21
6-ON THE MANAGEMENTOF
VIRTUAL MACHINES FOR
CLOUD INFRASTRUCTURES
Cloud Computing
Principles and Paradigms
Cloud Computing - Part II 1
27th Jan, 20201
In 2006, Amazon started offering virtual machines (VMs) to
anyone with a credit card for just $0.10/hour through its Elastic
Compute Cloud (EC2) service.
Tthe first company to lease VMs, the programmer-friendly EC2
Web services API and their pay-as-you-go pricing popularized
the “Infrastructure as a Service” (IaaS) paradigm, which is now
closely related to the notion of a “cloud.”
Success of Amazon EC2 , several other IaaS cloud providers, or
public clouds, have emerged—such as Elastic- Hosts [2], GoGrid
[3], and FlexiScale [4]—that provide a publicly accessible
interface for purchasing and managing computing infrastructure
that isinstantiated as VMs running on the provider’s data center
27th Jan, 20202
IaaS Anatomy
• IaaS provider 5 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
Cloud Computing - Part II 2
27th Jan, 20203
IaaS Anatomy
• Problems In VM Solutions
• Distributed management of virtual machines
• Reservation-based provisioning of virtualized resource
(Round robin, first fit)
• Provisioning to meet SLAcommitments
• RESERVOIR project
• Resources and Services Virtualization without Barriers
• Addressed above problems
Cloud Computing - Part II 3
27th Jan, 20204
DISTRIBUTED MANAGEMENT
OF VIRTUAL
INFRASTRUCTURE
Cloud Computing - Part II 4
27th Jan, 20205
Distributed Management
* Manage the virtual infrastructures themselves
• Efficiently selecting or scheduling computational resources
• VM-based resource scheduling
• Static approach (initially selected as greedy strategies)
*Efficiency approach (VI managers must be able to support flexible
and complex scheduling policies and must leverage the ability of VMs to
suspend, resume, and migrate.
• Solution
• Virtual Infrastructure Manager
• Managing VMs in a pool of distributed physical resources
• Case Study
• OpenNebula
Cloud Computing - Part II 5
27th Jan, 20206
Reservation-Based Provisioning of Virtualized
Resources
Demand for resources
Provisioning to Meet SLA Commitments
IaaS clouds can be used to deploy services that will be consumed by
users other than the one that deployed the services. For example, a
company might depend on an IaaS cloud provider to deploy three-tier
applications (Web front-end, application server, and database server) for
its customers. service owners will enter into service-level agreements
(SLAs) with their end users, covering guarantees such as the timeliness
with which these services will respond.
27th Jan, 20207
DISTRIBUTED MANAGEMENT OF VIRTUAL
INFRASTRUCTURES
Managing VMs in a pool of distributed physical resources is
a key concern in
IaaS clouds, requiring the use of a virtual infrastructure
manager.
OpenNebula is capable of managing groups of
interconnected VMs—with support for the Xen, KVM, and
VMWare platforms—within data centers and private clouds
that involve alarge amount of virtual and physical servers.
OpenNebula can also be used to build hybrid clouds by
interfacing with remote cloud sites
27th Jan, 20208
VM Model and Life Cycle(OpenNebula)
• VM model attributes
• A capacity in terms of memory andCPU
• A set of NICs attached to one or more virtualnetworks
• A set of disk images
• A state file (optional) or recoveryfile
Cloud Computing - Part II 6
27th Jan, 20209
VM Life Cycle(OpenNebula)
1. Resource Selection (Rank scheduling)
2. Resource PreparationThe disk images of the VM are transferred to the
target physical resource.
• Contextualization
3.VM Creation-booted by the resource hyper reseources
4. VM Migration-The VM potentially gets migrated to a more suitable
resource (e.g., to optimize the power consumption of the physical resources).
5.VM Termination. When the VM is going to shut down, OpenNebula can
transfer back its disk images to a known location. This way, changes in the
VM can be kept for a future use.
27th Jan, 202010
VM Management
(OpenNebula)
• Management Areas
• Virtualization
• physical resource-such as Xen, KVM, or VMWare, to control
• (e.g., boot, stop, or shutdown) the VM;
Image management-by transferring the VM images from
an image repository to the selected resource and by creating on-the-fly
temporary images;
Networking- networking by creating local area networks (LAN)
to interconnect the VMs and tracking the MAC addresses leased in each
network.
Cloud Computing - Part II 7
27th Jan, 202011
Virtualization
• How?
• Interfacing with the physical resource virtualization technology
(hypervisors like Xen, KVM)
• More detail
• Pluggable drivers
• Decouple the managing process from the underlying technology
• High-level command
• start VM, stop VM
• Driver-based architecture
• Adding support VIMs by writing drivers
Cloud Computing - Part II 8
27th Jan, 202012
Image Management
• How?
• Transferring the VM images from an image repository to the
selected resource and by creating on-the-fly temporaryimages
• More detail
• What is image?
• Virtual disk contains the OS and other additional software
• Image management model
Cloud Computing - Part II 9
27th Jan, 202013
Networking
• How?
• creating local area networks (LAN) to interconnect the VMs and
tracking the MAC addresses leased in each network.
• More detail
• virtual application network (VAN)
• the primary link between VMs
• OpenNebula dynamically creates VANs
• physical cluster
• set of hosts with one or more network interfaces
• each of them connected to a different physical network
• Networking Model
Cloud Computing - Part II 11
27th Jan, 202014
Presented by Majid Hajibaba
Networking Model(OpenNebula)
Cloud Computing - Part II 12
27th Jan, 202015
SCHEDULING TECHNIQUES
FOR ADVANCERESERVATION
OF CAPACITY
Cloud Computing - Part II 13
27th Jan, 202016
Advance Reservation
• Demand for resources is known beforehand
• Example
• an experiment depending on some complex piece of equipment is
going to run from 2 pm to 4 pm
• Commercial Providers
• Infinite capacity
• Private clouds
• Finite capacity
• Reservation lead resource to be underutilized
• Haizea
• Lease manager
• Scheduling backend by openNebula to support provisioning models
Cloud Computing - Part II 14
27th Jan, 202017
Reservation with VMs
Virtual machines are also an appealing vehicle for
implementing efficient reservation of resources due
to their ability to be suspended, potentially migrated,
and resumed without modifying any of the
applications running inside the VM. However, virtual
machines also raise additional challenges related to
the overhead of using VMs.
•Preparation overhead- the disk inage can be fly or
transferred to the pysical node where it is needed.
•Runtime overhead
•Haizea- Advanced reservation leases, where the resources must be
available at a specific time. Best-effort leases, where resources are
provisioned as soon as possible and requests are placed on a queue
if necessary. Immediate leases, where resources are provisioned27th Jan, 202018
Cloud Computing - Part II 15
27th Jan, 2020
Leasing Model
We define a lease as “a negotiated and renegotiable agreement
between a
resource provider and a resource consumer, where the former agrees
to make a set of resources available to the latter, based on a set of
lease terms presented by the resource consumer.”
The following availability terms
• Start time may be unspecified (a best-effort lease) or specified (an
advance
reservation lease). In the later case, the user may specify either a
specific
start time or a time period during which the lease start may occur.
• Maximum duration refers to the total maximum amount of time that
the
leased resources will be available.19
Reservation with VMs
• Challenges
• Preparation overhead
• Runtime overhead
• Haizea
• Leases
• Advance reservation
• Best-effort
• Immediate
Cloud Computing - Part II 16
27th Jan, 202020
Haizea Lease Scheduling
• Backfilling
• How to address preparation and runtime Overhead?
• Disk image transfer before start
• Caching
• How does best-effort lease?
• Scheduling using queue
• Backfilling algorithm
• Depend on required disk image
• VM suspension/resumption
• How does advance reservation lease?
• EDF algorithm for preparation overhead
• Without preemption for Runtime overhead
• Pluggable policy
• Combine best-effort and advance reservation
• Overcome utilization problems
Cloud Computing - Part II 17
27th Jan, 202021

More Related Content

What's hot

Cloud computing and Cloud Enabling Technologies
Cloud computing and Cloud Enabling TechnologiesCloud computing and Cloud Enabling Technologies
Cloud computing and Cloud Enabling TechnologiesAbdelkhalik Mosa
 
Virtualization in cloud computing ppt
Virtualization in cloud computing pptVirtualization in cloud computing ppt
Virtualization in cloud computing pptMehul Patel
 
Cloud Computing Environment using Cluster as a service
Cloud Computing Environment using Cluster as a serviceCloud Computing Environment using Cluster as a service
Cloud Computing Environment using Cluster as a serviceANUSUYA T K
 
Infrastructure as a Service ( IaaS)
Infrastructure as a Service ( IaaS)Infrastructure as a Service ( IaaS)
Infrastructure as a Service ( IaaS)Ravindra Dastikop
 
cloud virtualization technology
 cloud virtualization technology  cloud virtualization technology
cloud virtualization technology Ravindra Dastikop
 
Corba concepts & corba architecture
Corba concepts & corba architectureCorba concepts & corba architecture
Corba concepts & corba architecturenupurmakhija1211
 
Cloud computing
Cloud computingCloud computing
Cloud computingMOHIT PANDEY
 
Cloud computing
Cloud computingCloud computing
Cloud computingReetesh Gupta
 
MapReduce in Cloud Computing
MapReduce in Cloud ComputingMapReduce in Cloud Computing
MapReduce in Cloud ComputingMohammad Mustaqeem
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud ComputingNaveed Farooq
 
Unit 3 -Data storage and cloud computing
Unit 3 -Data storage and cloud computingUnit 3 -Data storage and cloud computing
Unit 3 -Data storage and cloud computingMonishaNehkal
 
SLA Agreement, types and Life Cycle
SLA Agreement, types and Life Cycle SLA Agreement, types and Life Cycle
SLA Agreement, types and Life Cycle Dr Neelesh Jain
 
Week 3 lecture material cc
Week 3 lecture material ccWeek 3 lecture material cc
Week 3 lecture material ccAnkit Gupta
 
Types of cloud computing
Types of cloud computingTypes of cloud computing
Types of cloud computingKrishnaRamalingam2
 

What's hot (20)

Cloud computing and Cloud Enabling Technologies
Cloud computing and Cloud Enabling TechnologiesCloud computing and Cloud Enabling Technologies
Cloud computing and Cloud Enabling Technologies
 
Common Standards in Cloud Computing
Common Standards in Cloud ComputingCommon Standards in Cloud Computing
Common Standards in Cloud Computing
 
Virtualization in cloud computing ppt
Virtualization in cloud computing pptVirtualization in cloud computing ppt
Virtualization in cloud computing ppt
 
Benefits of Cloud Computing
Benefits of Cloud ComputingBenefits of Cloud Computing
Benefits of Cloud Computing
 
Cloud Computing Environment using Cluster as a service
Cloud Computing Environment using Cluster as a serviceCloud Computing Environment using Cluster as a service
Cloud Computing Environment using Cluster as a service
 
Infrastructure as a Service ( IaaS)
Infrastructure as a Service ( IaaS)Infrastructure as a Service ( IaaS)
Infrastructure as a Service ( IaaS)
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
cloud virtualization technology
 cloud virtualization technology  cloud virtualization technology
cloud virtualization technology
 
Corba concepts & corba architecture
Corba concepts & corba architectureCorba concepts & corba architecture
Corba concepts & corba architecture
 
Cloud Service Models
Cloud Service ModelsCloud Service Models
Cloud Service Models
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
MapReduce in Cloud Computing
MapReduce in Cloud ComputingMapReduce in Cloud Computing
MapReduce in Cloud Computing
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
Unit 3 -Data storage and cloud computing
Unit 3 -Data storage and cloud computingUnit 3 -Data storage and cloud computing
Unit 3 -Data storage and cloud computing
 
SLA Agreement, types and Life Cycle
SLA Agreement, types and Life Cycle SLA Agreement, types and Life Cycle
SLA Agreement, types and Life Cycle
 
Week 3 lecture material cc
Week 3 lecture material ccWeek 3 lecture material cc
Week 3 lecture material cc
 
On demand provisioning
On demand provisioningOn demand provisioning
On demand provisioning
 
Types of cloud computing
Types of cloud computingTypes of cloud computing
Types of cloud computing
 

Similar to VM for cloud infrastructure

9-cloud-computing.pdf
9-cloud-computing.pdf9-cloud-computing.pdf
9-cloud-computing.pdfErvisTema1
 
2 vm provisioning
2 vm provisioning2 vm provisioning
2 vm provisioningROSHNI PRADHAN
 
fundamentals of iot cloud computing.pptx
fundamentals of iot cloud computing.pptxfundamentals of iot cloud computing.pptx
fundamentals of iot cloud computing.pptxssuser0b643d
 
CC Notes.pdf of jdjejwiwu22u28938ehdh3y2u2838e
CC Notes.pdf of jdjejwiwu22u28938ehdh3y2u2838eCC Notes.pdf of jdjejwiwu22u28938ehdh3y2u2838e
CC Notes.pdf of jdjejwiwu22u28938ehdh3y2u2838eRamzanShareefPrivate
 
Unit-I: Introduction to Cloud Computing
Unit-I: Introduction to Cloud ComputingUnit-I: Introduction to Cloud Computing
Unit-I: Introduction to Cloud ComputingDivya S
 
Cloud computing 2
Cloud computing 2Cloud computing 2
Cloud computing 2Shyam Kona
 
Automating the Cloud: A Deep Dive into Virtual Machine Provisioning
Automating the Cloud: A Deep Dive into Virtual Machine ProvisioningAutomating the Cloud: A Deep Dive into Virtual Machine Provisioning
Automating the Cloud: A Deep Dive into Virtual Machine ProvisioningHitesh Mohapatra
 
Deployment of private cloud infrastructure.
Deployment of private cloud infrastructure.Deployment of private cloud infrastructure.
Deployment of private cloud infrastructure.Saket Kumar
 
Cloud Delivery Model Considerations
Cloud Delivery Model ConsiderationsCloud Delivery Model Considerations
Cloud Delivery Model ConsiderationsMohammed Sajjad Ali
 
Cloud computing(components and models).pptx
Cloud computing(components and models).pptxCloud computing(components and models).pptx
Cloud computing(components and models).pptxRakshyaKhanal4
 
Deployment of private cloud infrastructure copy
Deployment of private cloud infrastructure   copyDeployment of private cloud infrastructure   copy
Deployment of private cloud infrastructure copyprabhat kumar
 
Cloud and Virtualization (Using Virtualization to form Clouds)
Cloud and Virtualization (Using Virtualization to form Clouds)Cloud and Virtualization (Using Virtualization to form Clouds)
Cloud and Virtualization (Using Virtualization to form Clouds)Rubal Sagwal
 
A cross referenced whitepaper on cloud computing
A cross referenced whitepaper on cloud computingA cross referenced whitepaper on cloud computing
A cross referenced whitepaper on cloud computingShahzad
 
CloudComputing_UNIT4.pdf
CloudComputing_UNIT4.pdfCloudComputing_UNIT4.pdf
CloudComputing_UNIT4.pdfkhan593595
 
CloudComputing_UNIT4.pdf
CloudComputing_UNIT4.pdfCloudComputing_UNIT4.pdf
CloudComputing_UNIT4.pdfkhan593595
 
CloudComputing_UNIT 3.pdf
CloudComputing_UNIT 3.pdfCloudComputing_UNIT 3.pdf
CloudComputing_UNIT 3.pdfkhan593595
 

Similar to VM for cloud infrastructure (20)

9-cloud-computing.pdf
9-cloud-computing.pdf9-cloud-computing.pdf
9-cloud-computing.pdf
 
2 vm provisioning
2 vm provisioning2 vm provisioning
2 vm provisioning
 
vm provisioning
vm provisioningvm provisioning
vm provisioning
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
fundamentals of iot cloud computing.pptx
fundamentals of iot cloud computing.pptxfundamentals of iot cloud computing.pptx
fundamentals of iot cloud computing.pptx
 
CC Notes.pdf of jdjejwiwu22u28938ehdh3y2u2838e
CC Notes.pdf of jdjejwiwu22u28938ehdh3y2u2838eCC Notes.pdf of jdjejwiwu22u28938ehdh3y2u2838e
CC Notes.pdf of jdjejwiwu22u28938ehdh3y2u2838e
 
Unit-I: Introduction to Cloud Computing
Unit-I: Introduction to Cloud ComputingUnit-I: Introduction to Cloud Computing
Unit-I: Introduction to Cloud Computing
 
Cloud computing 2
Cloud computing 2Cloud computing 2
Cloud computing 2
 
Automating the Cloud: A Deep Dive into Virtual Machine Provisioning
Automating the Cloud: A Deep Dive into Virtual Machine ProvisioningAutomating the Cloud: A Deep Dive into Virtual Machine Provisioning
Automating the Cloud: A Deep Dive into Virtual Machine Provisioning
 
E42053035
E42053035E42053035
E42053035
 
Deployment of private cloud infrastructure.
Deployment of private cloud infrastructure.Deployment of private cloud infrastructure.
Deployment of private cloud infrastructure.
 
Cloud Delivery Model Considerations
Cloud Delivery Model ConsiderationsCloud Delivery Model Considerations
Cloud Delivery Model Considerations
 
Cloud computing(components and models).pptx
Cloud computing(components and models).pptxCloud computing(components and models).pptx
Cloud computing(components and models).pptx
 
Cloud Computing Ppt
Cloud Computing PptCloud Computing Ppt
Cloud Computing Ppt
 
Deployment of private cloud infrastructure copy
Deployment of private cloud infrastructure   copyDeployment of private cloud infrastructure   copy
Deployment of private cloud infrastructure copy
 
Cloud and Virtualization (Using Virtualization to form Clouds)
Cloud and Virtualization (Using Virtualization to form Clouds)Cloud and Virtualization (Using Virtualization to form Clouds)
Cloud and Virtualization (Using Virtualization to form Clouds)
 
A cross referenced whitepaper on cloud computing
A cross referenced whitepaper on cloud computingA cross referenced whitepaper on cloud computing
A cross referenced whitepaper on cloud computing
 
CloudComputing_UNIT4.pdf
CloudComputing_UNIT4.pdfCloudComputing_UNIT4.pdf
CloudComputing_UNIT4.pdf
 
CloudComputing_UNIT4.pdf
CloudComputing_UNIT4.pdfCloudComputing_UNIT4.pdf
CloudComputing_UNIT4.pdf
 
CloudComputing_UNIT 3.pdf
CloudComputing_UNIT 3.pdfCloudComputing_UNIT 3.pdf
CloudComputing_UNIT 3.pdf
 

More from ANUSUYA T K

Chap3 Device Technology
Chap3 Device TechnologyChap3 Device Technology
Chap3 Device TechnologyANUSUYA T K
 
Data preprocessing PPT
Data preprocessing PPTData preprocessing PPT
Data preprocessing PPTANUSUYA T K
 
Introduction to Corel Draw
Introduction to Corel DrawIntroduction to Corel Draw
Introduction to Corel DrawANUSUYA T K
 
Introduction to dm and dw
Introduction to dm and dwIntroduction to dm and dw
Introduction to dm and dwANUSUYA T K
 
Chap 2-pc applications examples
Chap 2-pc applications examplesChap 2-pc applications examples
Chap 2-pc applications examplesANUSUYA T K
 
Chap1 introduction to Pervasive Computing
Chap1 introduction to Pervasive ComputingChap1 introduction to Pervasive Computing
Chap1 introduction to Pervasive ComputingANUSUYA T K
 
Pagemaker7.0 layout
Pagemaker7.0 layoutPagemaker7.0 layout
Pagemaker7.0 layoutANUSUYA T K
 
Mail merge in page maker 7
Mail merge in page maker 7Mail merge in page maker 7
Mail merge in page maker 7ANUSUYA T K
 
Layers and types of cloud
Layers and types of cloudLayers and types of cloud
Layers and types of cloudANUSUYA T K
 
Cloud deployment models
Cloud deployment modelsCloud deployment models
Cloud deployment modelsANUSUYA T K
 
Virtual Machine provisioning and migration services
Virtual Machine provisioning and migration servicesVirtual Machine provisioning and migration services
Virtual Machine provisioning and migration servicesANUSUYA T K
 
Data Storage in Cloud computing
Data Storage in Cloud computingData Storage in Cloud computing
Data Storage in Cloud computingANUSUYA T K
 
Migrating into a cloud
Migrating into a cloudMigrating into a cloud
Migrating into a cloudANUSUYA T K
 
Cloud computing introduction
Cloud computing introductionCloud computing introduction
Cloud computing introductionANUSUYA T K
 

More from ANUSUYA T K (15)

Chap3 Device Technology
Chap3 Device TechnologyChap3 Device Technology
Chap3 Device Technology
 
Data preprocessing PPT
Data preprocessing PPTData preprocessing PPT
Data preprocessing PPT
 
Introduction to Corel Draw
Introduction to Corel DrawIntroduction to Corel Draw
Introduction to Corel Draw
 
Introduction to dm and dw
Introduction to dm and dwIntroduction to dm and dw
Introduction to dm and dw
 
Chap 2-pc applications examples
Chap 2-pc applications examplesChap 2-pc applications examples
Chap 2-pc applications examples
 
Chap1 introduction to Pervasive Computing
Chap1 introduction to Pervasive ComputingChap1 introduction to Pervasive Computing
Chap1 introduction to Pervasive Computing
 
Pagemaker7.0 layout
Pagemaker7.0 layoutPagemaker7.0 layout
Pagemaker7.0 layout
 
Mail merge in page maker 7
Mail merge in page maker 7Mail merge in page maker 7
Mail merge in page maker 7
 
Layers and types of cloud
Layers and types of cloudLayers and types of cloud
Layers and types of cloud
 
Cloud deployment models
Cloud deployment modelsCloud deployment models
Cloud deployment models
 
Cc chap-8
Cc chap-8Cc chap-8
Cc chap-8
 
Virtual Machine provisioning and migration services
Virtual Machine provisioning and migration servicesVirtual Machine provisioning and migration services
Virtual Machine provisioning and migration services
 
Data Storage in Cloud computing
Data Storage in Cloud computingData Storage in Cloud computing
Data Storage in Cloud computing
 
Migrating into a cloud
Migrating into a cloudMigrating into a cloud
Migrating into a cloud
 
Cloud computing introduction
Cloud computing introductionCloud computing introduction
Cloud computing introduction
 

Recently uploaded

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 

Recently uploaded (20)

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 

VM for cloud infrastructure

  • 1. 6-ON THE MANAGEMENTOF VIRTUAL MACHINES FOR CLOUD INFRASTRUCTURES Cloud Computing Principles and Paradigms Cloud Computing - Part II 1 27th Jan, 20201
  • 2. In 2006, Amazon started offering virtual machines (VMs) to anyone with a credit card for just $0.10/hour through its Elastic Compute Cloud (EC2) service. Tthe first company to lease VMs, the programmer-friendly EC2 Web services API and their pay-as-you-go pricing popularized the “Infrastructure as a Service” (IaaS) paradigm, which is now closely related to the notion of a “cloud.” Success of Amazon EC2 , several other IaaS cloud providers, or public clouds, have emerged—such as Elastic- Hosts [2], GoGrid [3], and FlexiScale [4]—that provide a publicly accessible interface for purchasing and managing computing infrastructure that isinstantiated as VMs running on the provider’s data center 27th Jan, 20202
  • 3. IaaS Anatomy • IaaS provider 5 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 Cloud Computing - Part II 2 27th Jan, 20203
  • 4. IaaS Anatomy • Problems In VM Solutions • Distributed management of virtual machines • Reservation-based provisioning of virtualized resource (Round robin, first fit) • Provisioning to meet SLAcommitments • RESERVOIR project • Resources and Services Virtualization without Barriers • Addressed above problems Cloud Computing - Part II 3 27th Jan, 20204
  • 5. DISTRIBUTED MANAGEMENT OF VIRTUAL INFRASTRUCTURE Cloud Computing - Part II 4 27th Jan, 20205
  • 6. Distributed Management * Manage the virtual infrastructures themselves • Efficiently selecting or scheduling computational resources • VM-based resource scheduling • Static approach (initially selected as greedy strategies) *Efficiency approach (VI managers must be able to support flexible and complex scheduling policies and must leverage the ability of VMs to suspend, resume, and migrate. • Solution • Virtual Infrastructure Manager • Managing VMs in a pool of distributed physical resources • Case Study • OpenNebula Cloud Computing - Part II 5 27th Jan, 20206
  • 7. Reservation-Based Provisioning of Virtualized Resources Demand for resources Provisioning to Meet SLA Commitments IaaS clouds can be used to deploy services that will be consumed by users other than the one that deployed the services. For example, a company might depend on an IaaS cloud provider to deploy three-tier applications (Web front-end, application server, and database server) for its customers. service owners will enter into service-level agreements (SLAs) with their end users, covering guarantees such as the timeliness with which these services will respond. 27th Jan, 20207
  • 8. DISTRIBUTED MANAGEMENT OF VIRTUAL INFRASTRUCTURES Managing VMs in a pool of distributed physical resources is a key concern in IaaS clouds, requiring the use of a virtual infrastructure manager. OpenNebula is capable of managing groups of interconnected VMs—with support for the Xen, KVM, and VMWare platforms—within data centers and private clouds that involve alarge amount of virtual and physical servers. OpenNebula can also be used to build hybrid clouds by interfacing with remote cloud sites 27th Jan, 20208
  • 9. VM Model and Life Cycle(OpenNebula) • VM model attributes • A capacity in terms of memory andCPU • A set of NICs attached to one or more virtualnetworks • A set of disk images • A state file (optional) or recoveryfile Cloud Computing - Part II 6 27th Jan, 20209
  • 10. VM Life Cycle(OpenNebula) 1. Resource Selection (Rank scheduling) 2. Resource PreparationThe disk images of the VM are transferred to the target physical resource. • Contextualization 3.VM Creation-booted by the resource hyper reseources 4. VM Migration-The VM potentially gets migrated to a more suitable resource (e.g., to optimize the power consumption of the physical resources). 5.VM Termination. When the VM is going to shut down, OpenNebula can transfer back its disk images to a known location. This way, changes in the VM can be kept for a future use. 27th Jan, 202010
  • 11. VM Management (OpenNebula) • Management Areas • Virtualization • physical resource-such as Xen, KVM, or VMWare, to control • (e.g., boot, stop, or shutdown) the VM; Image management-by transferring the VM images from an image repository to the selected resource and by creating on-the-fly temporary images; Networking- networking by creating local area networks (LAN) to interconnect the VMs and tracking the MAC addresses leased in each network. Cloud Computing - Part II 7 27th Jan, 202011
  • 12. Virtualization • How? • Interfacing with the physical resource virtualization technology (hypervisors like Xen, KVM) • More detail • Pluggable drivers • Decouple the managing process from the underlying technology • High-level command • start VM, stop VM • Driver-based architecture • Adding support VIMs by writing drivers Cloud Computing - Part II 8 27th Jan, 202012
  • 13. Image Management • How? • Transferring the VM images from an image repository to the selected resource and by creating on-the-fly temporaryimages • More detail • What is image? • Virtual disk contains the OS and other additional software • Image management model Cloud Computing - Part II 9 27th Jan, 202013
  • 14. Networking • How? • creating local area networks (LAN) to interconnect the VMs and tracking the MAC addresses leased in each network. • More detail • virtual application network (VAN) • the primary link between VMs • OpenNebula dynamically creates VANs • physical cluster • set of hosts with one or more network interfaces • each of them connected to a different physical network • Networking Model Cloud Computing - Part II 11 27th Jan, 202014
  • 15. Presented by Majid Hajibaba Networking Model(OpenNebula) Cloud Computing - Part II 12 27th Jan, 202015
  • 16. SCHEDULING TECHNIQUES FOR ADVANCERESERVATION OF CAPACITY Cloud Computing - Part II 13 27th Jan, 202016
  • 17. Advance Reservation • Demand for resources is known beforehand • Example • an experiment depending on some complex piece of equipment is going to run from 2 pm to 4 pm • Commercial Providers • Infinite capacity • Private clouds • Finite capacity • Reservation lead resource to be underutilized • Haizea • Lease manager • Scheduling backend by openNebula to support provisioning models Cloud Computing - Part II 14 27th Jan, 202017
  • 18. Reservation with VMs Virtual machines are also an appealing vehicle for implementing efficient reservation of resources due to their ability to be suspended, potentially migrated, and resumed without modifying any of the applications running inside the VM. However, virtual machines also raise additional challenges related to the overhead of using VMs. •Preparation overhead- the disk inage can be fly or transferred to the pysical node where it is needed. •Runtime overhead •Haizea- Advanced reservation leases, where the resources must be available at a specific time. Best-effort leases, where resources are provisioned as soon as possible and requests are placed on a queue if necessary. Immediate leases, where resources are provisioned27th Jan, 202018
  • 19. Cloud Computing - Part II 15 27th Jan, 2020 Leasing Model We define a lease as “a negotiated and renegotiable agreement between a resource provider and a resource consumer, where the former agrees to make a set of resources available to the latter, based on a set of lease terms presented by the resource consumer.” The following availability terms • Start time may be unspecified (a best-effort lease) or specified (an advance reservation lease). In the later case, the user may specify either a specific start time or a time period during which the lease start may occur. • Maximum duration refers to the total maximum amount of time that the leased resources will be available.19
  • 20. Reservation with VMs • Challenges • Preparation overhead • Runtime overhead • Haizea • Leases • Advance reservation • Best-effort • Immediate Cloud Computing - Part II 16 27th Jan, 202020
  • 21. Haizea Lease Scheduling • Backfilling • How to address preparation and runtime Overhead? • Disk image transfer before start • Caching • How does best-effort lease? • Scheduling using queue • Backfilling algorithm • Depend on required disk image • VM suspension/resumption • How does advance reservation lease? • EDF algorithm for preparation overhead • Without preemption for Runtime overhead • Pluggable policy • Combine best-effort and advance reservation • Overcome utilization problems Cloud Computing - Part II 17 27th Jan, 202021