Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "G-Eclipse/AWS Cloud in headless mode"

(The workspace)
(The workspace)
Line 41: Line 41:
  
 
Or you just download the following project set to import the required projects.
 
Or you just download the following project set to import the required projects.
[Media:AWSCloudHeadless.psf‎]
+
[[Media:AWSCloudHeadless.psf‎]]
  
 
== The code ==
 
== The code ==

Revision as of 10:10, 17 November 2009

API for the Cloud

The g-Eclipse project provides an integrated project view to Grid and Cloud infrastructures. With the help of the created "Grid-Project", the users is able to interact with Grid and Cloud infrastructures. The g-Eclipse framework contains the exemplary implementation for the Amazon Web Services, but the framework is generic to integrate other Cloud infrastructures too.

The architecture of the g-Eclipse framework is designed to be able to run the core of the g-Eclipse framework independent from the UI parts. With the feature, the core g-Eclipse framework provides a generic API for Cloud computing allowing to start and stop remote Cloud instances as well as management of data on the infrastructures.

In this tutorial, we demonstrate the usage of the g-Eclipse framework in headless mode.

Prerequisites

This tutorial shows the usage of the g-Eclipse core components together with the AWS web services. In order to perform the tutorial, the user requires a valid AWS account including the following features:

  • The AWS Access Credentials from AWS called "Access Key ID" and the "Secret Access Key"
  • The name of a Amazon Machine Image (AMI) which can be started by the user. The AMI name can be a private one or a public one.
  • The name of a valid AWS Security Group. This security group can be seen as a firewall configuration for running Amazon Computing instances.
  • The name of a valid AWS Keypair in order to enable the login to the running AMI instance later.

If you tried the g-Eclipse framework in UI mode, you can get parts of the required information with the help of the g-Eclipse Grid project view.

The workspace

We start with a plain Eclipse installation and import the following plugin projects in the workspace.

From the g-Eclipse SVN repository we need:

  • eu.geclipse
  • eu.geclipse.core
  • eu.geclipse.core.filesystem
  • eu.geclipse.core.reporting
  • eu.geclipse.core.info
  • eu.geclipse.aws
  • eu.geclipse.aws.ec2
  • eu.geclipse.aws.s3
  • com.xerox.amazonws
  • org.jet3t

From the Orbit CVS repository we need

  • javax.xml.bind
  • javax.xml.stream

From the SMILA SVN repository we need from tag 0.5M1

  • com.sun.jaxb

Or you just download the following project set to import the required projects. Media:AWSCloudHeadless.psf‎

The code

Create an new plugin project and name it "eu.geclipse.demo.headless".

Back to the top