title: How to change the instance type in amazon ec2
body: <p>Currently I am having <code>m3.xlarge</code> instance type, but I want to change it to <code>t1.micro</code>. I have stopped the server and trying to change the <code>instace type</code> by right click on the instance name . </p>
  
  <p>But when I click on submit  to change the server name, I am getting an error in console :</p>
  
  <pre><code>POST https://console.aws.amazon.com/ec2/modify-instance-attribute 400 (Bad Request) 
  </code></pre>
  
  <p>When I elaborate it into the network then The response that I got from the server was :</p>
  
  <pre><code>{"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."}
  </code></pre>
  
  <p>How can I resolve this problem, or how can I change the instance from <code>xlarge</code> to <code>micro</code></p>