我想以编程方式启动 Windows 2008(64 位,基本安装)实例,有点像单击启动实例链接并遵循“创建新实例”向导。
我阅读了有关此命令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 安装,在云上运行一些测试并在此之后将其关闭。