Installing aws CLI tool from source:

git clone --depth=1 https://github.com/aws/aws-cli.git
cd ./aws-cli
pip install .

Configuring access keys:

$ aws configure
AWS Access Key ID: your-access-key-id
AWS Secret Access Key: your-secret-access-key
Default region name: eu-west-1
Default output format: json