简体   繁体   English

在Azure VM(或EC2)中的Windows变体上进行产品安装/执行测试?

[英]Product Install/Execute testing on Windows variants in Azure VM (or EC2)?

The Background 的背景

Today I was reflecting on the pain install/OS testing. 今天,我在反思痛苦的安装/操作系统测试。 As we approach a new release of our windows software, we have to verify: 当我们使用Windows软件的新版本时,我们必须验证:

  1. That it installs without issue 它安装没有问题
  2. That it runs, given a reasonable fulfillment of dependencies 在合理满足依赖关系的情况下运行
  3. That our assumptions as to what is available on an "updated" machine are correct 我们对“更新的”计算机上可用内容的假设是正确的
  4. On a range of architectures (32/64 bit, etc) 在各种体系结构(32/64位等)上
  5. On a range of operating system versions (Windows XP, Windows Vista, 7, 8, etc.) 在一系列操作系统版本(Windows XP,Windows Vista,7、8等)上

Our sad (but usual and cost effective) approach is to spin up some old boxes here on site. 我们悲伤的(但通常且具有成本效益的)方法是在现场旋转一些旧盒子。 We either try to stuff an OS install into a VM system, or are forced to wipe the box and do a native install just to get to a "clean" install of the app. 我们要么尝试将OS安装填充到VM系统中,要么被迫清除包装并进行本机安装,只是为了实现应用的“干净”安装。 Depending on the functional approach, reverting snapshots may or may not be available. 根据功能方法的不同,还原快照可能可用或可能不可用。

The Idea 想法

I realized that Windows Azure was making it very easy to spin up virtual machines these days and "pay for what you use". 我意识到,Windows Azure如今很容易启动虚拟机并“按需购买”。 Mostly this appears to be focused on web hosting (Windows Server 2008 and Windows Server 8 are the only windows variants available in the "VM OS Selection" dialog). 通常,这似乎集中在虚拟主机上(Windows Server 2008和Windows Server 8是“ VM OS选择”对话框中可用的唯一Windows变体)。 See this page for an overview. 请参阅此页面以获取概述。

But what if I could spin up other kinds of Windows OS images purely for testing? 但是,如果我可以单纯地测试其他类型的Windows OS映像怎么办?

I have an MSDN subscription, and access to a set of OSes that we should support. 我有一个MSDN订阅,可以访问我们应该支持的一组操作系统。 Couldn't I push these up somehow and have snapshottable, on-demand test hosts? 我不能以某种方式推动这些工作,并拥有可快照的按需测试主机吗?

The Questions 问题

  1. Is this feasible right now with Windows Azure? 现在使用Windows Azure可行吗? (I can do this for Server 2008 and Server 8 now, it would seem...can i do this with other OS images?) (我现在可以针对Server 2008和Server 8进行此操作,似乎...可以对其他OS映像进行此操作吗?)
  2. If so, how? 如果是这样,怎么办? (Can i upload a .vhd to storage in some manner as to have it show in the "my images" section?) (我能否以某种方式将.vhd上传到存储中,以使其显示在“我的图像”部分中?)
  3. If not, is there a good alternative? 如果没有,有没有好的选择? (I get the sense you could do this with Amazon EC2? Am I barking up the wrong tree? Is this better to try and do onsite with VM software entirely?) (我觉得您可以使用Amazon EC2做到这一点?我是不是树错了树?尝试使用VM软件完全在现场进行操作会更好吗?)

In the best case, I want "fresh" (recently patched) images for a set of supported Windows OSes that I can spin up on demand, pay for what I use, and then shut down again. 在最好的情况下,我希望获得一组支持的Windows操作系统的“最新”(最近打过补丁的)映像,这些映像可以按需启动,为使用的产品付费,然后再次关闭。 Does this exist? 是否存在?

Thanks for your time and consideration... 感谢您的时间和考虑...

PS Not entirely sure if this should be here or on serverfault...please advise. PS不能完全确定这应该在此处还是在serverfault上...请告知。

1.Is this feasible right now with Windows Azure? 1.Windows Azure现在可行吗? (I can do this for Server 2008 and Server 8 now, it would seem...can i do this with other OS images?) (我现在可以针对Server 2008和Server 8进行此操作,似乎...可以对其他OS映像进行此操作吗?)

The Windows Server is 2012, not 8. But anyway. Windows Server是2012,而不是8。但是无论如何。 So no. 所以不行。 The currently supported Windows family OS'es are: * Windows Server 2008 SP2 x64, * Windows Server 2008 R2, * Windows Server 2012 Note that all of them are just the 64bit versions! 当前受支持的Windows家族操作系统为:* Windows Server 2008 SP2 x64,* Windows Server 2008 R2,* Windows Server 2012请注意,它们都是64位版本! Frankly, I don't think Windows client OS'es will ever be supported (like XP, 7, 8) 坦白说,我认为永远不会支持Windows客户端操作系统(例如XP,7、8)

2.If so, how? 2.如果是,怎么办? (Can i upload a .vhd to storage in some manner as to have it show in the "my images" section?) (我能否以某种方式将.vhd上传到存储中,以使其显示在“我的图像”部分中?)

No. so no way. 不行

3.If not, is there a good alternative? 3.如果没有,有没有好的选择? (I get the sense you could do this with Amazon EC2? Am I barking up the wrong tree? Is this better to try and do onsite with VM software entirely?) (我觉得您可以使用Amazon EC2做到这一点?我是不是树错了树?尝试使用VM软件完全在现场进行操作会更好吗?)

Can't answer this question completely, but a quick search says that currently in Amazon EC2 you can run: 无法完全回答此问题,但快速搜索显示当前在Amazon EC2中可以运行:

Amazon EC2 running Microsoft Windows Server® (available in 2003 R2, 2008 or 2008 R2 editions) 运行Microsoft WindowsServer®的Amazon EC2(在2003 R2、2008或2008 R2版本中可用)

So far with Windows OSes. 到目前为止,使用Windows操作系统。

In summary: Only Server Windows OS can be run in an Azure and Amazon. 总结:只有Server Windows OS可以在Azure和Amazon中运行。

A hint: you can't install Hyper-V on Windows server in either Azure nor Amazon (you can't virtualize what is already virtualized). 提示:您无法在Azure或Amazon的Windows服务器上安装Hyper-V(无法虚拟化已虚拟化的内容)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM