You must install the AWS CLI to use these functions. You also have to have access keys to AWS and permission to access instance information.
The AWS CLI install is usually painless, see http://docs.aws.amazon.com/cli/latest/userguide/installing.html
sudo easy_install pip
sudo pip install awscli
After install run the setup to set your configuration options which includes the default region and your access keys.