Add/Modify .ssh/config and add this entry:
Host ec2
Hostname ec2-x-x-x-x.compute-x.amazonaws.com
User ubuntu
IdentityFile /your/path/to/id/file
Then you can simply log into your machine by typing:
ssh ec2
instead of giving the complete path to your machine and identity file each time.