Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save collisiondetection/d3a737933fe728e30b1a35164b6f5e27 to your computer and use it in GitHub Desktop.
Save collisiondetection/d3a737933fe728e30b1a35164b6f5e27 to your computer and use it in GitHub Desktop.
HOWTO Install AWS CLI on Debian

HOWTO Install AWS CLI on Debian

1. installing pre-reqs

sudo apt-get install python python-pip

2. installing the cli:

sudo pip install awscli

3. configuring the cli:

aws configure

This will create the following configuration files in ~/.aws/ :

$ ls ~/.aws/
config      credentials

credentials

This file contains the default and additional profiles you may have configured using the 3. command, modulo a few switches as explained in the documentation at Amazon, or using aws help

config

This file contains the configuration details per profile as configured using the 3. command as follows:

$ cat ~/.aws/config
[default]
output = json
region = eu-west-1
[backup]
output = json
region = eu-central-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment