Instance type の 変更

jrclogo.gif


  • instance type の 変更方法
EBS root の場合、instance を stop して、ec2-modify-instance-attribute で instance type を変更して、再度、start させるとよい。
Move a Running EBS Boot Instance to New Hardware on Amazon EC2 - Alestic.com
A Simpler Way To Replace Instance Hardware on EC2 - Alestic.com

作業は至って簡単 (EBS backed instance で 64bit AMI の場合ね;)

% ec2-stop-instances INSTANCE
% ec2-modify-instance-attribute --instance-type m1.large INSTANCE
% ec2-start-instances INSTANCE
% ec2-associate-address IP -i INSTANCE

AWS Management Console でも出来るようになりました。