开发者

Stop an Amazon EC2 instance with "instance store"

I have an EC2 instance with "instance store" device as a root device (I did not know the difference between it and EBS before launching it). I would like to stop it but I can not do it with the command ec2-stop-instances, the output is:

Client.UnsupportedOperation: The instance 'i-XXXXXXXX' does not have an 'ebs' root device type and cannot be stopped.

Does anybody know how to stop it with Windows Consol开发者_StackOverflow社区e (I am not the owner of the Amazon account and I won't be able to contact with him for weeks)

Thanks in advance.


EC2 instance with "instance store" cannot be stopped. They can only be terminated.

If you would like the ability to stop an instance, I suggest recreating the instance with an EBS root device. These types of instances support the ec2-stop-instances command. You can consider this command as a "pause", since it can be resumed at any time, and you will not be charged for the time the instance is stopped.

Amazon announced the ability to boot instances from an EBS root volume only in December 2009, so you will find that older documentation and tutorials ignore the extended command-set that came with the EBS root volumes.

Further reading: Amazon EC2 Instances Now Can Boot from Amazon EBS


I am not the owner of the Amazon account and I won't be able to contact with him for weeks.

If you really want to "pause" this instance for a few weeks, you can create a machine image (AMI) of your instance and terminate it.

You will then be able to launch a new instance with your private AMI when you want to "resume" this instance. It will not be the same instance, as in it will have a different instance ID and a different IP, but you will be cloning the setup of your instance.

The methods to build an AMI differ if your instance is running Windows or Linux, but you should be able to find adequate information on the web about both scenarios.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜