简体   繁体   English

重新启动AWS EC2实例将我的应用程序还原到旧版本

[英]Rebooting AWS EC2 instance restored my app to an old version

I have hosted a CakePHP app in EC2 using Elastic Beanstalk. 我已经使用Elastic Beanstalk在EC2中托管了CakePHP应用程序。 Due to some performance issues I had to restart the server. 由于某些性能问题,我不得不重新启动服务器。 Now I have lost all the files. 现在我已经丢失了所有文件。

Did you reboot the instance or stop and start it? 您是否重新启动了实例或停止并启动了它?

If you rebooted it then it's certain your app and data are there. 如果重新启动它,则可以确定您的应用程序和数据在那里。

If you stop and start an instance-store instance (not EBS-backed), then you will loose all your data on the ephemeral volume. 如果停止并启动实例存储实例(不是EBS支持的实例),则将丢失临时卷上的所有数据。

All this is well explained on the following link, take a look at it: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Storage.html . 以下链接对此进行了很好的解释,请看一下: http : //docs.aws.amazon.com/AWSEC2/latest/UserGuide/Storage.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM