I created keypair by using below command
ssh-keygen -t rsa -f serverkey -C centos
renamed serverkey to serverkey.pem
After that I am referencin