Created
March 25, 2015 04:36
-
-
Save uemuraj/6ce663a77a0150d42f88 to your computer and use it in GitHub Desktop.
Amazon EC2 API Tools を使用する時の環境変数の設定、覚え書き
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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