Home > technical, Uncategorized > Playing with EC2

Playing with EC2

I’m playing with EC2 a bit, and the firefox extension makes life a lot easier. I launched an Ubuntu AMI quite easily. One of the things that confused me was the whole issue of the key pairs and ssh.

Here’s the sequence.

  1. Generate a key pair in the “Key Pairs” tab. You’ll be prompted to put it in a file.
  2. Launch the AMI using this key-pair. Right click on the AMI, choose Launch ,a and from the option choose the key-pair from 1.
  3. SSH to the AMI using the public DNS address. In my case I did ssh -v -i ec2-keys/ubuntu1.pem root@ec2-72-44-44-15.z-2.compute-1.amazonaws.com where
    • ec2-keys/ubuntu1.pem is where I stored the private key
    • ec2-72-44-44-15.z-2.compute-1.amazonaws.com
Categories: technical, Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

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 )

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: