You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

* Apply for account at Maggelan: http://magellan.nersc.gov/?page_id=564

* Sign on to the forum: https://mailman.nersc.gov/mailman/listinfo/eucalyptus-discuss

* Login to web interface: https://mageuca.nersc.gov:8443/

* Upload euca2tols tool kit form http://open.eucalyptus.com/wiki/Euca2oolsGuide
in particular I followed '/Euca2oolsInstallJaunty_v1.1' for my Ubuntu VM deployment,
but skip step about updating /etc/apt/sources.list with 'deb http://www.eucalyptussoftware.com/downloads/repo/euca2ools/1.1/ubuntu jaunty universe'

I did:
sudo apt-get update
sudo apt-get install euca2ools

Check euca2ools by executing e.g.: euca2ools
should complain about missing keys but program must be found

* Generate one time keys for Eucalyptus form the interface: https://mageuca.nersc.gov:8443

upload keys to local machine in to .euca directory


Bundle & upload to Eucalyptus my VM 'from within'
* copy private key & certificate to some directory you do NOT want to distribute those with the VM image. Make sure you do not leve them somewhere else on VM - the whole world will hack you later

cd /mnt
sudo mkdir eucaKeys
copy euca2-yourName-e3e764-cert.pem euca2-yourName-e3f64-pk.pem

* set enviromental variables

setenv EUCA_PRIVATE_KEY /mnt/eucaKeys/euca2-yourName-e3f64-pk.pem
setenv EUCA_CERT /mnt/eucaKeys/euca2-yourName-e3f64-pk.pem
?setenv EC2_ACCNO 8455-5-6506
?setenv ACCESS_KEY AKIAJATKNBRIAA
?setenv SECRET_KEY JzeO0SlE8+rjx9sLTX+qG7HU1/37R

* setup working directory which will be excluded from the bundle

sudo mkdir /image

* Bundle VM - wil take 1-2 hours ...
sudo ec2-bundle-vol -c $EUCA_CERT -k $EUCA_PRIVATE_KEY -d /image -e /image --no-inherit -r i386

  • No labels