shareVM- Share insights about using VM's

Simplify the use of virtualization in everyday life

Posts Tagged ‘elasticfox

Top 10 referrers for Q1 2009

leave a comment »

Top 12 referrers over the past 3 months

leave a comment »

Web-based EC2 console, alternative to ElasticFox

with one comment

Mike Culver, technology evangelist for Amazon Web Services announced the availability of a web-based management console for ec2, the Elastic Compute Cloud.

The key features are summarized by James Urquhart and by Saad Ali Abassi.

Alan Williamson offers a visual tour of the new UI.

As an AWS customer, I feel heartened by this investment on Amazon’s part because it emphasizes their commitment to commoditize AWS and make its services widely usable. The AWS services will become cheaper as usage ramps up on the commoditization curve and makes “cloud computing accessible for the masses

Written by paule1s

January 9, 2009 at 6:17 pm

Create a new EC2 AMI instance from an existing AMI

leave a comment »

  1. Open ElasticFox; Open tab AMI and Instances
  2. Select an AMI Instance to suit your needs and launch it as described here
  3. You will be shown the Launch New Instance dialog box
  4. Select the Instance Type as small or large
  5. Select the key pair you want to use. There might be just one in the dropdown if you are the only user, otherwise there can be one per member of your development team.
  6. Select the Availability Zone in the same zone as your primary services and data. We chose us-east-1c because that is the zone where all our VM’s are currently running.
  7. Select the appropriate Security Group, I chose pauls-sandbox, which was created as described here.
  8. Press the Launch button to launch an instance of this AMI
  9. The AMI instance is shown as running
  10. Right click on the running AMI instance and select Connect to Instance. This should bring up a terminal window

You have got to remember at all times that Amazon EC2 is stateless, it will not remember things between one AMI instance to the next unless you have allocated persistent storage in Amazon’s Simple Storage Service (S3) and maintain state there, e.g., .bashrc, etc for logins.

  1. Create a new volume in the Elastic Block Store (EBS) from the Volumes and Snapshots tab in ElasticFox
  2. Attach this newly created volume as /dev/sdh with the AMI instance that you have just started
  3. This causes the volume to be associated with the running instance

Written by paule1s

December 5, 2008 at 10:12 pm

Isolating your EC2 AMI using Security Groups

with one comment

If you are a member of a development team that will be sharing code and data residing on shared storage in the cloud, you should create your own security group to isolate your VM and testing from others in your group. I learnt this the hard way when our development team was operating in the same security group and I accidentally terminated Harvey’s VM while he was rewriting the makefile. He lost all his changes.

  1. Access the Security Groups tab in ElasticFox.
  2. Create a new group and add new group permissions. I added a new group called pauls-sandbox and added group permissions for
  • SSH (port 22),
  • HTTP (port 80),
  • HTTPS (port 443) and
  • ICMP (port -1) for pings

Written by paule1s

December 5, 2008 at 10:01 pm

How to launch first AMI on Amazon EC2?

with 2 comments

I followed the steps outlined below on my Windows XP laptop and got the details right through trial and error. I did paste screen shots initially to make the narrative more visual but I eventually took them off because their resolution did not promote clarity

Download Tools

  • Download ElasticFox, a Mozilla FireFox extension that will allow you to interact with ec2 from the Firefox browser.
  • Download PuTTY, a SSH and telnet client that is transparently used by ElasticFox for establishing a remote connection with ec2.
  • Also download PuTTYgen, an RSA and DSA key generation utility from the same download site.

Connect with EC2

  1. Start FireFox and load ElasticFox from its Tools menu.
  2. Click the single blue Credentials button on the top L of the ElasticFox pane. A Manage EC2 Credentials dialog box pops up. Enter an Account Name of your choice and provide the AWS Access Key and AWS Secret Access Key for your ec2 account from the aws site.
  3. Open the KeyPairs tab and press the middle green Create a new keypair button on the top L of the KeyPair pane. Once you provide a name for the key pair, e.g., pevans,  and click OK, it will generate a key pair, pevans.pemand save it in c:documents and settings<user name>ec2-keys. Note that you can change the location for the ec2-keys folder by clicking on the Tools button on the top R hand ElasticFox pane.
  4. Start PuTTYGen, load the pevans.pem file created in the earlier step and generate a private key pevans.ppkfrom it. ElasticFox uses PuTTY internally for establishing a SSH connection with EC2. The private key generated in this setp will be used by PuTTY for this connection.
  5. Open the AMI and Instances tab and select any public AMI from the Machine Images pane, which packages the OS and apps , e.g., Fedora, Apache and mySQL, that you require.
  6. Click on the green Launch Instance button on the top L of the Machine Images pane to launch an AMI isntance 
  7. You should see a new AMI appear in the lower Your Instance pane. it should start up in the lower panel with pending status (takes a minute or two)
  8. Select the AMI and click on the fifth green Connect to Instance button 
  9. A telnet window should appear with you logged in as root into the shell.
  10. If the shell prompts you for a username and password, then the private key generation was not done correctly and should be redone with care

Written by paule1s

December 5, 2008 at 1:41 am