【发布时间】:2012-04-27 17:56:20
【问题描述】:
我想以编程方式启动一个 Windows 2008(64 位,基本安装)实例,有点像点击 Launch Instance 链接并按照“创建新实例”向导进行操作。
我阅读了这个命令 ec2-run-instances,我尝试使用以下语法在 putty 上运行它:
/opt/aws/bin/ec2-run-instances ami_id ami-e5784391 -n 1 --availability-zone eu-west-1a --region eu-west-1 --instance-type m1.small --private-key /full/path/MyPrivateKey.pem --group MyRDP
但它总是抱怨:
Required option '-C, --cert CERT' missing (-h for usage)
根据文档,此选项不是必需的!!
谁能告诉我到底出了什么问题?我只是想以编程方式启动一个全新的 Windows 安装,在云端运行一些测试,然后将其关闭。
【问题讨论】:
标签: ssh automation amazon-ec2 amazon-web-services