如果我停止 Amazon EC2 实例,是否会保存该实例?
如果我停止 EC2 实例而不是终止,该映像是否会保存在我的帐户中并可供稍后使用? ..正如我注意到终止的实例最终消失一样,停止的实例是否可以随时启动并启动?
另外关于收费,我认为停止实例的成本将按每 GB 收费,类似于自定义 AMI?
还有另一个可能简单的问题,如果我通过 SSH 或通过脚本关闭机器,这是否会启动终止或只是停止实例(我假设它会终止实例)。
谢谢
If I stop an EC2 instance, rather than terminate, will this image be saved in my account and be available to be used at a later stage? ..as I noticed terminated instances eventually dissappear, would a stopped instance be available to boot up and start when ever?
Also regarding charging, I assume the cost for having a stopped instance would be charged per GB similar to a custom AMI?
Also another possibly simple question, if I shutdown a machine over SSH or via a script, does this initiate a termination or just a stop an instance (I assume it terminates the instance).
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您终止 EBS 支持的实例,它会将其从正在运行的实例列表中删除,包括为其分配的 EBS 卷。除非您设置实例属性不删除卷。
如果您只是停止,它将更改为停止状态,您可以稍后再次启动。
如果您关闭一台机器,它会默认停止。
保护您的实例的好读物请参阅:http://alestic.com/2010/01/ec2-instance-locking
If you terminate the EBS backed instance, it will remove it from the list of running instance, including it's allocated EBS volume. Unless you set the instance attribute not to delete the volume.
If you only stop, it will changed to stopped status and you can start it again later.
If you shutdown a machine, it default's to stop.
A good read to protect your instance see: http://alestic.com/2010/01/ec2-instance-locking
如果您停止基于 EBS 的实例,则该实例将自动终止,但您需要支付 EBS 存储费用,直到您删除该 EBS。
If you stop an instance based on EBS, then the instance will terminate automatically but you'll be charged for EBS storage until you delete the EBS.