To not type the public key path when connecting on ssh, it's possible to modify the $HOME/.ssh/config file (if not exist create it) to define for certain domains which configuration to use.

Host server.net  
HostName server.net  
User ec2-user  
IdentityFile ~/AWS/key.pem