Elasticfox for Eucalyptus

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

Build Elasticfox

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.

Configuration

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!

Advertisements

9 Responses to “Elasticfox for Eucalyptus”

  1. J Says:

    Thank for this!! I just upgraded to the latest revision and found that the window resizing has suddenly broken for small screens making the extension completely useless. I use this pretty much every day so this post was an absolute life saver.

  2. Sven Says:

    Hey,

    i have a question.

    i installed elasticfox, and don’t found the “regions” button, so i downloaded the latest version, and i found it ! But now, when i configured the Credentials and will enter the regions part, elasticfox don’t accept this, i can click “add” as often as i want, nothing happend (in regions)… why ? Is it a Bug ?

    Thanks 4 help !

    Wait 4 reply !

    • ajmf Says:

      Sven,

      This bit of functionality in Elasticfox is a bit counter-intuitive.

      First, enter the name and endpoint of the region, overwriting whatever’s already there. Then, hit “add”.

      Andrew

    • Marlon Nerling Says:

      ajmf.
      I’m suffering from the same issue as sven, and I don’t think I understand your workaround.
      I entered a name for the region and entered the endpoint URL, as in .euca/eucarc:EC2_URL.
      the problem is: we – Sven and I – are pressing add and NOTHING happens.

      Greats
      MAN

  3. Hybridfox: Elasticfox 1.6.x on Viagra « Megam: Cloud Buzz Says:

    […] were quite a few pointers to what version will be ideally suited to use for Eucalyptus, like this one, thanks Ajmf. I took the cue from there, I enabled debugging on elasticfox, and used firebug to dig […]

  4. samof76 Says:

    Jeez, thanks man. I have got elasticfox working with small tweaks to its code http://wp.me/pCml3-29. Callings it hybridfox.

  5. Pushkaraj Says:

    Hello Guys,

    I am facing a problem while configuring this plugin, I hope anyone would help me.

    Steps I followed in chronological order:
    1. I installed the elasticfox 1.7 and tried to configure it, but later found it faulty as per this artical, so I downloaded the code from SVN and built a new plugin.

    2. Uninstalled the ver. 1.7 plugin, and installed the one which I built (ver 1.6).

    3. When I configured this plugin, I am getting this error message –

    Please check your EC2 URL ‘http://10.10.1.18:8773/services/Eucalyptus/’ for correctness, or delete the value in ec2ui.endpoints using about:config and retry.

    which is same as the value of my EC2_URL variable.

    When I clear the ec2ui.endpoints, and reconfiguring it, it is still giving same error.

    Am I forgetting anything to clear from the previous version? or doing anything wrong? I have also tried with the plugin I’ve downloaded from

    http://code.google.com/p/hybridfox/downloads/detail?name=elasticfox-1.6.000107.xpi

    but this also gives same problem.

    Regards,
    Pushkaraj

    /services/Eucalyptus

  6. ian Says:

    very helpful … many thanks

  7. Isaac To Says:

    I’ve got the same problem that I cannot add new regions. After some trials I found that if I remove the preset Amazon sites, I’ll not be able to add any new sites. So keep those. And if you have already removed them, you can open about:config, search for ec2.ui from there, and reset every variable found. When you restart ElasticFox, a new configuration is regenerated, and you can add your own local region from there.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: