Setting Up for Amazon EC2
Here’s how to set up the the Amazon EC2 and connect it using your Putty:
1) Create an account in AWS
2) Generate your keys by Key Pairs
Input your key name, such as ec2, and save the value(ec2.pem file), which is important.
Download the PuTTYGen, import the ec2.pem file, select “Type-of-key-to-generate”: SSH1
Then save the private key
4) Create an instance, when comes to the advanced setting, select your exist key, and default in security group ( since we have already update the security group, this will make our instance accessible from the SSH)
5) with the lunched instance, use the Public DNS to Putty’s IP,
6) go to Connection -> Data and enter “ec2-user” as the Auto-login username.
For Ubuntu Instance, use ‘ubuntu’ as the Auto-loginusename.