shareVM- Share insights about using VM's

Simplify the use of virtualization in everyday life

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

2 Responses

Subscribe to comments with RSS.

  1. […] Select an AMI Instance to suit your needs and launch it as described here […]

  2. thanks for your tip on elasticfox and puttygen.

    I know its dumb but I have been struggling with the docs regarding these keys for a whole day now and it was your tip that straightened me out.



    January 12, 2009 at 2:40 pm

Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: