Ask Your Question

Windows VM deploy best practice

asked 2013-11-08 10:54:37 -0500

Mojo gravatar image

Hi all,

can anyone tell me the best practice used to deploy a windows VM? I have read some docs online and i have realized this possible scenarios:

1. Deploy from scratch Using a unattend.xml file i'll create a new windows server VM ready for my customer. The "problem" is that is not personalized with application (such as SQL Server, IIS etc etc)

2. Deploy using a template

I'll install a new windows VM with several application installed, next i'll save the image and i'll use it to create the VM for my customers (cleaning it every time with the windows sysprep command).

3. Deploy a real custom VM the third solution could be the following: I'll install a new windows VM, install on it a Puppet agent pre-configured to call my puppet master server and save it as a template. When a customer create the VM, he will choose also the application he want installed on it. Once the VM is ready, puppet agent will install the applications requested and next alert the customer that all is ready.

4. Clone a VM Simple a clone of another VM

Can anoyone tell me if these scenarios are correct? Do i missed some other scenarios? Are these scenario compatible qwith openstack (i think yes, but never say ok)? Is there some documentation that i can read online?

Thank you in advice to all. Giovanni

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-11-08 21:32:34 -0500

alexpilotti gravatar image

Hi Giovanni,

Beside what you already wrote, using Heat templates for Windows applications deployment (eg Active Directory, SQL Server, Exchange, IIS, Sharepoint, etc) is another option to accomplish what you need. We did a session at the HK summit yesterday on this topic.

Additional resources:

How to create Windows OpenStack images

We have also a ready made Windows Server 2012 R2 evaluation versions for KVM and Hyper-V:

OpenStack Windows Server 2012 R2 Evaluation images

edit flag offensive delete link more


Great session, and great to see these resources linked here too :).

sgordon gravatar imagesgordon ( 2013-11-10 13:19:01 -0500 )edit

answered 2013-11-10 12:36:10 -0500

Mojo gravatar image

updated 2013-11-12 04:23:11 -0500

Hi Alex, I have read the article and it's very interesting (specially if i'm new in cloud). I also have read about heat template framework, the wiz toolset. As far as i understand, it creates a bundle of programs in a unique MSI installer; my new question is: how can i execute the wix toolset in unattended mode? Do i need puppet as well to launch it at startup? In puppet agent i have also configured the sysprep launch at forst boot. Is there a standard flow to follow to execute custom installations in unattended mode? Using puppet, is this the correct way to deploy an unattended windows with custom applications (not necessary only windows applications...) or should i use other applications\frameworks?

Actually my scenario is under vmware, so i can't use the windows evaluation version, but thank you sa well :-)

Thank you again, Giovanni

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2013-11-08 10:54:37 -0500

Seen: 1,925 times

Last updated: Nov 12 '13