SlideShare une entreprise Scribd logo
1  sur  30
Télécharger pour lire hors ligne
George Lestaris - Ioannis Charalampidis
CernVM Online and Cloud Gateway
a uniform interface for
CernVM contextualization and
deployment
D. Berzano, J. Blomer, P. Buncic, G. Ganis and R. Meusel
PH-SFT / CERN
/ 30 CernVM Online / Cloud Gateway: interface for contextualization and deployment
Background
CernVM: a virtual appliance that serves as a
portable environment for developing and running
LHC data analysis
• easily deployed in cloud or local environment by
supporting various image types and hypervisors
• see Jakob’s talk about μCernVM, the next-
generation CernVM: http://chep2013.org/contrib/
213
• visit: http://cernvm.cern.ch
2
/ 30
Background
Virtual machine contextualization: is the
process of configuring a VM instance for the needs
of various deployment use cases
• we apply a context
• INI file - based on the AMIConfig library
• defines settings for the various contextualization
plugins - INI file sections
• using
• user-data field in clouds that support it
• HEPIX contextualization
3 CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
Motivation
This work has to main goals:
1. make contextualization of localVMs easier
• no need to write contexts manually
• reduce the use of the CernVM web appliance to
configure local virtual machines by providing easier
alternatives
2. deployment of CernVM
• in local environments
• virtual clusters in the cloud
4 CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
CernVM Online
contextualization made easy
5
CernVM Online / Cloud Gateway: interface for
contextualization and deployment
cernvm-online.cern.ch
Can connect with CERN
authentication or create a
local account
/ 30
CernVM Online
Web application: used to define, store and share
contexts
• Contexts are immutable.They cannot change, they
can only be cloned
• Secure contexts are supported by encrypting
context content with user defined passphrase
• context may contain sensitive information like
passwords, keys, etc..
6 CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
CernVM Online
Marketplace: share contexts for common use
cases
Deployment: user can deployVMs locally with
the CernVM WebAPI
• browser plugin able to spawn virtual machines automatically
using VirtualBox hypervisor (is installed by the plugin if not
available)
• implemented by Ioannis Charalampidis for Theory division at
CERN (http://crowdcrafting.org/app/cernvm/)
Pairing: contextualization of already running
CernVM instances with console access
7 CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 308
Dashboard
PairedVMs
Publish to
marketplace
DeployVM
locally
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
Context creation
9
• CernVM-FS configuration
• Adding users / groups
• Environment variables
• Startup script
• Services to start
• SSH key
•Condor configuration
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 3010
Marketplace
User can pair/clone
contexts made by others
Search for contexts
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
Virtual machine pairing
11
list of paired instances
1) Obtain PIN
from CernVM
online 2) Apply PIN
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
Deployment with WebAPI
12
1) Select configuration
2) Confirm 3) Enjoy
WebAPI plugin is
available for
Chrome, Firefox
and IE.
beta
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
Pairing vs WebAPI
13
WebAPI spawns a VM using user’s local PC
resources
Pairing is contextualizing an existingVM
• requires console access
• VM can be local, or remote
Both can be used to avoid
having to contextualize
manually user’sVM with the
web appliance.
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
CernVM Cloud
deploy CernVM virtual clusters
14
beta
cern.ch/cernvm-cloud
Contact us for a
beta tester account
CernVM Online / Cloud Gateway: interface for
contextualization and deployment
/ 30
CernVM Cloud Gateway
a distributed system that provides a single interface
to use multiple and different clouds:
• by cloud type: OpenStack, CloudStack,
OpenNebula, ...
• private or public: CERN OpenStack,AWS, ...
• geographically distributed
15 CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
CernVMVirtual clusters
Uses cloud available cloud resources to deploy virtual clusters.
Virtual cluster is a set of VMs able to communicate with
each other:
• consists of services
• each service should be deployed in the cloud
‣ a service defines:
1.the context of theVMs that will implement it,
2.theVM configuration (flavor, CernVM version)
- fixed services are deployed once and before any other
service
- scalable services rely on the fixed services and they
can be scaled up and down
16 CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
Virtual cluster example
17 CernVM Online / Cloud Gateway: interface for contextualization and deployment
Condor
master
Condor
worker
Condor
worker
Condor
worker
Condor
worker
fixed service
scalable service
Master will start first
Workers will start after
master and their context
will contain master’s IP
address
There are cases with more than one fixed services:
proxy server, VO box, etc
/ 30
Implementation tools
iAgent Framework: implemented in Perl, it
provides ways to develop agents that can expose
their functionality through XMPP.
XMPP: communication protocol. Has useful
features as:
• Presence: to know which agents are online
• Queuing: messages will be delivered once agent is up
• PubSub channels: many cloud agents listen for messages
from the gateway agents
18 CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
Architecture
19
Gateway
server
Cloud
agent
AWS
Cloud
agent
CERN OpenStack
Cloud
agent
CERN OpenStack
XMPP
Gateway
server
Gateway
server
Gateway
agent
State DB
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
Gateway server / agent
Gateway server: API endpoint and web
interface
• Handles client authentication
• users and groups
• Feeds the system with user requests
• Web interface works with mobile devices (responsive)
• REST API provides complete functionality for deploying
clusters (http://cern.ch/cernvm-cloud/Wiki/Documentation.html)
Gateway agent: processes the user requests and
forwards them to cloud agents though XMPP.
20 CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
Cloud Agent
Associated with a single cloud access credentials
• Listens to XMPP PubSub channel for user requests
• simple ACL: administrator can define which users/
groups for cloud gateway can use his cloud instance
• soft quota for managed cloud resources
• mapping of general flavors / templates to cloud
specific
• Communicates with respective cloud via a cloud driver
that “speaks” its API
21 CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
Cloud credentials storage
Current model: cloud credentials are stored in
the cloud agents
✓cloud agent can run in a machine managed by the
owner of the credentials
✓sensitive credentials are not communicated to the
central server
- a cloud agent has to be deployed for each cloud
key-pair
22 CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
CernVM Cloud
in action
23
CernVM Online / Cloud Gateway: interface for
contextualization and deployment
/ 3024
Defining a cluster Service definition
Context selection
Cluster services
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
Cluster deployment
25
Select cluster to
deploy from the
stored cluster
definitions in
CernVM Online
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
Deployment management
26 CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
Deployment management
27
Scaling up services
Per-instance
information
VM
management
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
Clusters overflowing clouds
28
VMVMVMVMVMVM
VM
VM
VM
VM
VM
Experimental
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
Clusters overflowing clouds
29
• CernVM Cloud can support multiple clouds
• Once a cluster reaches cloud’s capacity and user
requests to scale it up, it expands to another
cloud
• In this expansion the fixed services are being
replicated to the new cloud
✓ClusterVMs will be able to communicate with fixed services
as they will always be in the local network of the same cloud
Experimental
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
Conclusion
CernVM Online: production
• define, store and share contexts with a nice web UI
• Pairing and WebAPI to deploy singleVM
CernVM Cloud: beta
• deploy clusters defined in CernVM online
• multiple & different clouds
• overflowing clouds and expanding clusters to
different clouds
• RESTful API
30 CernVM Online / Cloud Gateway: interface for contextualization and deployment

Contenu connexe

Tendances

CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...
CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...
CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...The Linux Foundation
 
VMs and Containers - Friends or Enemies
VMs and Containers -  Friends or EnemiesVMs and Containers -  Friends or Enemies
VMs and Containers - Friends or EnemiesSimone Morellato
 
An Introduction to the Message Queuing Technology & IBM WebSphere MQ
An Introduction to the Message Queuing Technology & IBM WebSphere MQAn Introduction to the Message Queuing Technology & IBM WebSphere MQ
An Introduction to the Message Queuing Technology & IBM WebSphere MQRavi Yogesh
 
Introduction to Docker storage, volume and image
Introduction to Docker storage, volume and imageIntroduction to Docker storage, volume and image
Introduction to Docker storage, volume and imageejlp12
 
Hyper-V support for OpenStack Grizzly
Hyper-V support for OpenStack GrizzlyHyper-V support for OpenStack Grizzly
Hyper-V support for OpenStack GrizzlyKamesh Pemmaraju
 
Containing the world with Docker
Containing the world with DockerContaining the world with Docker
Containing the world with DockerGiuseppe Piccolo
 
Docker Networking : 0 to 60mph slides
Docker Networking : 0 to 60mph slidesDocker Networking : 0 to 60mph slides
Docker Networking : 0 to 60mph slidesDocker, Inc.
 
Monitoring and problem determination of your mq distributed systems
Monitoring and problem determination of your mq distributed systemsMonitoring and problem determination of your mq distributed systems
Monitoring and problem determination of your mq distributed systemsmatthew1001
 
How to add a new hypervisor to CloudStack - Lessons learned from Hyper-V effort
How to add a new hypervisor to CloudStack - Lessons learned from Hyper-V effortHow to add a new hypervisor to CloudStack - Lessons learned from Hyper-V effort
How to add a new hypervisor to CloudStack - Lessons learned from Hyper-V effortShapeBlue
 
Shared networks to support VNF high availability across OpenStack multi-regio...
Shared networks to support VNF high availability across OpenStack multi-regio...Shared networks to support VNF high availability across OpenStack multi-regio...
Shared networks to support VNF high availability across OpenStack multi-regio...Joe Huang
 
Containerized Delivery on the Microsoft Stack
Containerized Delivery on the Microsoft StackContainerized Delivery on the Microsoft Stack
Containerized Delivery on the Microsoft StackCornell Knulst
 
Release Management with Docker - Dutch Microsoft ALM Group
Release Management with Docker - Dutch Microsoft ALM GroupRelease Management with Docker - Dutch Microsoft ALM Group
Release Management with Docker - Dutch Microsoft ALM GroupCornell Knulst
 
Getting Started with XenServer and OpenStack.pptx
Getting Started with XenServer and OpenStack.pptxGetting Started with XenServer and OpenStack.pptx
Getting Started with XenServer and OpenStack.pptxOpenStack Foundation
 
Dev opsec dockerimage_patch_n_lifecyclemanagement_
Dev opsec dockerimage_patch_n_lifecyclemanagement_Dev opsec dockerimage_patch_n_lifecyclemanagement_
Dev opsec dockerimage_patch_n_lifecyclemanagement_kanedafromparis
 
Openstack starter-guide-diablo
Openstack starter-guide-diabloOpenstack starter-guide-diablo
Openstack starter-guide-diablobabycat_feifei
 
Cloud networking deep dive
Cloud networking deep diveCloud networking deep dive
Cloud networking deep diveamylynn11
 
Advanced Docker Developer Workflows on MacOS X and Windows
Advanced Docker Developer Workflows on MacOS X and WindowsAdvanced Docker Developer Workflows on MacOS X and Windows
Advanced Docker Developer Workflows on MacOS X and WindowsAnil Madhavapeddy
 
IBM Websphere MQ Basic
IBM Websphere MQ BasicIBM Websphere MQ Basic
IBM Websphere MQ BasicPRASAD BHATKAR
 
Where is My Message
Where is My MessageWhere is My Message
Where is My MessageMatt Leming
 

Tendances (20)

CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...
CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...
CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...
 
VMs and Containers - Friends or Enemies
VMs and Containers -  Friends or EnemiesVMs and Containers -  Friends or Enemies
VMs and Containers - Friends or Enemies
 
An Introduction to the Message Queuing Technology & IBM WebSphere MQ
An Introduction to the Message Queuing Technology & IBM WebSphere MQAn Introduction to the Message Queuing Technology & IBM WebSphere MQ
An Introduction to the Message Queuing Technology & IBM WebSphere MQ
 
Introduction to Docker storage, volume and image
Introduction to Docker storage, volume and imageIntroduction to Docker storage, volume and image
Introduction to Docker storage, volume and image
 
Hyper-V support for OpenStack Grizzly
Hyper-V support for OpenStack GrizzlyHyper-V support for OpenStack Grizzly
Hyper-V support for OpenStack Grizzly
 
Containing the world with Docker
Containing the world with DockerContaining the world with Docker
Containing the world with Docker
 
Docker Networking : 0 to 60mph slides
Docker Networking : 0 to 60mph slidesDocker Networking : 0 to 60mph slides
Docker Networking : 0 to 60mph slides
 
Monitoring and problem determination of your mq distributed systems
Monitoring and problem determination of your mq distributed systemsMonitoring and problem determination of your mq distributed systems
Monitoring and problem determination of your mq distributed systems
 
How to add a new hypervisor to CloudStack - Lessons learned from Hyper-V effort
How to add a new hypervisor to CloudStack - Lessons learned from Hyper-V effortHow to add a new hypervisor to CloudStack - Lessons learned from Hyper-V effort
How to add a new hypervisor to CloudStack - Lessons learned from Hyper-V effort
 
Shared networks to support VNF high availability across OpenStack multi-regio...
Shared networks to support VNF high availability across OpenStack multi-regio...Shared networks to support VNF high availability across OpenStack multi-regio...
Shared networks to support VNF high availability across OpenStack multi-regio...
 
Containerized Delivery on the Microsoft Stack
Containerized Delivery on the Microsoft StackContainerized Delivery on the Microsoft Stack
Containerized Delivery on the Microsoft Stack
 
Release Management with Docker - Dutch Microsoft ALM Group
Release Management with Docker - Dutch Microsoft ALM GroupRelease Management with Docker - Dutch Microsoft ALM Group
Release Management with Docker - Dutch Microsoft ALM Group
 
Getting Started with XenServer and OpenStack.pptx
Getting Started with XenServer and OpenStack.pptxGetting Started with XenServer and OpenStack.pptx
Getting Started with XenServer and OpenStack.pptx
 
Dev opsec dockerimage_patch_n_lifecyclemanagement_
Dev opsec dockerimage_patch_n_lifecyclemanagement_Dev opsec dockerimage_patch_n_lifecyclemanagement_
Dev opsec dockerimage_patch_n_lifecyclemanagement_
 
Openstack starter-guide-diablo
Openstack starter-guide-diabloOpenstack starter-guide-diablo
Openstack starter-guide-diablo
 
Cloud networking deep dive
Cloud networking deep diveCloud networking deep dive
Cloud networking deep dive
 
Advanced Docker Developer Workflows on MacOS X and Windows
Advanced Docker Developer Workflows on MacOS X and WindowsAdvanced Docker Developer Workflows on MacOS X and Windows
Advanced Docker Developer Workflows on MacOS X and Windows
 
IBM Websphere MQ Basic
IBM Websphere MQ BasicIBM Websphere MQ Basic
IBM Websphere MQ Basic
 
Where is My Message
Where is My MessageWhere is My Message
Where is My Message
 
Queens release updates
Queens release updatesQueens release updates
Queens release updates
 

En vedette

Metaswitch and Intel: A Systematic Approach to NFV
Metaswitch and Intel: A Systematic Approach to NFVMetaswitch and Intel: A Systematic Approach to NFV
Metaswitch and Intel: A Systematic Approach to NFVSimon Dredge
 
Introduction to Open Mano
Introduction to Open ManoIntroduction to Open Mano
Introduction to Open Manovideos
 
InfiniBand Growth Trends - TOP500 (July 2015)
InfiniBand Growth Trends - TOP500 (July 2015)InfiniBand Growth Trends - TOP500 (July 2015)
InfiniBand Growth Trends - TOP500 (July 2015)Mellanox Technologies
 
大規模なスイッチレス・サーバクラスタリング構築運用の考察
大規模なスイッチレス・サーバクラスタリング構築運用の考察大規模なスイッチレス・サーバクラスタリング構築運用の考察
大規模なスイッチレス・サーバクラスタリング構築運用の考察Naoto MATSUMOTO
 
UNDOCUMENTED Vyatta vRouter: Unbreakable VPN Tunneling (MEMO)
UNDOCUMENTED Vyatta vRouter: Unbreakable VPN Tunneling (MEMO) UNDOCUMENTED Vyatta vRouter: Unbreakable VPN Tunneling (MEMO)
UNDOCUMENTED Vyatta vRouter: Unbreakable VPN Tunneling (MEMO) Naoto MATSUMOTO
 
Enterprise grade cloud services with data power virtual
Enterprise grade cloud services with data power virtualEnterprise grade cloud services with data power virtual
Enterprise grade cloud services with data power virtualsflynn073
 

En vedette (12)

Metaswitch and Intel: A Systematic Approach to NFV
Metaswitch and Intel: A Systematic Approach to NFVMetaswitch and Intel: A Systematic Approach to NFV
Metaswitch and Intel: A Systematic Approach to NFV
 
Mellanox Approach to NFV & SDN
Mellanox Approach to NFV & SDNMellanox Approach to NFV & SDN
Mellanox Approach to NFV & SDN
 
Openstack meetup NFV
Openstack meetup NFV Openstack meetup NFV
Openstack meetup NFV
 
Introduction to Open Mano
Introduction to Open ManoIntroduction to Open Mano
Introduction to Open Mano
 
InfiniBand Growth Trends - TOP500 (July 2015)
InfiniBand Growth Trends - TOP500 (July 2015)InfiniBand Growth Trends - TOP500 (July 2015)
InfiniBand Growth Trends - TOP500 (July 2015)
 
大規模なスイッチレス・サーバクラスタリング構築運用の考察
大規模なスイッチレス・サーバクラスタリング構築運用の考察大規模なスイッチレス・サーバクラスタリング構築運用の考察
大規模なスイッチレス・サーバクラスタリング構築運用の考察
 
UNDOCUMENTED Vyatta vRouter: Unbreakable VPN Tunneling (MEMO)
UNDOCUMENTED Vyatta vRouter: Unbreakable VPN Tunneling (MEMO) UNDOCUMENTED Vyatta vRouter: Unbreakable VPN Tunneling (MEMO)
UNDOCUMENTED Vyatta vRouter: Unbreakable VPN Tunneling (MEMO)
 
Rethinking Cloud Proxies
Rethinking Cloud ProxiesRethinking Cloud Proxies
Rethinking Cloud Proxies
 
NFV and OpenStack
NFV and OpenStackNFV and OpenStack
NFV and OpenStack
 
NFV Open Source projects
NFV Open Source projectsNFV Open Source projects
NFV Open Source projects
 
Zuul @ Netflix SpringOne Platform
Zuul @ Netflix SpringOne PlatformZuul @ Netflix SpringOne Platform
Zuul @ Netflix SpringOne Platform
 
Enterprise grade cloud services with data power virtual
Enterprise grade cloud services with data power virtualEnterprise grade cloud services with data power virtual
Enterprise grade cloud services with data power virtual
 

Similaire à CernVM Online and Cloud Gateway: a uniform interface for CernVM contextualization and deployment

An Introduction To Infarstructures For Cloud Computing V0.2
An Introduction To Infarstructures For Cloud Computing V0.2An Introduction To Infarstructures For Cloud Computing V0.2
An Introduction To Infarstructures For Cloud Computing V0.2Ignacio M. Llorente
 
Azure Networking: Innovative Features and Multi-VNet Topologies
Azure Networking: Innovative Features and Multi-VNet TopologiesAzure Networking: Innovative Features and Multi-VNet Topologies
Azure Networking: Innovative Features and Multi-VNet TopologiesMarius Zaharia
 
Creating Your Virtual Data Center
Creating Your Virtual Data CenterCreating Your Virtual Data Center
Creating Your Virtual Data CenterAmazon Web Services
 
Webinar: Dealing with automation tool overload!
Webinar: Dealing with automation tool overload!Webinar: Dealing with automation tool overload!
Webinar: Dealing with automation tool overload!Cloudify Community
 
Azure: Docker Container orchestration, PaaS ( Service Farbic ) and High avail...
Azure: Docker Container orchestration, PaaS ( Service Farbic ) and High avail...Azure: Docker Container orchestration, PaaS ( Service Farbic ) and High avail...
Azure: Docker Container orchestration, PaaS ( Service Farbic ) and High avail...Alexey Bokov
 
DEM08 Use Cisco Cloud Connect to Securely Extend Private Network to AWS and M...
DEM08 Use Cisco Cloud Connect to Securely Extend Private Network to AWS and M...DEM08 Use Cisco Cloud Connect to Securely Extend Private Network to AWS and M...
DEM08 Use Cisco Cloud Connect to Securely Extend Private Network to AWS and M...Amazon Web Services
 
Introducción a CloudStack
Introducción a CloudStackIntroducción a CloudStack
Introducción a CloudStackHollman Enciso
 
How to Modernize Virtualized Workloads
How to Modernize Virtualized Workloads  How to Modernize Virtualized Workloads
How to Modernize Virtualized Workloads Konveyor Community
 
Linuxcon Europe 2011: Overview - Building Cloud Computing Environments
Linuxcon Europe 2011:  Overview - Building Cloud Computing EnvironmentsLinuxcon Europe 2011:  Overview - Building Cloud Computing Environments
Linuxcon Europe 2011: Overview - Building Cloud Computing EnvironmentsMark Hinkle
 
2014-09-15 cloud platform master class
2014-09-15 cloud platform master class2014-09-15 cloud platform master class
2014-09-15 cloud platform master classCitrix
 
Networking in Docker EE 2.0 with Kubernetes and Swarm
Networking in Docker EE 2.0 with Kubernetes and SwarmNetworking in Docker EE 2.0 with Kubernetes and Swarm
Networking in Docker EE 2.0 with Kubernetes and SwarmAbhinandan P.b
 
Networking in docker ee with kubernetes and swarm
Networking in docker ee with kubernetes and swarmNetworking in docker ee with kubernetes and swarm
Networking in docker ee with kubernetes and swarmDocker, Inc.
 
Presentation vmug v mware v-cloud director
Presentation   vmug v mware v-cloud directorPresentation   vmug v mware v-cloud director
Presentation vmug v mware v-cloud directorsolarisyourep
 
Гибридное облако - эффективность в квадрате
Гибридное облако - эффективность в квадратеГибридное облако - эффективность в квадрате
Гибридное облако - эффективность в квадратеActiveCloud
 
Cloud computing virtualization
Cloud computing virtualizationCloud computing virtualization
Cloud computing virtualizationAyaz Shahid
 
Virtual Networks - A Perspective from a Cloud Connect 2010 Panel
Virtual Networks - A Perspective from a Cloud Connect 2010 PanelVirtual Networks - A Perspective from a Cloud Connect 2010 Panel
Virtual Networks - A Perspective from a Cloud Connect 2010 PanelRobert Grossman
 
Dynatrace - Red Hat workshop : Monolith to Microservices
Dynatrace - Red Hat workshop : Monolith to MicroservicesDynatrace - Red Hat workshop : Monolith to Microservices
Dynatrace - Red Hat workshop : Monolith to MicroservicesSteve Caron
 
SALSA: A Framework for Dynamic Configuration of Cloud Services
SALSA: A Framework for Dynamic Configuration of Cloud ServicesSALSA: A Framework for Dynamic Configuration of Cloud Services
SALSA: A Framework for Dynamic Configuration of Cloud ServicesDuc-Hung LE
 

Similaire à CernVM Online and Cloud Gateway: a uniform interface for CernVM contextualization and deployment (20)

An Introduction To Infarstructures For Cloud Computing V0.2
An Introduction To Infarstructures For Cloud Computing V0.2An Introduction To Infarstructures For Cloud Computing V0.2
An Introduction To Infarstructures For Cloud Computing V0.2
 
Azure Networking: Innovative Features and Multi-VNet Topologies
Azure Networking: Innovative Features and Multi-VNet TopologiesAzure Networking: Innovative Features and Multi-VNet Topologies
Azure Networking: Innovative Features and Multi-VNet Topologies
 
Container Networking Deep Dive
Container Networking Deep DiveContainer Networking Deep Dive
Container Networking Deep Dive
 
Creating Your Virtual Data Center
Creating Your Virtual Data CenterCreating Your Virtual Data Center
Creating Your Virtual Data Center
 
Webinar: Dealing with automation tool overload!
Webinar: Dealing with automation tool overload!Webinar: Dealing with automation tool overload!
Webinar: Dealing with automation tool overload!
 
Azure: Docker Container orchestration, PaaS ( Service Farbic ) and High avail...
Azure: Docker Container orchestration, PaaS ( Service Farbic ) and High avail...Azure: Docker Container orchestration, PaaS ( Service Farbic ) and High avail...
Azure: Docker Container orchestration, PaaS ( Service Farbic ) and High avail...
 
DEM08 Use Cisco Cloud Connect to Securely Extend Private Network to AWS and M...
DEM08 Use Cisco Cloud Connect to Securely Extend Private Network to AWS and M...DEM08 Use Cisco Cloud Connect to Securely Extend Private Network to AWS and M...
DEM08 Use Cisco Cloud Connect to Securely Extend Private Network to AWS and M...
 
Introducción a CloudStack
Introducción a CloudStackIntroducción a CloudStack
Introducción a CloudStack
 
How to Modernize Virtualized Workloads
How to Modernize Virtualized Workloads  How to Modernize Virtualized Workloads
How to Modernize Virtualized Workloads
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
Linuxcon Europe 2011: Overview - Building Cloud Computing Environments
Linuxcon Europe 2011:  Overview - Building Cloud Computing EnvironmentsLinuxcon Europe 2011:  Overview - Building Cloud Computing Environments
Linuxcon Europe 2011: Overview - Building Cloud Computing Environments
 
2014-09-15 cloud platform master class
2014-09-15 cloud platform master class2014-09-15 cloud platform master class
2014-09-15 cloud platform master class
 
Networking in Docker EE 2.0 with Kubernetes and Swarm
Networking in Docker EE 2.0 with Kubernetes and SwarmNetworking in Docker EE 2.0 with Kubernetes and Swarm
Networking in Docker EE 2.0 with Kubernetes and Swarm
 
Networking in docker ee with kubernetes and swarm
Networking in docker ee with kubernetes and swarmNetworking in docker ee with kubernetes and swarm
Networking in docker ee with kubernetes and swarm
 
Presentation vmug v mware v-cloud director
Presentation   vmug v mware v-cloud directorPresentation   vmug v mware v-cloud director
Presentation vmug v mware v-cloud director
 
Гибридное облако - эффективность в квадрате
Гибридное облако - эффективность в квадратеГибридное облако - эффективность в квадрате
Гибридное облако - эффективность в квадрате
 
Cloud computing virtualization
Cloud computing virtualizationCloud computing virtualization
Cloud computing virtualization
 
Virtual Networks - A Perspective from a Cloud Connect 2010 Panel
Virtual Networks - A Perspective from a Cloud Connect 2010 PanelVirtual Networks - A Perspective from a Cloud Connect 2010 Panel
Virtual Networks - A Perspective from a Cloud Connect 2010 Panel
 
Dynatrace - Red Hat workshop : Monolith to Microservices
Dynatrace - Red Hat workshop : Monolith to MicroservicesDynatrace - Red Hat workshop : Monolith to Microservices
Dynatrace - Red Hat workshop : Monolith to Microservices
 
SALSA: A Framework for Dynamic Configuration of Cloud Services
SALSA: A Framework for Dynamic Configuration of Cloud ServicesSALSA: A Framework for Dynamic Configuration of Cloud Services
SALSA: A Framework for Dynamic Configuration of Cloud Services
 

Dernier

Abnormal LFTs rate of deco and NAFLD.pptx
Abnormal LFTs rate of deco and NAFLD.pptxAbnormal LFTs rate of deco and NAFLD.pptx
Abnormal LFTs rate of deco and NAFLD.pptxzeus70441
 
linear Regression, multiple Regression and Annova
linear Regression, multiple Regression and Annovalinear Regression, multiple Regression and Annova
linear Regression, multiple Regression and AnnovaMansi Rastogi
 
6.1 Pests of Groundnut_Binomics_Identification_Dr.UPR
6.1 Pests of Groundnut_Binomics_Identification_Dr.UPR6.1 Pests of Groundnut_Binomics_Identification_Dr.UPR
6.1 Pests of Groundnut_Binomics_Identification_Dr.UPRPirithiRaju
 
How we decide powerpoint presentation.pptx
How we decide powerpoint presentation.pptxHow we decide powerpoint presentation.pptx
How we decide powerpoint presentation.pptxJosielynTars
 
bonjourmadame.tumblr.com bhaskar's girls
bonjourmadame.tumblr.com bhaskar's girlsbonjourmadame.tumblr.com bhaskar's girls
bonjourmadame.tumblr.com bhaskar's girlshansessene
 
Oxo-Acids of Halogens and their Salts.pptx
Oxo-Acids of Halogens and their Salts.pptxOxo-Acids of Halogens and their Salts.pptx
Oxo-Acids of Halogens and their Salts.pptxfarhanvvdk
 
GLYCOSIDES Classification Of GLYCOSIDES Chemical Tests Glycosides
GLYCOSIDES Classification Of GLYCOSIDES  Chemical Tests GlycosidesGLYCOSIDES Classification Of GLYCOSIDES  Chemical Tests Glycosides
GLYCOSIDES Classification Of GLYCOSIDES Chemical Tests GlycosidesNandakishor Bhaurao Deshmukh
 
Observational constraints on mergers creating magnetism in massive stars
Observational constraints on mergers creating magnetism in massive starsObservational constraints on mergers creating magnetism in massive stars
Observational constraints on mergers creating magnetism in massive starsSérgio Sacani
 
FBI Profiling - Forensic Psychology.pptx
FBI Profiling - Forensic Psychology.pptxFBI Profiling - Forensic Psychology.pptx
FBI Profiling - Forensic Psychology.pptxPayal Shrivastava
 
Charateristics of the Angara-A5 spacecraft launched from the Vostochny Cosmod...
Charateristics of the Angara-A5 spacecraft launched from the Vostochny Cosmod...Charateristics of the Angara-A5 spacecraft launched from the Vostochny Cosmod...
Charateristics of the Angara-A5 spacecraft launched from the Vostochny Cosmod...Christina Parmionova
 
Gas-ExchangeS-in-Plants-and-Animals.pptx
Gas-ExchangeS-in-Plants-and-Animals.pptxGas-ExchangeS-in-Plants-and-Animals.pptx
Gas-ExchangeS-in-Plants-and-Animals.pptxGiovaniTrinidad
 
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...D. B. S. College Kanpur
 
Environmental acoustics- noise criteria.pptx
Environmental acoustics- noise criteria.pptxEnvironmental acoustics- noise criteria.pptx
Environmental acoustics- noise criteria.pptxpriyankatabhane
 
GenAI talk for Young at Wageningen University & Research (WUR) March 2024
GenAI talk for Young at Wageningen University & Research (WUR) March 2024GenAI talk for Young at Wageningen University & Research (WUR) March 2024
GenAI talk for Young at Wageningen University & Research (WUR) March 2024Jene van der Heide
 
Replisome-Cohesin Interfacing A Molecular Perspective.pdf
Replisome-Cohesin Interfacing A Molecular Perspective.pdfReplisome-Cohesin Interfacing A Molecular Perspective.pdf
Replisome-Cohesin Interfacing A Molecular Perspective.pdfAtiaGohar1
 
Introduction of Human Body & Structure of cell.pptx
Introduction of Human Body & Structure of cell.pptxIntroduction of Human Body & Structure of cell.pptx
Introduction of Human Body & Structure of cell.pptxMedical College
 
Loudspeaker- direct radiating type and horn type.pptx
Loudspeaker- direct radiating type and horn type.pptxLoudspeaker- direct radiating type and horn type.pptx
Loudspeaker- direct radiating type and horn type.pptxpriyankatabhane
 
KDIGO-2023-CKD-Guideline-Public-Review-Draft_5-July-2023.pdf
KDIGO-2023-CKD-Guideline-Public-Review-Draft_5-July-2023.pdfKDIGO-2023-CKD-Guideline-Public-Review-Draft_5-July-2023.pdf
KDIGO-2023-CKD-Guideline-Public-Review-Draft_5-July-2023.pdfGABYFIORELAMALPARTID1
 
GENERAL PHYSICS 2 REFRACTION OF LIGHT SENIOR HIGH SCHOOL GENPHYS2.pptx
GENERAL PHYSICS 2 REFRACTION OF LIGHT SENIOR HIGH SCHOOL GENPHYS2.pptxGENERAL PHYSICS 2 REFRACTION OF LIGHT SENIOR HIGH SCHOOL GENPHYS2.pptx
GENERAL PHYSICS 2 REFRACTION OF LIGHT SENIOR HIGH SCHOOL GENPHYS2.pptxRitchAndruAgustin
 

Dernier (20)

Abnormal LFTs rate of deco and NAFLD.pptx
Abnormal LFTs rate of deco and NAFLD.pptxAbnormal LFTs rate of deco and NAFLD.pptx
Abnormal LFTs rate of deco and NAFLD.pptx
 
linear Regression, multiple Regression and Annova
linear Regression, multiple Regression and Annovalinear Regression, multiple Regression and Annova
linear Regression, multiple Regression and Annova
 
6.1 Pests of Groundnut_Binomics_Identification_Dr.UPR
6.1 Pests of Groundnut_Binomics_Identification_Dr.UPR6.1 Pests of Groundnut_Binomics_Identification_Dr.UPR
6.1 Pests of Groundnut_Binomics_Identification_Dr.UPR
 
How we decide powerpoint presentation.pptx
How we decide powerpoint presentation.pptxHow we decide powerpoint presentation.pptx
How we decide powerpoint presentation.pptx
 
bonjourmadame.tumblr.com bhaskar's girls
bonjourmadame.tumblr.com bhaskar's girlsbonjourmadame.tumblr.com bhaskar's girls
bonjourmadame.tumblr.com bhaskar's girls
 
Oxo-Acids of Halogens and their Salts.pptx
Oxo-Acids of Halogens and their Salts.pptxOxo-Acids of Halogens and their Salts.pptx
Oxo-Acids of Halogens and their Salts.pptx
 
GLYCOSIDES Classification Of GLYCOSIDES Chemical Tests Glycosides
GLYCOSIDES Classification Of GLYCOSIDES  Chemical Tests GlycosidesGLYCOSIDES Classification Of GLYCOSIDES  Chemical Tests Glycosides
GLYCOSIDES Classification Of GLYCOSIDES Chemical Tests Glycosides
 
Observational constraints on mergers creating magnetism in massive stars
Observational constraints on mergers creating magnetism in massive starsObservational constraints on mergers creating magnetism in massive stars
Observational constraints on mergers creating magnetism in massive stars
 
FBI Profiling - Forensic Psychology.pptx
FBI Profiling - Forensic Psychology.pptxFBI Profiling - Forensic Psychology.pptx
FBI Profiling - Forensic Psychology.pptx
 
Charateristics of the Angara-A5 spacecraft launched from the Vostochny Cosmod...
Charateristics of the Angara-A5 spacecraft launched from the Vostochny Cosmod...Charateristics of the Angara-A5 spacecraft launched from the Vostochny Cosmod...
Charateristics of the Angara-A5 spacecraft launched from the Vostochny Cosmod...
 
Gas-ExchangeS-in-Plants-and-Animals.pptx
Gas-ExchangeS-in-Plants-and-Animals.pptxGas-ExchangeS-in-Plants-and-Animals.pptx
Gas-ExchangeS-in-Plants-and-Animals.pptx
 
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...
 
Environmental acoustics- noise criteria.pptx
Environmental acoustics- noise criteria.pptxEnvironmental acoustics- noise criteria.pptx
Environmental acoustics- noise criteria.pptx
 
GenAI talk for Young at Wageningen University & Research (WUR) March 2024
GenAI talk for Young at Wageningen University & Research (WUR) March 2024GenAI talk for Young at Wageningen University & Research (WUR) March 2024
GenAI talk for Young at Wageningen University & Research (WUR) March 2024
 
Interferons.pptx.
Interferons.pptx.Interferons.pptx.
Interferons.pptx.
 
Replisome-Cohesin Interfacing A Molecular Perspective.pdf
Replisome-Cohesin Interfacing A Molecular Perspective.pdfReplisome-Cohesin Interfacing A Molecular Perspective.pdf
Replisome-Cohesin Interfacing A Molecular Perspective.pdf
 
Introduction of Human Body & Structure of cell.pptx
Introduction of Human Body & Structure of cell.pptxIntroduction of Human Body & Structure of cell.pptx
Introduction of Human Body & Structure of cell.pptx
 
Loudspeaker- direct radiating type and horn type.pptx
Loudspeaker- direct radiating type and horn type.pptxLoudspeaker- direct radiating type and horn type.pptx
Loudspeaker- direct radiating type and horn type.pptx
 
KDIGO-2023-CKD-Guideline-Public-Review-Draft_5-July-2023.pdf
KDIGO-2023-CKD-Guideline-Public-Review-Draft_5-July-2023.pdfKDIGO-2023-CKD-Guideline-Public-Review-Draft_5-July-2023.pdf
KDIGO-2023-CKD-Guideline-Public-Review-Draft_5-July-2023.pdf
 
GENERAL PHYSICS 2 REFRACTION OF LIGHT SENIOR HIGH SCHOOL GENPHYS2.pptx
GENERAL PHYSICS 2 REFRACTION OF LIGHT SENIOR HIGH SCHOOL GENPHYS2.pptxGENERAL PHYSICS 2 REFRACTION OF LIGHT SENIOR HIGH SCHOOL GENPHYS2.pptx
GENERAL PHYSICS 2 REFRACTION OF LIGHT SENIOR HIGH SCHOOL GENPHYS2.pptx
 

CernVM Online and Cloud Gateway: a uniform interface for CernVM contextualization and deployment

  • 1. George Lestaris - Ioannis Charalampidis CernVM Online and Cloud Gateway a uniform interface for CernVM contextualization and deployment D. Berzano, J. Blomer, P. Buncic, G. Ganis and R. Meusel PH-SFT / CERN
  • 2. / 30 CernVM Online / Cloud Gateway: interface for contextualization and deployment Background CernVM: a virtual appliance that serves as a portable environment for developing and running LHC data analysis • easily deployed in cloud or local environment by supporting various image types and hypervisors • see Jakob’s talk about μCernVM, the next- generation CernVM: http://chep2013.org/contrib/ 213 • visit: http://cernvm.cern.ch 2
  • 3. / 30 Background Virtual machine contextualization: is the process of configuring a VM instance for the needs of various deployment use cases • we apply a context • INI file - based on the AMIConfig library • defines settings for the various contextualization plugins - INI file sections • using • user-data field in clouds that support it • HEPIX contextualization 3 CernVM Online / Cloud Gateway: interface for contextualization and deployment
  • 4. / 30 Motivation This work has to main goals: 1. make contextualization of localVMs easier • no need to write contexts manually • reduce the use of the CernVM web appliance to configure local virtual machines by providing easier alternatives 2. deployment of CernVM • in local environments • virtual clusters in the cloud 4 CernVM Online / Cloud Gateway: interface for contextualization and deployment
  • 5. / 30 CernVM Online contextualization made easy 5 CernVM Online / Cloud Gateway: interface for contextualization and deployment cernvm-online.cern.ch Can connect with CERN authentication or create a local account
  • 6. / 30 CernVM Online Web application: used to define, store and share contexts • Contexts are immutable.They cannot change, they can only be cloned • Secure contexts are supported by encrypting context content with user defined passphrase • context may contain sensitive information like passwords, keys, etc.. 6 CernVM Online / Cloud Gateway: interface for contextualization and deployment
  • 7. / 30 CernVM Online Marketplace: share contexts for common use cases Deployment: user can deployVMs locally with the CernVM WebAPI • browser plugin able to spawn virtual machines automatically using VirtualBox hypervisor (is installed by the plugin if not available) • implemented by Ioannis Charalampidis for Theory division at CERN (http://crowdcrafting.org/app/cernvm/) Pairing: contextualization of already running CernVM instances with console access 7 CernVM Online / Cloud Gateway: interface for contextualization and deployment
  • 8. / 308 Dashboard PairedVMs Publish to marketplace DeployVM locally CernVM Online / Cloud Gateway: interface for contextualization and deployment
  • 9. / 30 Context creation 9 • CernVM-FS configuration • Adding users / groups • Environment variables • Startup script • Services to start • SSH key •Condor configuration CernVM Online / Cloud Gateway: interface for contextualization and deployment
  • 10. / 3010 Marketplace User can pair/clone contexts made by others Search for contexts CernVM Online / Cloud Gateway: interface for contextualization and deployment
  • 11. / 30 Virtual machine pairing 11 list of paired instances 1) Obtain PIN from CernVM online 2) Apply PIN CernVM Online / Cloud Gateway: interface for contextualization and deployment
  • 12. / 30 Deployment with WebAPI 12 1) Select configuration 2) Confirm 3) Enjoy WebAPI plugin is available for Chrome, Firefox and IE. beta CernVM Online / Cloud Gateway: interface for contextualization and deployment
  • 13. / 30 Pairing vs WebAPI 13 WebAPI spawns a VM using user’s local PC resources Pairing is contextualizing an existingVM • requires console access • VM can be local, or remote Both can be used to avoid having to contextualize manually user’sVM with the web appliance. CernVM Online / Cloud Gateway: interface for contextualization and deployment
  • 14. / 30 CernVM Cloud deploy CernVM virtual clusters 14 beta cern.ch/cernvm-cloud Contact us for a beta tester account CernVM Online / Cloud Gateway: interface for contextualization and deployment
  • 15. / 30 CernVM Cloud Gateway a distributed system that provides a single interface to use multiple and different clouds: • by cloud type: OpenStack, CloudStack, OpenNebula, ... • private or public: CERN OpenStack,AWS, ... • geographically distributed 15 CernVM Online / Cloud Gateway: interface for contextualization and deployment
  • 16. / 30 CernVMVirtual clusters Uses cloud available cloud resources to deploy virtual clusters. Virtual cluster is a set of VMs able to communicate with each other: • consists of services • each service should be deployed in the cloud ‣ a service defines: 1.the context of theVMs that will implement it, 2.theVM configuration (flavor, CernVM version) - fixed services are deployed once and before any other service - scalable services rely on the fixed services and they can be scaled up and down 16 CernVM Online / Cloud Gateway: interface for contextualization and deployment
  • 17. / 30 Virtual cluster example 17 CernVM Online / Cloud Gateway: interface for contextualization and deployment Condor master Condor worker Condor worker Condor worker Condor worker fixed service scalable service Master will start first Workers will start after master and their context will contain master’s IP address There are cases with more than one fixed services: proxy server, VO box, etc
  • 18. / 30 Implementation tools iAgent Framework: implemented in Perl, it provides ways to develop agents that can expose their functionality through XMPP. XMPP: communication protocol. Has useful features as: • Presence: to know which agents are online • Queuing: messages will be delivered once agent is up • PubSub channels: many cloud agents listen for messages from the gateway agents 18 CernVM Online / Cloud Gateway: interface for contextualization and deployment
  • 19. / 30 Architecture 19 Gateway server Cloud agent AWS Cloud agent CERN OpenStack Cloud agent CERN OpenStack XMPP Gateway server Gateway server Gateway agent State DB CernVM Online / Cloud Gateway: interface for contextualization and deployment
  • 20. / 30 Gateway server / agent Gateway server: API endpoint and web interface • Handles client authentication • users and groups • Feeds the system with user requests • Web interface works with mobile devices (responsive) • REST API provides complete functionality for deploying clusters (http://cern.ch/cernvm-cloud/Wiki/Documentation.html) Gateway agent: processes the user requests and forwards them to cloud agents though XMPP. 20 CernVM Online / Cloud Gateway: interface for contextualization and deployment
  • 21. / 30 Cloud Agent Associated with a single cloud access credentials • Listens to XMPP PubSub channel for user requests • simple ACL: administrator can define which users/ groups for cloud gateway can use his cloud instance • soft quota for managed cloud resources • mapping of general flavors / templates to cloud specific • Communicates with respective cloud via a cloud driver that “speaks” its API 21 CernVM Online / Cloud Gateway: interface for contextualization and deployment
  • 22. / 30 Cloud credentials storage Current model: cloud credentials are stored in the cloud agents ✓cloud agent can run in a machine managed by the owner of the credentials ✓sensitive credentials are not communicated to the central server - a cloud agent has to be deployed for each cloud key-pair 22 CernVM Online / Cloud Gateway: interface for contextualization and deployment
  • 23. / 30 CernVM Cloud in action 23 CernVM Online / Cloud Gateway: interface for contextualization and deployment
  • 24. / 3024 Defining a cluster Service definition Context selection Cluster services CernVM Online / Cloud Gateway: interface for contextualization and deployment
  • 25. / 30 Cluster deployment 25 Select cluster to deploy from the stored cluster definitions in CernVM Online CernVM Online / Cloud Gateway: interface for contextualization and deployment
  • 26. / 30 Deployment management 26 CernVM Online / Cloud Gateway: interface for contextualization and deployment
  • 27. / 30 Deployment management 27 Scaling up services Per-instance information VM management CernVM Online / Cloud Gateway: interface for contextualization and deployment
  • 28. / 30 Clusters overflowing clouds 28 VMVMVMVMVMVM VM VM VM VM VM Experimental CernVM Online / Cloud Gateway: interface for contextualization and deployment
  • 29. / 30 Clusters overflowing clouds 29 • CernVM Cloud can support multiple clouds • Once a cluster reaches cloud’s capacity and user requests to scale it up, it expands to another cloud • In this expansion the fixed services are being replicated to the new cloud ✓ClusterVMs will be able to communicate with fixed services as they will always be in the local network of the same cloud Experimental CernVM Online / Cloud Gateway: interface for contextualization and deployment
  • 30. / 30 Conclusion CernVM Online: production • define, store and share contexts with a nice web UI • Pairing and WebAPI to deploy singleVM CernVM Cloud: beta • deploy clusters defined in CernVM online • multiple & different clouds • overflowing clouds and expanding clusters to different clouds • RESTful API 30 CernVM Online / Cloud Gateway: interface for contextualization and deployment