重新启动EC2实例时会发生什么? [英] What happens when I reboot an EC2 instance?

查看:92
本文介绍了重新启动EC2实例时会发生什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我重新启动EC2实例时,我是否再次获得初始映像,还是重新启动之前的硬盘状态保持不变?

When I reboot an EC2 instance, do I get the initial image again, or is the state of the hard disk before the reboot kept?

然后会发生什么?计费,小时会重新开始吗?还是我继续重新启动时的一小部分时间?

And what happens with billing, does the hour start again, or do I continue with the fraction of the hour I was in when I rebooted?

推荐答案

重新启动实例就像重新启动PC。硬盘不受影响。您不会恢复到图片的原始状态,但是硬盘中的内容是重新启动之前的内容。

Rebooting an instance is like rebooting a PC. The hard disk isn't affected. You don't return to the image's original state, but the contents of the hard disks are those before the reboot.

重新启动与计费无关。实例化图像时开始计费,终止时终止。在两次重启之间没有任何作用。

Rebooting isn't associated with billing. Billing starts when you instantiate an image and stops when you terminate it. Rebooting in between hasn't any effect.

这篇关于重新启动EC2实例时会发生什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆