Difference between revisions of "Combining Grid and Cloud for e-sciences applications"

From Gridkaschool
(Part 1: The XtremWeb-CH Volunteer Computing Platform)
(Part 1: The XtremWeb-CH Volunteer Computing Platform)
Line 34: Line 34:
   
 
* To install XWCH worker on your machine click here [http://www.xtremwebch.net/distrib/XWCH-Installer.jar]
 
* To install XWCH worker on your machine click here [http://www.xtremwebch.net/distrib/XWCH-Installer.jar]
* To download PovRay application (ray tracing), click here [http://www.xtremwebch.net/distrib/PovRay.zip]. The XWCH Java API is in the same .zip file
+
* This tutorial uses a Ray Tracing application called PovRay. To download an XWCH version of PovRay, click here [http://www.xtremwebch.net/distrib/PovRay.zip]. The XWCH Java API is in the same .zip file
  +
*PovRay uses a ppm extensions. To visualize these files use the follwing tools:
* Java API documentation is here [http://www.xtremwebch.net/javaapi/javadoc/xwchclientapi/XWCHClient.html]
 
  +
** MacOS: http://xee.googlecode.com/files/Xee2.2.zip
  +
** Windows: http://open-imagine.sourceforge.net/
  +
** Ubuntu : Image viewer (installed by default)
  +
* XWCH Java API documentation is here [http://www.xtremwebch.net/javaapi/javadoc/xwchclientapi/XWCHClient.html]
   
 
== Part 2: Combining XtremWeb-CH with Amazon, OpenStack and Azure==
 
== Part 2: Combining XtremWeb-CH with Amazon, OpenStack and Azure==

Revision as of 23:24, 26 August 2013

Speaker : Nabil Abdennadher[1]

Introduction

[XtremWeb-CH (XWCH)][2] is a volunteer computing system inspired from large-scale computing platforms for distributed applications. XWCH is easy to install and maintain, it has been bridged with the ARC Grid middleware. A dedicated API is used to write Client programs that use an XWCH infrastructure. Several [e-science applications][3] have been ported on XWCH and several lessons have been learned from these deployments. The most important are the following:

  • In many cases, the performance requested by end users applications are not available on the XWCH infrastructure,
  • When the XWCH platform is used by several users (applications) at the same time, available resources cannot meet user requests.

We propose an alternative which allows users to extend the XWCH volunteer infrastructure by renting private “compute nodes” deployed on cloud infrastructure. The idea is to rent resources on cloud whenever they can not afforded by the XWCH infrastructure. In this context, clouds could be seen as “useful utility that you can plug into your Grid”.

This tutorial proposes a toolkit used to develop, deploy and execute high performance (e-science) applications on heterogeneous infrastructure composed of volunteer computing and Cloud. This toolkit combines the reliability of cloud infrastructures with the “openness” of the XWCH development environment.

Concretely speaking, we propose a generic API used to develop high performance (e-sciences) applications that could be deployed on Grid and Cloud without any re-writing. The following platforms/middlewares will be used during the practical part:

  • the XtremWeb-CH volunteer computing platform
  • two public cloud (IaaS): Amazon and Azure
  • a private cloud IaaS based on [OpenStack][4]

The tutorial is composed of theoretical and practical parts. The theoretical part will deal with the following aspects:

  • Grid and Volunteer computing vs. Cloud computing,
  • Overview of XWCH, Amazon, Azure and OpenStack
  • How to develop applications on XWCH

During the practical part, the students will be able to deploy e-sciences applications on an heterogeneous platform based on XWCH, Azure, Amazon and OpenStack. A generic API is used for this purpose.

Important information

  • For this tutorial a personal notebook is recommended (Mac or Ubuntu Linux)
  • Java (at least 1.6) should be installed on your laptop.
  • Please create an "XtremWeb-CH" account on [5] and send an Email to nabil.abdennadher[at]hesge.ch to validate your account.

Part 1: The XtremWeb-CH Volunteer Computing Platform

  • To install XWCH worker on your machine click here [6]
  • This tutorial uses a Ray Tracing application called PovRay. To download an XWCH version of PovRay, click here [7]. The XWCH Java API is in the same .zip file
  • PovRay uses a ppm extensions. To visualize these files use the follwing tools:
  • XWCH Java API documentation is here [8]

Part 2: Combining XtremWeb-CH with Amazon, OpenStack and Azure

  • Deploying PovRay application on Amazon :
    • You need to have your own Amazon account. In order to deploy XWCH workers on Amazon you should retrieve your AWS access credential (Access key Id and Security access key). For further details, consult Section To view your AWS access credential in this URL[9],
    • Deploying PovRay on XWCH (workers are deployed on Amazon)[10]
    • List of AWS AMIs [11]
  • Deploying PovRay application on OpenStack
    • In order to deploy XWCH workers on OpenStack you need to have an OpenStack account. You already have one on hepiaCloud portal[12]
    • Deploying PovRay on XWCH (workers are deployed on hepiaCloud)[13]
  • Deploying PovRay application on Azure