Amazon EC2 上的扩展
我有几个关于 EC2 的新手问题,感谢您的关注,
1)为什么 EC2 实例具有特定的内存/存储配额? 在云环境中,我们不能只请求所需的内存/存储量,然后由亚马逊基础设施负责分配吗? 我知道设置虚拟机映像需要预先确定的内存/存储分配,但是,这确实有必要吗? 在Google应用程序引擎中,我没有看到任何内存限制,并且存储空间是按即用即付的方式收费的。
2)与第一个相关。 如果亚马逊允许使用动态内存/存储报价创建实例,我们是否仍然需要创建多个实例并负责负载平衡,例如 或者,我们可以只创建一个强大的实例,并将其他扩展问题留给亚马逊。
3)EC2实例的性能,您是否有经验告诉一下它与具有相似配置(内存/CPU)的物理机相比如何
I have several newbie questions about EC2, thanks for your attention,
1) why EC2 instances come with specific memory/storage quotas? In the cloud environment, can't we just request the amount of memory/storage as we require, and the amazon infrastructure take care of the allocation? I understand an pre-determined allocation of memory/storage is required to setup a VM image, however, is this indeed necessary ? In Google app engine, I don't see any limit on the memory, and the storage is charged in a pay-as-you-go manner.
2) Related to the first. If amazon allows instances created with a dynamic memory/storage quote, do we still need to create multiple instances and take care of load balancing, e.g.
Or, we can just create a powerful instance, and leave other scaling issues to Amazon.
3) The performance of EC2 instance, do you have experience to tell how it compares to a physical machine with similar configuration (memory/CPU)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
根本上是因为Amazon的基础设施是基于Xen虚拟化平台,而Xen不支持动态重新分配VM 之间的资源。
VMWare 已宣布支持此类重新分配。 看看亚马逊如何反应将会很有趣。
Fundamentally it's because Amazon's infrastructure is based on the Xen virtualization platform, and Xen does not support dynamic reallocation of resources between VM's.
VMWare has announced support for that type of reallocation. It will be interesting to see how Amazon reacts.
因为 EC2 模拟您可以控制的单个计算机,而您无法控制 GAE 上的这些“计算机”。 您不能在 GAE 上执行诸如使用文件之类的操作。
您通常需要自己完成此操作。 EC2 提供按需虚拟“计算机”。
“一个EC2计算单元等于1.0-1.2 GHz 2007 Opteron或2007 Xeon处理器。”
Because EC2 emulates individual machines that you can control while you have no control over these "computers" on GAE. You cannot do things like use files on GAE.
You will usually need to do this by yourself. EC2 provides on demand virtual "computers".
"One EC2 Compute Unit equals 1.0-1.2 GHz 2007 Opteron or 2007 Xeon processor."