简体   繁体   English

备份AWS中的wordpress站点,然后删除EC2中的实例

[英]Backup wordpress site in AWS and then delete instance in EC2

I have an old site of a company that is no longer operating.我有一个不再运营的公司的旧站点。 So, I'd like to delete the EC2 instance where is hosted the site and stop paying for that.所以,我想删除托管网站的 EC2 实例并停止为此付费。 But before, I'd like to make a backup of the site.但在此之前,我想对网站进行备份。 It is a wordpress, installed through bitnami.它是一个 wordpress,通过 bitnami 安装。

I'd like to know what is the best way yo backup the site, so I can restore it in case it is needed, for any reason.我想知道备份网站的最佳方式是什么,这样我就可以在需要时恢复它,无论出于何种原因。

I thought of download all the files, through Filezilla, but I think that's no good if I need to restore the site.我想通过 Filezilla 下载所有文件,但我认为如果我需要恢复该站点,那是不好的。 Maybe create an image (AMI)?也许创建一个图像(AMI)? And then what?然后什么?

I'm just an amateur en AWS... I appreciate your guidance!我只是 AWS 的业余爱好者...感谢您的指导!

A couple options:几个选项:

  • back up the website files to an S3 bucket which is very cheap (this is what I would recommend)将网站文件备份到非常便宜的 S3 存储桶(这是我推荐的)
  • another option would be to create an AMI of the instance so that you can restore it at any time in the future.另一种选择是创建实例的 AMI,以便您可以在将来随时恢复它。 This requires a snapshot to be taken of the volume on the instance so you will pay a bit more per month than with S3.这需要对实例上的卷拍摄快照,因此您每月支付的费用比使用 S3 多一点。

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

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