Skip to content

Instantly share code, notes, and snippets.

@uemuraj
Created March 25, 2015 04:36
Show Gist options
  • Save uemuraj/6ce663a77a0150d42f88 to your computer and use it in GitHub Desktop.
Save uemuraj/6ce663a77a0150d42f88 to your computer and use it in GitHub Desktop.
Amazon EC2 API Tools を使用する時の環境変数の設定、覚え書き
#!/bin/bash
export AWS_ACCESS_KEY=XXXXXXXXXXXXXXX
export AWS_SECRET_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
export EC2_HOME=/opt/ec2-api-tools-1.7.3.0
export EC2_URL=ec2.ap-northeast-1.amazonaws.com
export PATH=$PATH:/opt/ec2-api-tools-1.7.3.0/bin
# プロキシが必要なら...
export "EC2_JVM_ARGS=-Dhttp.proxyHost=xxxxx -Dhttp.proxyPort=9999 -Dhttps.proxyHost=xxxxx -Dhttps.proxyPort=9999"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment