You will need
- A web browser
- An Amazon AWS Account
- Download PuTTY
Instructions
- Create a new key pair in AWS
https://console.aws.amazon.com/ec2/home#c=EC2&s=KeyPairsIt will automatically download the key for you – go put it somewhere safe (c:\amazon\keys\your-key.pem)
- Load up puttygen.exe
- Conversions… Import Key
- Import c:\amazon\keys\your-key.pem
- Save Public Key:
c:\amazon\keys\PublicKey.ppk - Save Private Key
c:\amazon\keys\PrivateKey.ppkIdeally set a password but not required – what this means is that when you go to connect and it uses your key it will ask for this password
- Launch and instance from AWS
https://console.aws.amazon.com/ec2/home#s=Home - Choose Community AMI
Search for ami-480df921 (It may take a while – be patient)
This is Canonical’s 32-Bit Ubuntu 10.04 - Click Select then choose a t1.micro (or relevant size) instance
- Keep the rest of the defaults but when it asks for keypair – use the one you created in step 1 from the drop-down
- Go to the end and it will launch…
- In your Instances
https://console.aws.amazon.com/ec2/home#s=InstancesSelect your instance then Instance Actions then Connect.
Copy the hostname - In PuTTY paste the hostname into the Hostname or IP box
- Under SSH… Auth browse to c:\amazon\keys\PrivateKey.ppk
- Then back under Sessions click Connect
- When prompted log in as “ubuntu”
Pingback: Build a Ubuntu Amazon EC2 Instance « Vanessa's Imiloa
It works for me. Simple and effective.
Many thanks.