Amazon EC2 上的扩展

发布于 2024-08-01 14:36:39 字数 358 浏览 5 评论 0原文

我有几个关于 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

云仙小弟 2024-08-08 14:36:39

根本上是因为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.

叹倦 2024-08-08 14:36:39

为什么 EC2 实例具有特定的内存/存储配额? 在云环境中,我们不能只请求所需的内存/存储量,然后由亚马逊基础设施负责分配吗?

因为 EC2 模拟您可以控制的单个计算机,而您无法控制 GAE 上的这些“计算机”。 您不能在 GAE 上执行诸如使用文件之类的操作。

与第一个相关。 如果亚马逊允许使用动态内存/存储报价创建实例,我们是否还需要创建多个实例并负责负载平衡,例如,或者,我们可以只创建一个强大的实例,并将其他扩展问题留给亚马逊。

您通常需要自己完成此操作。 EC2 提供按需虚拟“计算机”。

EC2实例的性能,您是否有经验告诉一下它与具有相似配置(内存/CPU)的物理机相比如何

“一个EC2计算单元等于1.0-1.2 GHz 2007 Opteron或2007 Xeon处理器。”

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?

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.

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.

You will usually need to do this by yourself. EC2 provides on demand virtual "computers".

The performance of EC2 instance, do you have experience to tell how it compares to a physical machine with similar configuration (memory/CPU)

"One EC2 Compute Unit equals 1.0-1.2 GHz 2007 Opteron or 2007 Xeon processor."

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文