停止实例时,我的EC2实例数据(EB)会发生什么?
最初,我创建了一个实例并在其中安装了HTTPD软件包。 然后我停止了它,后来开始了。
- 公共IP已更改。
- HTTPD仍在积极运行。
我的疑问是,随着公共IP的这种变化,我分配了一个不同的实例(VM),但是以前的EBS? 请帮忙!谢谢。
Initially I have created an instance and installed HTTPD package in it.
Then I stopped it and later started it.
- Public IP is changed.
- HTTPD is still actively running.
My doubt is, with this change in Public IP was I allocated a different instance(VM) but with previous EBS?
Please Help! Thankyou.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,您有相同的实例,但是当您停止它时,您将分配新的公共IP。如果您将弹性IP与您的实例相关联,则在停止并重新启动后,IP将保持不变。
在具有“短暂”存储的实例类型上要小心。那是实例本地的磁盘空间。当您停止实例时,O/S仍然存在,但其余的存储空间是新的。因此,如果您存储本地的东西,它将消失。大多数较小的实例现在使用EBS(弹性块存储),因此少问题,但是如果不是EB,请小心。
No, you have the same instance but when you stop it your are allocated a new public IP. If you associate an elastic IP with your instance then the IP will remain the same after a stop and restart.
Be careful on instance types that have "ephemeral" storage. That is disk space that is local to the instance. When you stop your instance your O/S is still there but the rest of the storage is new. So if you store something local it will be gone. Most smaller instances use EBS (elastic block storage) now so it's less of a problem but if it's not EBS then be careful.