G-Eclipse/AWS Cloud in headless mode
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.
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.
We start with a plain Eclipse installation and import the following plugin projects in the workspace.
From the g-Eclipse SVN repository we need:
From the Orbit CVS repository we need
From the SMILA SVN repository we need from tag 0.5M1
Or you just download the following project set to import the required projects. [Media:AWSCloudHeadless.psf]
Create an new plugin project and name it "eu.geclipse.demo.headless".