Currently I am having m3.xlarge
instance type, but I want to change it to t1.micro
. I have stopped the server and trying to change the instace type
by right click on the instance name .
目前我有m3.xlarge实例类型,但我想将其更改为t1.micro。我已经停止服务器并尝试通过右键单击实例名称来更改实例类型。
But when I click on submit to change the server name, I am getting an error in console :
但是,当我单击提交以更改服务器名称时,我在控制台中收到错误:
POST https://console.aws.amazon.com/ec2/modify-instance-attribute 400 (Bad Request)
When I elaborate it into the network then The response that I got from the server was :
当我详细说明它进入网络时,我从服务器得到的响应是:
{"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."}
How can I resolve this problem, or how can I change the instance from xlarge
to micro
如何解决此问题,或者如何将实例从xlarge更改为micro
2 个解决方案
#1
33
For whatever reason, Amazon's HVM based AMI is not compatible with the t1.micro size.
无论出于何种原因,亚马逊的基于HVM的AMI与t1.micro大小不兼容。
Amazon has hardware virtual machine (HVM) based AMIs, and paravirtual machine (PVM) based AMIs. From that error message, AWS is saying that your current instance is HVM based, and t1.micro size will only support PVM based instances.
亚马逊拥有基于硬件虚拟机(HVM)的AMI和基于半虚拟机(PVM)的AMI。从该错误消息中,AWS表示您当前的实例是基于HVM的,而t1.micro大小仅支持基于PVM的实例。
The way round this would be to create a new AMI from your instance and launch a new instance from that AMI as t1.micro size. Be careful, though, this may just create an HVM-based AMI, in which case you will need to snapshot the volume for your current instance and create a new AMI from that.
这样做的方法是从您的实例创建一个新的AMI,并从该AMI启动一个新的实例作为t1.micro大小。但是要小心,这可能只是创建一个基于HVM的AMI,在这种情况下,您需要为当前实例快照卷并从中创建一个新的AMI。
Some more information on 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
有关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
#2
0
I got this solved by matching the instance types. You need to make sure that the instance types for AMI and EC2 are same.
我通过匹配实例类型解决了这个问题。您需要确保AMI和EC2的实例类型相同。
#1
33
For whatever reason, Amazon's HVM based AMI is not compatible with the t1.micro size.
无论出于何种原因,亚马逊的基于HVM的AMI与t1.micro大小不兼容。
Amazon has hardware virtual machine (HVM) based AMIs, and paravirtual machine (PVM) based AMIs. From that error message, AWS is saying that your current instance is HVM based, and t1.micro size will only support PVM based instances.
亚马逊拥有基于硬件虚拟机(HVM)的AMI和基于半虚拟机(PVM)的AMI。从该错误消息中,AWS表示您当前的实例是基于HVM的,而t1.micro大小仅支持基于PVM的实例。
The way round this would be to create a new AMI from your instance and launch a new instance from that AMI as t1.micro size. Be careful, though, this may just create an HVM-based AMI, in which case you will need to snapshot the volume for your current instance and create a new AMI from that.
这样做的方法是从您的实例创建一个新的AMI,并从该AMI启动一个新的实例作为t1.micro大小。但是要小心,这可能只是创建一个基于HVM的AMI,在这种情况下,您需要为当前实例快照卷并从中创建一个新的AMI。
Some more information on 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
有关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
#2
0
I got this solved by matching the instance types. You need to make sure that the instance types for AMI and EC2 are same.
我通过匹配实例类型解决了这个问题。您需要确保AMI和EC2的实例类型相同。