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.
- Generate a key pair in the “Key Pairs” tab. You’ll be prompted to put it in a file.
- 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.
- SSH to the AMI using the public DNS address. In my case I did ssh -v -i ec2-keys/ubuntu1.pem email@example.com where
- ec2-keys/ubuntu1.pem is where I stored the private key