amazon-ec2 使用AWS CLI
示例
关于awscli最好的部分是您可以将命令嵌入脚本中,并可以根据某些条件触发它们。与在生产环境中进行自动部署(在ElasticBeanstalk中)一样,无需转到AWS控制台进行选择和部署。
您将通过运行以下命令获得所有可用的命令:
# This will give all the available commands aws help
您甚至可以走得更远,例如:
# This will give all the available options for ec2 aws ec2 help
并进一步
# This will output all the operations you can do with ec2 instances aws ec2 describe-instances help
您可以使用awscli列出/操作所有aws资源(S3,EC2,EBS,RDS等)。这是完整的文档。
热门推荐
1 如何训练狗狗不叫
2 训练狗狗不叫
3 训练狗狗随行
4 怎么训练狗狗不叫
7 训练比熊狗狗教程
10 上海狗狗训练
11 怎么训练狗狗上厕所
12 训练狗狗趴下
13 狗狗服从训练
14 训练狗狗拒食
15 训练狗狗笑
16 训练狗狗大便
17 训练狗狗立
18 训练狗狗捡东西