Amazon S3 上的文件的灾难恢复?
不久前,我们的服务器上的磁盘空间不够了,因此我决定将大部分用户生成的内容转移到 Amazon S3 上。在节省空间、降低带宽成本以及将请求从我们的服务器(也处理 Apache 和 MySQL)上分散方面有明显的好处。
我们有大约 150GB 的图像,全部有三种尺寸:小 (~2KB)、中 (~10KB)、大 (~70KB)。
到目前为止我们还没有遇到任何问题,但我知道如果亚马逊宕机,我们就会完蛋(我唯一的备份是这些图像的前 50GB 左右,其中许多将被删除/更改等)。
我不想将图像下载到我的服务器上(即使我有磁盘空间),也无法将整个存储桶下载到我的本地计算机上(办公室中的连接很糟糕)。
因此,我需要一个解决方案来远程备份这些数据,并在最坏的情况下快速将所有数据恢复到存储桶中。
或者我担心太多了,而亚马逊正在为我提供支持?
We outgrew the disc space on our server some time ago, so I made the decision to move the majority of our user generated content onto Amazon S3. Obvious benefits in saving space, reducing bandwidth cost and spreading requests away from our server which also deals with Apache and MySQL.
We have about 150GB of images all in three sizes, small (~2KB), medium (~ 10KB), large (~ 70KB).
We haven't had any problems so far, but I'm aware that if Amazon went down, we would be screwed (my only backup is of the first 50GB or so of those images, many of which will have been deleted / changed etc).
I don't want to download the images onto my server (even if I had the disk space), nor can I download the entire bucket to my local machine (crap connection in the office).
So I need a solution to backup this data remotely and in the worst case scenario quickly restore all the data to the bucket.
Or am I worrying too much and Amazon is backing this up for me?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Amazon S3 的弹性策略位于此处:http://aws.amazon.com/s3/#protecting 。
本质上,它们在该区域内存储多个副本,以防发生故障。
为了改善这一点,您可以考虑将数据传输到另一个 S3 区域,例如。美国到欧盟或使用亚马逊的导入/导出服务将数据复制到适当大小的硬盘上并将其存储在办公室或家里。
http://aws.amazon.com/importexport/
Amazon's resilience policy for S3 is located here: http://aws.amazon.com/s3/#protecting .
Essentially, they store multiple copies within the region in case of failure.
To improve this, you could look at transferring your data to another S3 region, eg. US to EU or use Amazon's Import/Export service to copy the data onto a suitably sized hard disk and store it at the office or at home.
http://aws.amazon.com/importexport/
为 S3 启用跨区域复制
自 2015 年 3 月起,Amazon 开始为 S3 提供跨区域复制。如果特定区域遭遇重大灾难,这将大大降低数据丢失的风险。
https://aws.amazon.com/ blogs/aws/new-cross-region-replication-for-amazon-s3/
值得注意的是,启用此功能并不向后兼容已存储在存储桶中的对象。
Enable Cross Region Replication for S3
As of March, 2015, Amazon started offering Cross Region Replication for S3. This would drastically reduce your risk of data loss if a specific region encounters a major disaster.
https://aws.amazon.com/blogs/aws/new-cross-region-replication-for-amazon-s3/
It's worth noting that enabling this functionality is not backwards compatible with objects already stored in your buckets.
您可以不时使用 AWS Import/Export,让您高枕无忧
You can use AWS Import/Export from time to time for peace of mind