OpenNebula TechDay Waterloo 2015 - Hyperconvergence and OpenNebula
Building Clouds with OpenNebula: A Grid...
Transcript of Building Clouds with OpenNebula: A Grid...
![Page 1: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/1.jpg)
1/39
Building Clouds with OpenNebula: A Grid Computing Perspective
Ruben S.Montero
XtreemOS Summer School 2010 Reisensburg Castle Günzburg, Germany
July 5-9, 2010
Distributed Systems Architecture Research GroupUniversidad Complutense de Madrid
dsa-research.org
![Page 2: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/2.jpg)
2/23
Building Clouds with OpenNebula: A Grid Computing Perspective
Ruben S.Montero
Distributed Systems Architecture Research GroupUniversidad Complutense de Madrid
dsa-research.org
● Provide an overview of Cloud Computing
● Describe how Clouds can help Grids
● Experiences using Clouds and Grids
● Hands on: Using a OpenNebula Cloud
![Page 3: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/3.jpg)
3/23
Cloud Computing in a NutshellWhat Who
On-demand access to any application
End-user(does not care about hw or sw)
Platform for building and delivering web applications
Developer (no managing of the underlying hw & swlayers)
Delivery of a raw computer infrastructure
System Administrator(complete management of the computer infrastructure)
Software as a Service
ᄎ
Platform as a Service
Infrastructure as a Service
Physical Infrastructure
![Page 4: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/4.jpg)
4/23
The Public IaaS Cloud
● Simple Web Interface
● Raw Infrastructure Resources
● Total control of the resources
● Capacity leased in the form of Vms
● Complete Service-HW decoupling
● Pay-as-you-go (On-demand access)
● A single user can not get all the resources
● Multi-tenancy
● Elastic & “infinite” Capacity
![Page 5: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/5.jpg)
5/23
Using a Public IaaS Cloud
Service End-Users
Web Server(Load Balancer)
AppServer
AppServer
AppServer
Network
DBs(storage)
Total control of service layout●Resources allocated
●Software Stack
● Type & Number of components
● Service Elasticity
IaaS Cloud
Virtual Machines
![Page 6: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/6.jpg)
6/23
The Private IaaS Cloud
A “Public Cloud behind the firewall”● Security concerns
● Flexible management (consolidation, adaptation, provisioning...)
VMs are great!!... (the BUT's)● Where did/do I put my VM? (scheduling & monitoring)
● How do I provision a new cluster node? (clone & context)
● What MAC addresses are available? (networking)
Cloud Management Layer (e.g. OpenNebula)● Provides a uniform view of the physical resource pool
● Life-cycle management and monitoring of VM
● Integrates Image, Network and Virtualization
![Page 7: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/7.jpg)
7/23
The Hybrid IaaS Cloud
Physical Infrastructure
VM VM VM VM
• Supplement the capacity of the local infrastructure
• Transparent access to the resulting hybrid cloud
• Utility Computing dream made a reality!
Virtual Infrastruture
OpenNebula
Internet Link (VPN) LANLAN
The Utility supplier
PublicCloud
![Page 8: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/8.jpg)
8/23
What is OpenNebula?
OpenNebula is a standard-based open-source toolkit to build private, public and hybrid clouds
Design Philosophy
• One solution can not fit all data-center and user requirements and constraints
• Open, Felxible and extensible architecture that allows multiple components to be orchestrated
• Provide basic components, but allow them to be easily replaceble by others
![Page 9: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/9.jpg)
9/23
What is OpenNebula?
Virt.Virt.
OpenNebula Core
Driver API
Compute
OpenNebula API
Virt.Virt.Storage
Virt.Virt.Network
Virt.Virt.Auth
Virt.Virt.Interfaces
Virt.Virt.Schedulers
![Page 10: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/10.jpg)
10/23
Building Clouds with OpenNebula: A Grid Computing Perspective
Ruben S.Montero
Distributed Systems Architecture Research GroupUniversidad Complutense de Madrid
dsa-research.org
● Provide an overview of Cloud Computing
● Describe how Clouds can help Grids
● Experiences using Clouds and Grids
● Hands on: Using a OpenNebula Cloud
![Page 11: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/11.jpg)
11/23
Current Grid Infrastructures...
• High degree of heterogeneity (software & hardware)
• High operational costs
• Isolate and partition resources contributed to the Grid
• Specific environment requirements for different Vos
• Users simply do not feel like adopting our execution models (pilot jobs...)
Grids are difficult to maintain, operate and use
![Page 12: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/12.jpg)
12/23
Grids, Clouds... and Virtual Machines
Guest OS Guest OS Guest OS
Applications Applications Applications
• A VM is an isolated runtime environment (guest OS and apps)
• Hypervisors: Full Virtualized, para-virtualization, HW Virtualization
Natural way to deal with the heterogeneity
Domains are isolated
Execution of legacy applications
Application / HW decoupling
Physical Hardware
Virtualization (Xen, KVM...)
VMs can be provided with a Cloud-like model!
![Page 13: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/13.jpg)
13/23
Grids, Clouds... and Virtual Machines
OpenNebula
Virtual workernodes
ClusterFront-end
Physical Infrastructure
Cluster users
Infrastructure Layer
Service Layer
![Page 14: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/14.jpg)
14/23
Grids, Clouds... and Virtual Machines
OpenNebula
Virtual workernodes
ClusterFront-end
Physical Infrastructure
Cluster users
Infrastructure Layer
Service LayerUser Requests
• Typical LRMS interface
• Virtualization overhead
![Page 15: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/15.jpg)
15/23
Grids, Clouds... and Virtual Machines
OpenNebula
Virtual workernodes
ClusterFront-end
Physical Infrastructure
Cluster users
Infrastructure Layer
Service Layer
Cluster Consolidation
• Multiple worker nodes in a single resource
• Dynamic provision rules (inf. adaptation)
• VMM functionality (e.g. live migration)
![Page 16: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/16.jpg)
16/23
Grids, Clouds... and Virtual Machines
OpenNebula
Virtual workernodes
ClusterFront-end
Physical Infrastructure
Cluster users
Infrastructure Layer
Service Layer
Cluster Partitioning
• Performance partitioning (dedicated nodes)
• Isolate cluster workload
• Dedicated HA partitions
![Page 17: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/17.jpg)
17/23
Grids, Clouds... and Virtual Machines
OpenNebula
Virtual rnodes
ClusterFront-end
Physical Infrastructure
Cluster users
Infrastructure Layer
Service Layer
Heterogenous Workloads
• Dynamic provision of cluster configurations
• Simultaneous support of different services
• E.g. on-demand VO workernodes in Grids
WebServer
HTTP clients
![Page 18: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/18.jpg)
18/23
Grids, Clouds... and Virtual Machines
OpenNebula
Virtual Workernodes
ClusterFront-end
Local Physical Infrastructure
Cluster users
Infrastructure Layer
Service Layer
CloudProvider
Virtual Network
![Page 19: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/19.jpg)
19/23
Building Clouds with OpenNebula: A Grid Computing Perspective
Ruben S.Montero
Distributed Systems Architecture Research GroupUniversidad Complutense de Madrid
dsa-research.org
● Provide an overview of Cloud Computing
● Describe how Clouds can help Grids
● Experiences using Clouds and Grids
● Hands on: Using a OpenNebula Cloud
![Page 20: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/20.jpg)
20/23
Grids, Clouds... and Virtual Machines
• Use VMs as basic building block for Grid Services
• Current Trends:
• VMs as Job Container
• VMs as Grid execution service component
• Deal with heterogeneity
• Simplify & Improve site management
• Give VOs control over the worker-node SW
• IaaS interfaces for a Grid Site
• Attract business users
• Support novel execution models
![Page 21: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/21.jpg)
21/23
VM as a Job Container
Cluster WorkerNodes
Grid middleware(WMS, CE-CREAM...)
VM
LRMS (e.g. LSF, PBS...)Jobs executed
in a VM
Job requestwith a VM
environemnt
Drawbacks
● Jobs and VMs are different
● Need to integrate other resources (network, storage...)
● Do not decouple totally infrastructure from the Grid services
● Can not leverage VM features (e.g. Migration...)
● Focused on Job execution
Features
● Single LRMS-based
● Integrated with Grid MW
![Page 22: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/22.jpg)
22/23
VM as Grid Service Component
Physical Infrastructure
Grid middleware(WMS, CE-CREAM...)
Direct Jobs execution
Job requestwith a VM
environemnt
VIM (OpenNebula)
Physical WNs
LRMS (e.g. LSF, PBS...)
Cloud WNsVirtual WN (VO)
Load-VO DrivenAdaptation
VM, network & storage Management
PublicCloud
ExternalCloud
![Page 23: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/23.jpg)
23/23
IaaS Interface for a Site
Physical Infrastructure
Grid middleware
VIM (OpenNebula)
IaaS Interface
LRMS (e.g. LSF, PBS...)
Raw machinesOther (web, mail...)Virtual WorkerNode
Pil
ot
job
/ s
sh
Grid Userwith a VM
environemnt
IndustryBusiness Services
Grid User
![Page 24: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/24.jpg)
24/23
OpenNebula in the Grid Arena
•A team at Clemson University and CERN has used OpenNebula to deploy ~ 10,000 VMs on 500 physical hosts running Xen.
•These VMs are used to run batch jobs (submitted via WLG-CE and managed by LSF)
•Used XMLRPC API to add autonomic functionality, and to integrate with CERN's Quattor (http://www.quattor.org/)
•Created, and contributed, drivers for using LVM-based disk images.
![Page 25: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/25.jpg)
25/23
OpenNebula in the Grid Arena
•The BiG Grid Virtual Machine Working Group (in NIKHEF) did an evaluarion of several cloud solutions, and recommended using OpenNebula for managing worker node VMs in BiG Grid.
• The D-Grid Resource Center Ruhr (DGRZR) has used OpenNebula to manage 247 Blades with a total of 1,972 cores.
• Entire D-Grid software stack is run on VMs. Worker nodes currently managedwith OpenNebula, frontend nodes to follow shortly
![Page 26: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/26.jpg)
26/23
OpenNebula in the Grid Arena
•SARA is the Dutch National HighPerformance Computing and e-Science Support Center, and the Dutch supernode in the international Science Grid.
• They offer an HPC cloud that uses OpenNebula. Starting with 128 cores across 16 physical machines running KVM.
• Users use a management console developed at SARAto request a new VM (several templates are provided for them)
![Page 27: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/27.jpg)
27/23
Vision• Grid and cloud embody complementary computing models that will coexist and cooperate in existing and future e-infrastructures
Aim• To produce the StratusLab Toolkit open source cloud distribution, bringing cloud/virtualization innovation to existing Grid infrastructures.
• Service Centred Project driven to support production infrastructures
The StratusLab Project
![Page 28: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/28.jpg)
28/23
The StratusLab Project
StratusLab
Grid Services
StratusLab
Cloud API
CommunityServices
CommunityServices
Novel ServicesE.g. Hadoop,
PaaS, Web 2.0
User Communities
Y0: Grid and community services running directly on RC hardware.
Y1: Grid services running on private clouds. Scaling out to commercial providers possible.
Y2: Cloud API provided. Virtualized machines available to end users.
Y3: Community services run on standard resources via StratusLab cloud API.
Y4: Additional community services and novel services are built on top of cloud API. Public Clouds
![Page 29: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/29.jpg)
29/23
Building Clouds with OpenNebula: A Grid Computing Perspective
Ruben S.Montero
Distributed Systems Architecture Research GroupUniversidad Complutense de Madrid
dsa-research.org
● Provide an overview of Cloud Computing
● Describe how Clouds can help Grids
● Experiences using Clouds and Grids
● Hands on: Using a OpenNebula Cloud
![Page 30: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/30.jpg)
30/23
The Anatomy of an OpenNebula Cloud
Network
Image Repositories
(Storage)Physical Infrastructure
OpenNebula
StratusLabCloud API
VM VM VM VM VM VM
Grid Service Grid ServiceGrid Service
![Page 31: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/31.jpg)
31/23
Overview of Main Components
![Page 32: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/32.jpg)
32/23
Using Virtual Networks and Hosts• Define VM NICs attached to a given virtual network. The VM
will get a NIC with a free MAC in the network
• Prepare the VM to use the IP. Sample scripts to set the IP based on the MAC are provided.
#A VM with two interfaces each one in a different vlan NIC=[NETWORK="Blue LAN"]NIC=[NETWORK="Red LAN"]
#Ask for a specific IP/MAC of the Red vlan NIC=[NETWORK="Red LAN", IP=192.168.0.3]
![Page 33: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/33.jpg)
33/23
Defining a Virtual Machine
• A capacity in terms memory and CPU• A set of NICs attached to one or more virtual networks• A set of disk images, to be “transfered” to/from the execution host.
• A state file (optional) or recovery file, with the memory image of a running VM plus some hypervisor specific information.
• Virutal Machines are defined in a VM template• Each VM has an unique ID in OpenNebula the VM_ID
![Page 34: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/34.jpg)
34/23
Context for Virtual Machines
• Custom data to be passed to the VM at boot time• Boot Process• Mount an iso image with context data• Use context.sh to look for variables• Access any file to setup VM services (e.g. ssh keys...)
![Page 35: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/35.jpg)
35/23
Hybrid Cloud Computing
![Page 36: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/36.jpg)
36/23
Using the EC2 Cloud with OpenNebula• Several accounts or zones can be configured
• The capacity allocated in EC2 can be limited
• VMs must be prepared to be instantiated locally or in the EC2• The template must provide a description for both instantiation methods.
• The EC2 counterpart of your VM (AMI_ID) must be available for the driver account
EC2 = [ AMI = "ami_id for this VM", KEYPAIR = "the keypair to use the instance", AUTHORIZED_PORTS = "ports to access the instance", INSTANCETYPE = "m1.small...", ELASTICIP = "the elastic ip for this instance", CLOUD = "EC2 cloud to use"
]
![Page 37: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/37.jpg)
37/23
Building Clouds with OpenNebula: A Grid Computing Perspective
Ruben S.Montero
Distributed Systems Architecture Research GroupUniversidad Complutense de Madrid
dsa-research.org
● Provide an overview of Cloud Computing
● Describe how Clouds can help Grids
● Experiences using Clouds and Grids
● Hands on: Using a OpenNebula Cloud
![Page 38: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/38.jpg)
38/23
Resource Provisioning Models
YOURSITE
GRID
PRIVATECLOUD
CLOUD
Physical Virtual
Local
Remote
How are the resources provisioned?
Wh
ere
are
th
e r
eso
urc
es
pro
vis
ion
ed
fro
m?
![Page 39: Building Clouds with OpenNebula: A Grid …dsa-research.org/lib/exe/fetch.php?media=people:ruben:...1/39 Building Clouds with OpenNebula: A Grid Computing Perspective Ruben S.Montero](https://reader030.fdocuments.net/reader030/viewer/2022041019/5ecd14cc381ce046273d8ee1/html5/thumbnails/39.jpg)
39/23
QUESTIONS?
THANK YOU FOR YOUR ATTENTION