Amazon EC2 可以用作 VMware 测试平台吗?

发布于 2024-07-19 03:12:26 字数 550 浏览 10 评论 0原文

我们需要在本地化平台上执行测试,这会给我们的硬件资源带来一些负担,因为在短短几周内,我们可能需要多个服务器和客户端(Windows 2003 和 Windows 2008、Vista、XP、Red Hat 等)。语言。

我们通常依赖带有 Windows 2003 和 VMWare 的刀片,但有时这些刀片会因准时需求而过度增长,并且还存在如果环境需要增长,获取和部署过程会相当缓慢的问题。

Amazon EC2/S3 是否可以在以下场景中使用?

  1. 在 Amazon AMI 上安装 VMWare(桌面版,因为我们需要具有快照的能力)。
  2. 从 S3 加载现有的 VMWare 映像并在 EC2 实例上运行它们(每个 EC2 实例上可能有 3 或 4 个服务器或客户端操作系统)。

我们更感兴趣的是能够非常轻松地启动或停止 VMware snaphsots 进行相对较短的测试。这只是为了 不是实际服务于用户工作负载的生产环境,这些配置可能只需要几周,然后关闭几个月,直到下一个版本再次需要它们。

测试配置,而 /S3 是此类测试目的的可行替代方案吗?

We have the need to perform tests on localized platforms that put some burden on our hardware resources because for just a few weeks we might need plenty of servers and clients (Windows 2003 and Windows 2008, Vista, XP, Red Hat, etc) in multiple languages.

We typically have relied on blades with Windows 2003 and VMWare, but sometimes these are overgrown by punctual needs and also have the issue that the acquisition and deployment process is quite slow if the environment needs to grow.

Is Amazon EC2/S3 usable in the following scenario?

  1. Install VMWare (Desktop because we need the ability to have snapshots) on an Amazon AMI.
  2. Load existing VMWare images from S3 and run them on EC2 instances (perhaps 3 or 4 server or client OSes on each EC2 instance.

We are more interested in the ability to very easily start or stop VMware snaphsots for relatively short tests. This is just for testing configurations, not a production environment to actually serve a user workload. The only real user is the tester. These configurations might be required for just a few weeks and then turned off for a few months until the next release requires them again.

Is EC2/S3 a viable alternative for this type of testing purpose?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(3

任谁 2024-07-26 03:12:26

您确实需要 VMWare,还是正在测试在 VMWare 虚拟机中运行的软件? 如果您正在测试 VMWare 部署策略,或者正在运行测试 VMWare API 的代码,那么您实际上可能需要 VMWare。 后者的示例可能是您正在测试应用程序服务器堆栈,并且当前使用 VMWare 在许多平台上进行测试。

如果你确实需要VMWare,我不相信你可以在EC2中安装VMWare。 有人会纠正& 如果情况并非如此,请告诉我。

如果您实际上不需要 VMWare,您还有更多选择。 如果您可以使用无数公共 AMI 之一作为基准,克隆适当的 AMI 并对其进行自定义以满足您的需求(将自定义版本保存为您团队的私有 AMI)。 然后,您可以根据需要使用任意数量的它们。 也许您已经有一堆需要在测试中使用的 VMWare 映像。 在这种情况下,您可以将 VMWare 映像迁移到 EC2 AMI,如 Google 中多个位置所述,例如:

http://thewebfellas.com/blog/2008/9/1/creating-an-new-ec2 -ami-from-within-vmware-or-from-vmdk-files

(向 SO 审查员道歉,因为没有将整篇文章粘贴到此处。它相当长。)但这只是一个捷径; 您始终可以使用记录的 AMI 创建过程将任何计算机(无论是否为 VMWare)转换为 AMI。 对您拥有的每个 VMWare VM 执行该过程,然后一切就完成了。 请记住,当您创建 AMI 时,您必须将其上传到 S3,这对于大型虚拟机来说将花费大量时间。

Do you actually need VMWare, or are you testing software that runs in the VMWare VMs? You might actually need VMWare if you are testing e.g. VMWare deployment policy, or are running code that tests the VMWare APIs. Examples of the latter might be you are testing an application server stack and currently using VMWare to test on many platforms.

If you actually need VMWare, I do not believe that you can install VMWare in EC2. Someone will correct & enlighten me if this is not the case.

If you don't actually need VMWare, you have more options. If you can use one of the zillion public AMIs as a baseline, clone the appropriate AMIs and customize them to suit your needs (save the customized version as a private AMI for your team). Then, you can use as many of them as you like. Perhaps you already have a bunch of VMWare images that you need to use in your testing. In that case, you can migrate your VMWare image to an EC2 AMI as described in various places in Google, for example:

http://thewebfellas.com/blog/2008/9/1/creating-an-new-ec2-ami-from-within-vmware-or-from-vmdk-files

(Apologies to the SO censors for not pasting the entire article here. It's pretty long.) But that's a shortcut; you can always use the documented AMI creation process to convert any machine (VMWare or not) to an AMI. Perform that process for each VMWare VM you have, and you'll be all set. Just keep in mind that when you create an AMI, you have to upload it to S3, and that will take a lot of time for large VMs.

无人问我粥可暖 2024-07-26 03:12:26

这是一个有点无耻的插件,但我们有一个新的初创公司可以完全解决您的问题。 Amazon EC2 非常适合按需计算,但实际上只针对启动生产服务器的单个用户。 我们扩展了 EC2,使其成为虚拟实验室管理环境,具有自助服务、策略和虚拟机共享功能。 您可以访问 http://LabSlice.com 查看它是否满足您的需求。

This is a bit of a shameless plug, but we have a new startup that may deal with exactly your problem. Amazon EC2 is excellent for on-demand computing, but is really targeted at just a single user launching production servers. We've extended EC2 to make it a Virtual Lab Management environment, with self-service, policies and VM sharing. You can check it out at http://LabSlice.com and see if it meets your needs.

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