environment
setup
shell
$ virtualenv aws-cli
$ cd aws-cli/
$ source bin/activate
$ pip install awscli
$ source bin/aws_zsh_completer.sh
$ vi config
config file
config
[default]
aws_access_key_id=<default access key>
aws_secret_access_key=<default secret key>
region=ap-northeast-1
usage
shell
$ export AWS_CONFIG_FILE=/path/to/aws-cli/config
$ aws --version
aws-cli/1.0.0 Python/2.7.1 Darwin/11.4.2
$ aws ec2 describe-instances
$ aws s3 ls
# more information see help
$ aws help
Recommended Posts