question

Ade-1635 avatar image
0 Votes"
Ade-1635 asked AndreasBaumgarten answered

Optimal Windows Server Workflow

Hello


I want to setup a server for a few hours every week but I need to save costs and I want to create some instances based on a specific instance I have pre-configured manually. I dont want to create a new instance, keep it on acquiring costs and then start to configure it (install IIS, download apps etc) each time. I may even need to setup up multiple insances of the same configuration. Please advise how I can achieve this in the most cost efficient way.

Also, is it possible to automate GUI apps on Windows?

azure-virtual-machines
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

AndreasBaumgarten avatar image
0 Votes"
AndreasBaumgarten answered

Hi @Ade-1635 ,

maybe using a PowerShell script is an option:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/tutorial-automate-vm-deployment
In this example a VM with IIS will be created.

Using the Custom Script extension it's also possible to install applications on the VM with Chocolatey during deployment: https://chocolatey.org/

This way you get an automated deployment with the option to easy customize to you needs (for instance if the VMs are "almost the same but exactly the same").


(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

Regards
Andreas Baumgarten

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.