domingo, 13 de marzo de 2011

Add t1.micro support to ElasticFox


A lot of people, including me depend on the ElasticFox firefox plugin to interact with Amazon Web Services and its easy to see why. It has GUI support for almost everything that you'd need to interact with AWS.
However, it seems that, as of today, ElasticFox has yet to add support for the t1.micro instances that Amazon introduced recently.

Well, I just couldn't stand waiting for the latest release, and if you're just as impatient, you might want to try the following:

  1. Check out the elasticfox code from svn:
    svn co https://elasticfox.svn.sourceforge.net/svnroot/elasticfox/trunk elasticfox
  2. Open up
    trunk\src\chrome\content\ec2ui\newinstancesdialog.js
    in your favorite editor. Go to line 247 and add the following:
    if (this.image.rootDeviceType == "ebs") {
    typeMenu.appendItem("t1.micro", "t1.micro");
    }
Now, its time to build the code into a plugin.
Download and install the firefox extension developer plugin
Open Firefox. Go to Tools->Extension Developer->Extension Builder, browse for your working directory and hit 'Build extension'.
You can then drag this resulting .xpi file into the browser window to install the plugin

You should now be able to select a t1.micro instance for a corresponding valid AMI

No hay comentarios:

Publicar un comentario