我有一个应用程序,我想转移到EC2.它可能会花费超过半天的时间完全处于休眠状态,所以我正在努力想出一个很好的解决方案来根据需要启动和停止它.从零开始需要几分钟的时间,所以如果我可以休眠操作系统以获得更快的恢复,那将是很好的.我已经看过关于EC2内部冬眠主题的几个论坛讨论,但从来没有任何结论.有没有人找到一个可行的解决方案,或至少一些可以帮助我的资源?
This has been discussed on the EC2 forums.
原文链接:https://www.f2er.com/ubuntu/348534.html亚马逊口中的亮点:
if you do manage to hibernate the OS your Instance will still be in a running state i.e. you will be paying for the instance.
how do you plan to wake up this instance from it’s sleeping state.
This really does not sound like it will work,We would recommend that you configure your instance to automatically launch all the services you need at boot time and use the stop/start feature of EBS backed instances as a solution to your problem.
(或者,用简单的英语 – 不要打扰.它不会为你省钱,而且它可能无论如何都不会起作用)