目前我有m3.xlarge
实例类型,但我想将其更改为t1.micro
.我已停止服务器并尝试instace type
通过右键单击实例名称来更改.
但是,当我单击"提交"以更改服务器名称时,我在控制台中收到错误:
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
无论出于何种原因,亚马逊的基于HVM的AMI与t1.micro大小不兼容.
亚马逊拥有基于硬件虚拟机(HVM)的AMI和基于半虚拟机(PVM)的AMI.从该错误消息中,AWS表示您当前的实例是基于HVM的,而t1.micro大小仅支持基于PVM的实例.
这样做的方法是从您的实例创建一个新的AMI,并从该AMI启动一个新的实例作为t1.micro大小.但是要小心,这可能只是创建一个基于HVM的AMI,在这种情况下,您需要为当前实例的卷创建快照并从中创建一个新的AMI.
有关HVM的更多信息:http : //docs.aws.amazon.com/AWSEC2/latest/UserGuide/using_cluster_computing.html#concepts_cluster_compute_hvmAMI http://aws.amazon.com/ec2/faqs/#Does_use_of_Cluster_Compute_Instances_differ_from_other_Amazon_EC2_instance_types