To install the Amazon  EC2 API command line tools in Debian just run these two command in the command line.

sudo apt-get install python-pip
sudo pip install awscli

To set up your credentials, run aws configure. For more information and help please see http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html.