I got a lot of errors when using AWS CLI, and I got stuck, so make a note.
Install Python to install awscli via Python's package management tool.
$ brew install python
$ sudo easy_install pip
$ sudo pip install awscli
//Those who could not do it by the above method are as follows
$ sudo pip install awscli --upgrade --ignore-installed six
//Set up AWS
$ aws configure
After entering the above command, enter the AWS access key and secret key, and then omit it.
When connecting with ssh, I was angry that I did not have permission for the pem file, so the same person is as follows
$ chmod 600 hoge.pem
You can change hoge.pem
arbitrarily and describe the path to the pem file.
that's all.
Recommended Posts