AWS CommandLine

AWS Command Line Interface(CLI)
Operate AWS on the command line

It seems that you can easily install AWS CLI by using Python pip. AWS-CLI seems to work with Python 2.6.5 or higher or Python 3.3 or higher.
Let’s put aws cli in centos6.

[vagrant@localhost ~]$ python -V
Python 3.5.2

Installation of AWS-CLI
[vagrant@localhost ~]$ pip install awscli –upgrade –user
Collecting awscli
Downloading (1.4MB)
100% |████████████████████████████████| 1.4MB 4.3MB/s
Collecting s3transfer<0.2.0,>=0.1.12 (from awscli)
Downloading (59kB)
100% |████████████████████████████████| 61kB 3.2MB/s
Requirement already satisfied, skipping upgrade: PyYAML<=3.13,>=3.10 in ./.pyenv/versions/3.5.2/lib/python3.5/site-packages (from awscli) (3.13)
Collecting botocore==1.12.86 (from awscli)
Downloading (5.2MB)
100% |████████████████████████████████| 5.3MB 545kB/s
Collecting rsa<=3.5.0,>=3.1.2 (from awscli)
Downloading (46kB)
100% |████████████████████████████████| 51kB 3.8MB/s
Collecting colorama<=0.3.9,>=0.2.5 (from awscli)
Collecting docutils>=0.10 (from awscli)
Downloading (543kB)
100% |████████████████████████████████| 552kB 650kB/s
Requirement already satisfied, skipping upgrade: python-dateutil<3.0.0,>=2.1; python_version >= “2.7” in ./.pyenv/versions/3.5.2/lib/python3.5/site-packages (from botocore==1.12.86->awscli) (2.7.3)
Collecting jmespath<1.0.0,>=0.7.1 (from botocore==1.12.86->awscli)
Requirement already satisfied, skipping upgrade: urllib3<1.25,>=1.20; python_version >= “3.4” in ./.pyenv/versions/3.5.2/lib/python3.5/site-packages (from botocore==1.12.86->awscli) (1.23)
Collecting pyasn1>=0.1.3 (from rsa<=3.5.0,>=3.1.2->awscli)
Downloading (73kB)
100% |████████████████████████████████| 81kB 2.2MB/s
Requirement already satisfied, skipping upgrade: six>=1.5 in ./.pyenv/versions/3.5.2/lib/python3.5/site-packages (from python-dateutil<3.0.0,>=2.1; python_version >= “2.7”->botocore==1.12.86->awscli) (1.11.0)
Installing collected packages: jmespath, docutils, botocore, s3transfer, pyasn1, rsa, colorama, awscli
The scripts pyrsa-decrypt, pyrsa-decrypt-bigfile, pyrsa-encrypt, pyrsa-encrypt-bigfile, pyrsa-keygen, pyrsa-priv2pub, pyrsa-sign and pyrsa-verify are installed in ‘/home/vagrant/.local/bin’ which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use –no-warn-script-location.
Successfully installed awscli-1.16.96 botocore-1.12.86 colorama-0.3.9 docutils-0.14 jmespath-0.9.3 pyasn1-0.4.5 rsa-3.4.2 s3transfer-0.1.13
You are using pip version 18.0, however version 19.0.1 is available.
You should consider upgrading via the ‘pip install –upgrade pip’ command.

[vagrant@localhost ~]$ aws –version
-bash: aws: コマンドが見つかりません

If I just installed it, I have to passed the path because the aws command was not recognized.