Registration To NICPB
Before getting access to the NICPB cloud, you must fill a registration form at https://europa.hep.kbfi.ee:8443, get authorized by the administrator and confirm the account (so you'll get 2 mails).
Please, see official documentation in Eucalyptus wiki.
NB! Make sure you use your working mail address!
Example session after registration succeeded:
# cd to e.g. home folder cd mkdir ec2-tools cd ec2-tools # get EC2 API tools wget http://s3.amazonaws.com/ec2-downloads/ec2-api-tools-1.3-30349.zip unzip ec2-api-tools-1.3-30349.zip # get S3-curl wget http://s3.amazonaws.com/doc/s3-example-code/s3-curl.zip unzip s3-curl.zip # now edit s3-curl/s3curl.pl and replace "my @endpoints = ..." with my @endpoints = ( 'europa.hep.kbfi.ee' );
Now download and unzip the credentials (you can get them from Eucalypotus web interface. NB! Make sure this location is protected from the others!
cd mkdir ec2-creds cd ec2-creds # copy your credentials there unzip euca-<USERNAME-x509.zip
NB! Further assumes that you are using BASH shell!
Ok, you have now all your files in the right place. To set up environment (you might also decide to create a small script to do that each time you login/open a shell):
export EC2_TOOLS=/home/<YOURACCOUNT>/ec2-tools export EC2_HOME=$EC2_TOOLS/ec2-api-tools-1.3-30349 export PATH=$PATH:$EC2_HOME/bin:$EC2_TOOLS/s3-curl source /home/<YOURACCOUNT>/ec2-creds/eucarc # export JAVA_HOME=/usr/java/latest/ # not needed if you have JAVA_HOME working
To see if it's working:
ec2-describe-availability-zones
You should see something like this:
[ilja@neptune ec2-test2]$ ec2-describe-availability-zones AVAILABILITYZONE KBFI UP europa.hep.kbfi.ee