Gab*_*vay 3 amazon-ec2 ec2-api-tools
是否有EC2_*环境变量来指定EC2命令行工具的默认区域,以避免--region eu-west-1为每个命令指定选项?
sla*_*fer 10
对于最新的AWS CLI:
export AWS_DEFAULT_REGION=eu-west-1
Run Code Online (Sandbox Code Playgroud)
参考:
http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html
对于较旧的EC2 CLI:
export EC2_URL=https://ec2.eu-west-1.amazonaws.com
Run Code Online (Sandbox Code Playgroud)
参考:
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/SettingUp_CommandLine.html
http://docs.aws.amazon.com/general/latest/gr/rande.html
| 归档时间: |
|
| 查看次数: |
4652 次 |
| 最近记录: |