Looking to upgrade our Azure build VMs to 2019 (from 2016)

damien.osullivan's Avatar

damien.osullivan

26 Aug, 2019 04:59 AM

Hi.

We use AppVeyor to build out products on our Azure Cloud, using a custom VM image. This works well and we are happy.

However, these VMs are created by AppVeyor using the Operating System - Windows (Windows Server 2016 Datacenter)

We would like to update this to 2019. I cannot find the option to do this in AppVeyor.

My best guess is that it is controlled by the Machine size option under Build environment. This value is currently set to Standard_DS12_v2. I noticed that there are other variations of this, but cannot find any documentation on what is different about them. e.g. Standard_DS12-1_v2, Standard_DS12-2_v2

Can you please help, or point me in the right direction. Thanks

  1. 1 Posted by Ilya Finkelshte... on 26 Aug, 2019 06:16 PM

    Ilya Finkelshteyn's Avatar

    Hi Damien,

    OS is built in VHD image used to create a VM. It was selected by you when you created this image a while ago. Windows Server 2019 maybe even was not released back then. You cannot change image OS with simple changing VM size unfortunately :)

    Good news is that we do some work to automate image creation and setup. Please look at this manual: https://www.appveyor.com/docs/server/#azure-vms. This script will do all heavy lifting to setup own cloud including the image VHD. We recommend using this approach instead of manual steps we provided before. If you run it, it will not affect you current Azure cloud/image, but setup separate ones and you will be able to use them in parallel.

    Let us know if this works for you.

    Ilya.

  2. 2 Posted by Ilya Finkelshte... on 26 Aug, 2019 06:26 PM

    Ilya Finkelshteyn's Avatar

    I realized that I did not pointed out, that image creation automation we provide use Windows Server 2019 Datacenter, as you can see here.

  3. Ilya Finkelshteyn closed this discussion on 26 Oct, 2019 09:01 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac