简体   繁体   English

如何进行亚马逊实例备份?

[英]how to take amazon instance backup?

I have two instances running. 我有两个实例正在运行。 I have done lot of configuration on the instances. 我已经在实例上做了很多配置。 I want to shutdown the server so I do not get charged but I don't want to lose my configurations and data stored on instances. 我想关闭服务器,以便不收费,但是我不想丢失配置和实例上存储的数据。

What should I do to make sure I do not lose data ? 我应该怎么做才能确保我不会丢失数据?

So basically create an image as following: 因此,基本上创建一个图像,如下所示:

建立影像

and then if you don't want to lose any state you can use the 'no reboot' option: 然后,如果您不想丢失任何状态,则可以使用“不重新启动”选项:

没有重启

The simplest way i see is click on the instance > actions > create image. 我看到的最简单的方法是单击实例>操作>创建图像。 Then launch a new instance from that image whenever you need it. 然后,在需要时从该映像启动一个新实例。

You can customize the instance that you launch from a public AMI and then save that configuration as a custom AMI for your own use. 您可以自定义从公共AMI启动的实例,然后将该配置另存为自定义AMI供自己使用。 Instances that you launch from your AMI use all the customizations that you've made. 从AMI启动的实例将使用您已进行的所有自定义。

For the detail: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html 有关详细信息: http : //docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html

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

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