Adding support for new instance types in Elastic Fox 5
I copied this from: http://dirty-code.blogspot.com/2010/11/adding-support-for-new-instance-types.html
Recently Amazon announce new instance types, but don’t add support for these types in the ElasticFox. At least these changes not
Maybe you are interested too in adding support for t1.micro and
clustered version of instance types (cc1.4xlarge, cg1.4xlarge) to your
ElasticFox.
Here the steps you could do to enjoy working with ElasticFox and new Aamzon features:
Close FF. Check that firefox.exe is gone from process list
Kill if it will stay too long after closing FF.
Go to C:\Documents and Settings\Application
Data\Mozilla\Firefox\Profiles\
Go inside XXXXX.default folder. This actually your FF profile.
Than go deeper in the
extensions\{2204c510-88f3-11db-b606-0800200c9a66}\chrome
on a mac:
/Users/YOU/Library/Application Support/Firefox/Profiles/SOMENUMBERS.default/extensions/{2204c510-88f3-11db-b606-0800200c9a66}/chrome
This folder should have file ec2ui.jar to ec2ui.jar.bak
Make backup of the file
Change extension to ZIP. Unpack ZIP archive to ec2ui_patched folder.
Go to ec2ui_patched\content\ec2ui
Open newinstancesdialog.js in your favorite JS editor. This is a
file that represent New Instance dialog in ElasticFox.
In the init function found block
// Add the instance sizes based on AMI architecture
if (this.image.arch == "x86_64") {
typeMenu.appendItem("m1.large", "m1.large");
typeMenu.appendItem("m1.xlarge", "m1.xlarge");
typeMenu.appendItem("c1.xlarge", "c1.xlarge");
typeMenu.appendItem("m2.xlarge", "m2.xlarge");
typeMenu.appendItem("m2.2xlarge", "m2.2xlarge");
typeMenu.appendItem("m2.4xlarge", "m2.4xlarge");
} else {
typeMenu.appendItem("m1.small", "m1.small");
typeMenu.appendItem("c1.medium", "c1.medium");
}
Replace with following
// Add the instance sizes based on AMI architecture
if (this.image.arch == "x86_64") {
typeMenu.appendItem("m1.large", "m1.large");
typeMenu.appendItem("m1.xlarge", "m1.xlarge");
typeMenu.appendItem("c1.xlarge", "c1.xlarge");
typeMenu.appendItem("m2.xlarge", "m2.xlarge");
typeMenu.appendItem("m2.2xlarge", "m2.2xlarge");
typeMenu.appendItem("m2.4xlarge", "m2.4xlarge");
typeMenu.appendItem("t1.micro", "t1.micro");
typeMenu.appendItem("cc1.4xlarge", "cc1.4xlarge");
typeMenu.appendItem("cg1.4xlarge", "cg1.4xlarge");
} else {
typeMenu.appendItem("m1.small", "m1.small");
typeMenu.appendItem("c1.medium", "c1.medium");
typeMenu.appendItem("t1.micro", "t1.micro");
}
Package content of ec2ui_patched folder as ZIP archive.
Rename ZIP archive with patched version to ec2ui.jar and place it inside C:\Documents and Settings\Application Data\Mozilla\Firefox\Profiles\extensions\{2204c510-88f3-11db-b606-0800200c9a66}\chrome
Launch FF and enjoy support for new instance types in ElasticFox.
A form of silver has been extracted from used photographic film.Fabrics like organic cotton, hemp, bamboo and even soysilk are produced or recycled materials that are sustainable, durable and good for the environment.
I generally approve with your ideas. We all benefit from this wonderful posting. This web-site is best. I have figured out some things from here. Thank you.
These kind of post are always inspiring and I prefer to read quality content so I’m happy to find many good point here in the post, writing is simply great, thank you for the post.ANSI Flange
Very great articles, I must learned a lot, I hope the next one, then he can learn something else, I am grateful. [b][url=http://www.carsdiagnostictool.com/822-renault-can-clip-lexia-3]Lexia 3[/url][/b]
coming out on May 17, 2013 from Paramount cardio workout dvd