chmod 600 ~/.ssh/id_rsa
chmod 400 {keyfile}.pem is what amazon instructed and it works.
$ sudo chmod 600 /path/to/my/key.pem