How we can connect amazon servers in putty using key pair ec2

In order to connect AmazonĀ  Linux servers we have to use putty from our windows computer. But as other servers amazon will not allow connect with username and password through putty. We have to use the private and public key pair.

During the installation of the server it will ask for generate the key pairs, if there is no key available in that particular region. In a region only one pair of key is enough for many servers. the public key pair we can down load to our local computer during generating the key.

We can generate new key at any time. For generating key we have to go for ec2 dash board–network and security–key pairs, then click on create key par and give name for the key and click generate and down load.