Instance type の 変更

From misc notes
Revision as of 11:50, 14 June 2011 by Nxhack (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 でも出来るようになりました。