目前我使用的是m3.xlarge
实例类型,但我想将其更改为t1.micro
。我已经停止了服务器,并试图通过右键单击实例名称来更改实例类型
。
但当我点击提交以更改服务器名称时,在控制台中出现错误:
POST https://console.aws.amazon.com/ec2/modify-instance-attribute 400 (Bad Request)
当我将其转化为网络请求后,从服务器获得的响应是:
{"errors":[{"service":"AmazonEC2","action":"ModifyInstanceAttribute","endPoint":"https://ec2.us-east-1.amazonaws.com","statusCode":400,"message":"Non-Windows instances with a virtualization type of 'hvm' are currently not supported for this instance type.","errorCode":"InvalidParameterCombination","errorType":"Unknown","requestId":"28025a27-4c3c-452c-8f04-fc4adc8eb335","serviceResponse":{"Response":{"Errors":{"Error":{"Code":"InvalidParameterCombination","Message":"Non-Windows instances with a virtualization type of 'hvm' are currently not supported for this instance type."}},"RequestID":"28025a27-4c3c-452c-8f04-fc4adc8eb335"}}}],"error":"Non-Windows instances with a virtualization type of 'hvm' are currently not supported for this instance type."}
我该如何解决这个问题,或者说我怎样才能把实例从xlarge
更改为micro
?
kitchen-ec2
gem 时遇到了这个错误,并发现将driver:
配置设置中的flavor_id: c3.large
使用可以解决它。本质上,这个答案总结了问题:尝试使用支持 HVM AMI 的不同 EC2 实例 flavor。 - TrinitronX