search by tags

for the user

adventures into the land of the command line

installing the aws cli

if you like to use amazon web services, their linux command line interface is a pretty funky tool you might want to use. here’s how to install it

dependancy - python 2.6.3

install pip

$ curl https://bootstrap.pypa.io/get-pip.py > get-pip.py
$ python get-pip.py

install awscli

$ pip install awscli
$ aws --version

to upgrade to a newer version

$ pip install awscli --upgrade
$ aws --version

configure awscli installation

$ aws configure

fill in the prompts, you inputs are saved into a settings file in ~/.aws/config and can also be set as environment variables. if you have both, the environment variables will be read first

export AWS_ACCESS_KEY_ID=samplekey
export AWS_SECRET_ACCESS_KEY=samplesecret
export AWS_DEFAULT_REGION=myregion

Cookies

We use third-party cookies to analyse web traffic.

Read more.