As some of you are aware, the latest (version 1.7) of Elasticfox doesn’t work without pain on Eucalyptus. This is because of the addition of VPC (Virtual Private Cloud) functionality – and a resulting upgrade to the EC2 API version used – which breaks Eucalyptus compatibility.
Elasticfox 1.6 worked pretty well with Eucalyptus, but is no longer available for direct download any more. It can be easily built from Subversion, however, Here’s how:
Checkout revision 107 of Elasticfox
On ubuntu, checkout with the following command:
$ svn co -r 107 https://elasticfox.svn.sourceforge.net/svnroot/elasticfox/trunk elasticfox
This will extract the Elasticfox source from repository into the elasticfox directory.
Configure the build environment
Basically, you just need the java jar command to be available, which is part of the sun Java Development Kit. On Ubuntu:
$ sudo apt-get install sun-java6-jdk
$ export JAVA_HOME=/usr/lib/jvm/java-6-sun
Switch to the elasticfox directory, then execute the make.sh script:
$ cd elasticfox
$ sh ./make.sh
This creates an .xpi package of Elasticfox under the dist directory
Install in Firefox
In Firefox, click to File –> Open File . Navigate to the elasticfox/dist directory, and select the file elasticfox-1.6.000107.xpi . Hit Open to install the Elasticfox plugin.
This is pretty simple, and will require you to have the Eucalyptus eucarc file somewhere handy. From the Firefox Tools menu, select Elasticfox. This will prompt for your EC2 credentials; enter these as follows:
Account Name: value from EC2_USER_ID= in eucarc
AWS Access Key: value from EC2_ACCESS_KEY= in eucarc
AWS Secret Access Key: value from EC2_SECRET_KEY= in eucarc
Now, add your Eucalyptus deployment as a Region. To do this, click Regions in the top left, then add using the following:
Region Name: you can choose this
Endpoint URL: value from EC2_URL= in eucarc
And you can now control your Eucalyptus instance using Elasticfox!