AWS EC2 Tips

    • While connecting to an EC2 instance from SSH, Amazon tutorial suggest you type in the following:
      ssh -i {full path of your .pem file} ec2-user@{instance IP address}
    • Assuming the private key file is saved under /home directory/.ssh, this is the connection string that actually worked for me in Git Bash. Ubuntu for Windows just can’t seem to find the private key file no matter what I do.  Also note: use Public DNS IPV4 for the EC2 instance, not IPV4.
      ssh -i "~/.ssh/yourkey.pem"
  • Authorize Inbound Traffic for your Linux Instance