Amazon ec2 现场Windows实例

Amazon ec2 现场Windows实例,amazon-ec2,Amazon Ec2,这是我的json文件 # cat s6.json { "ImageId": "ami-0b33d91d", "InstanceType": "i2.xlarge", "KeyName": "xxx" } 我可以用这个命令 # aws ec2 request-spot-instances --spot-price "1.03" --instance-count 1 --type "one-time" --launch-specification fil

这是我的json文件

# cat s6.json
    {
      "ImageId": "ami-0b33d91d",
      "InstanceType": "i2.xlarge",
      "KeyName": "xxx"
}
我可以用这个命令

# aws ec2 request-spot-instances --spot-price "1.03" --instance-count 1 --type "one-time" --launch-specification file://s6.json
上述命令按预期工作。但是如果我将图像ID更改为windowsami-ab33d3bd我会得到这个错误

调用RequestSpotInstances时发生错误(InvalidInput) 操作:不支持的产品

但是,我可以毫无问题地请求常规的按需实例。所以这个命令有效

# aws ec2 run-instances --image-id ami-ab33d3bd --count 1 --instance-type i2.xlarge --key-name xxx
这是否意味着Windows实例在现场不可用?

来自EC2 spot:

哪些操作系统可用作Spot实例

Linux/UNIX和Windows服务器可用。带SQL的Windows Server 服务器当前不可用


AMIAMI-ab33d3bd是一个Windows Server 2008,带有SQL Enterprise,Spot不支持它。

您能提供到该常见问题页面的链接吗?我这样问是因为官方页面提到spot实例是可用的。(对于较低价格,使用现货)