Skip to content

AWSコマンドラインツールのプロキシ使用

mechamogera edited this page Aug 7, 2012 · 1 revision

ec2-api-tools

  • 以下のような環境変数を設定することでプロキシ使用可能
export EC2_JVM_ARGS="-Dhttp.proxySet=true -Dhttp.proxyHost=${PXHOST} -Dhttp.proxyPort=${PXPORT} -Dhttp.proxyUser=${PXUSER} -Dhttp.proxyPass=${PXPASS} -Dhttps.proxySet=true -Dhttps.proxyHost=${PXHOST} -Dhttps.proxyPort=${PXPORT} -Dhttps.proxyUser=${PXUSER} -Dhttps.proxyPass=${PXPASS}"

ec2-api-tools以外のツール

  • 基本的には以下のような設定をする。
  • ただし、プロキシ認証には対応していないようである(こちら参照)
export SERVICE_JVM_ARGS=${EC2_JVM_ARGS}
Clone this wiki locally