Contents

AMI Data

Here you find the meta data about the AMI Images in order to run the examples. These data are updated frequently by the g-Eclipse team.

Date

2009-10-11

AMI ID

ami-ff46a796

Manifest

07qbcc8v0tc3nzpsa002.equinox/equinox-001.manifest.xml

Instance Type

>= m1.small (32 bit)

Architecture

x86

Visibility

public

Prerequisites

If you are using Cloud Computing services provided by Amazon, you need to get an account there. The account itself is free of charge, but you have to pay with your credit card for the services that you are using. You can sign up for an account on this web portal: aws.amazon.com

In order to use your account for a certain service (e.g. the storage service S3, or the computing service EC2) you have enable your account for each particular service and activate it in the portal above.

For authentication and authorization against the AWS web services, g-Eclipse uses the Access Key ID and the Secret Access Key. Both can be obtained from the portal above in the Access Identifiers section.

Re-start Eclipse and switch to the g-Eclipse (User) perspective (important!)

Setup

Create a new Grid project

Select New > Grid Project

In the wizard, enter the name of the project, e.g. 'AWS Project'

On the next wizard page you need to create a VO. The concept of a Virtual Organization (VO) is one of the central pieces in g-Eclipse. Creating a VO is pretty straightforward: Click on 'Edit VOs...', choose 'add', select 'AWS VO' (obviously this is the type of VO that we want to use), give it a name (e.g. ('My AWS VO') and enter your AWS Access ID (see Prerequisites above).

Now you can press Finish and let the wizard create your Grid project.

Usage

After the initial setup and the Grid project creation you can start browsing your newly created project. In the Grid Projects View on the left you will find some directories that the wizard created for you, plus an additional virtual folder that represents your VO. Depending on your Grid middleware (in our case it is the AWS Cloud), you will find different nodes within this folder. In any case, you will find

Services - a list of additional services, such as Images that represent AMI's (comparable to a raw disk image with some meta data that can be instantiated), Elastic IPs, Keypairs that are used to access a newly started image by SSH, Security Groups that act as a simple firewall.

Storage - with a subfolder S3 that gives you access to the storage service and lets you mount and create S3 buckets

The first time that you are opening the subfolders in the VO-tree, you will be asked to authorize yourself and to create an authentication token. g-Eclipse automates this process and asks you for your Secret Access Key.

...work in progress

Install and Run an OSGi Example

create keypair

create some additional security groups that allow connections to other ports than 22/SSH (required: 80 for the tomcat, and 8021 for telnetting to the OSGi console of the image below - possible security hole!)