本文介绍了EBS的优势与实例存储(反之亦然)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不清楚,我从EBS得到与实例存储为我在Amazon EC2实例有什么好处。如果有什么事情,似乎EBS的方式更有用(停止,启动,坚持+更好的速度),在成本相对差别不大......?此外,有没有是否越来越多的人现在是可用使用EBS,考虑到它的任何指标还是比较新的?

I'm unclear as to what benefits I get from EBS vs. instance-store for my instances on Amazon EC2. If anything, it seems that EBS is way more useful (stop, start, persist + better speed) at relatively little difference in cost...? Also, is there any metric as to whether more people are using EBS now that it's available, considering it is still relatively new?

推荐答案

底线是,你应该总是使用EBS支持的实例。

The bottom line is you should almost always use EBS backed instances.

这也是为什么

  • EBS备份实例可以被设置,使得它们不能被(无意地)终止通过API。
  • 当你不使用它们,当你再次需要他们(就像暂停虚拟PC)
  • 在EBS支持的实例可以被停止和恢复,至少在我的使用模式节省更多的钱比我花几十GB的EBS存储。
  • 在EBS支持的情况下,不要失去自己的实例存储,当他们崩溃(不适用于所有用户的要求,而且使得更快恢复)
  • 您可以动态调整EBS实例存储。
  • 您可以(从时间有用的,如果你正在运行的硬件亚马逊得到片状或死亡,这确实发生时间)传输EBS实例存储到一个全新的实例
  • 这是更快地推出一个EBS支持的实例,因为图像没有必须从S3取出。
  • EBS backed instances can be set so that they cannot be (accidentally) terminated through the API.
  • EBS backed instances can be stopped when you're not using them and resumed when you need them again (like pausing a Virtual PC), at least with my usage patterns saving much more money than I spend on a few dozen GB of EBS storage.
  • EBS backed instances don't lose their instance storage when they crash (not a requirement for all users, but makes recovery much faster)
  • You can dynamically resize EBS instance storage.
  • You can transfer the EBS instance storage to a brand new instance (useful if the hardware at Amazon you were running on gets flaky or dies, which does happen from time to time)
  • It is faster to launch an EBS backed instance because the image does not have to be fetched from S3.

我是亚马逊的重度使用者,并打开所有的实例,只要技术来完成测试,以EBS备份的存储。我一直很满意的结果。

I'm a heavy user of Amazon and switched all of my instances to EBS backed storage as soon as the technology came out of beta. I've been very happy with the result.

请记住,任何一块基于云的基础设施能够在任何时候失败。相应地规划你的基础设施。尽管EBS支持的情况下,提供了耐用性一定水平相比,临时存储情况下,它们能够而且确实会失败。有一个AMI,您可以根据需要在任何可用区推出新的情况下,备份您的重要数据(如数据库),如果您的预算允许的话,服务器的负载均衡和冗余(最好在多个可用区运行多个实例)。

Keep in mind that any piece of cloud-based infrastructure can fail at any time. Plan your infrastructure accordingly. While EBS-backed instances provide certain level of durability compared to ephemeral storage instances, they can and do fail. Have an AMI from which you can launch new instances as needed in any availability zone, back up your important data (e.g. databases), and if your budget allows it, run multiple instances of servers for load balancing and redundancy (ideally in multiple availability zones).

这篇关于EBS的优势与实例存储(反之亦然)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-17 11:47