HomeDockerAn update to the ARM templates

An update to the ARM templates

It’s been a while since I last blogged about the ARM templates. Mostly because they just live a life of their own and just works. An average of 20 times a day, some partner someplace in the work is using https://aka.ms/getbc to create an Azure VM with Business Central operating in a container (or 1 of the other ARM templates) immediately from a browser. On top of this are all the companions who are automating the process of creating Azure VMs with a PowerShell script. A few things are changing, but functionality stays the same.

Configurable Container Name

An update to the ARM templates

Since the making of the ARM templates, the container name has been navserver. With the latest update, the default container name changes to bcserver for getbc and getbcext. For getnav and getnavext, it stays navserver. If your code or situations rely on the name being navserver, you should change the setting to navserver.

Docker engine instead of Docker EE

As described in this blog post, the DockerMsftProvider with Docker EE will cease to exist in approx. 1 year from now. With this update, the Azure VMs created by getbc and the other ARM templates will use Docker Engine (installed by this installation script) if docker wasn’t already present on the base image. Note that Windows Server 2019 with Containers already contains docker, and that will not be changed with Docker Engine. I don’t know what the prospective of that base image is.

Windows Server 2022 support

1646642539 207 An update to the ARM templates

Windows Server 2016 was removed and Windows Server 2022 was added as supported VM platform.

Just-in-time traefik image

When adding support for Windows Server 2022, I found that the traefik image currently only exists for Windows Server 2019. Running the 1809 traefik container in Windows Server 2022 using hyperv didn’t work, so with this update, a traefik image is construct using the same windows servercore image as the 1 used for Business Central (optimizing the amount of images to pull). The code for building the traefik image can be found here.

Updated list of VM Sizes

The list of VM Sizes you can select has been updated to include more sizes and I have examined that all included sizes are available in all datacenters.

As many companions will know, GetBuildAgent can be used to create an Azure VM, which includes a self-hosted agent for Azure DevOps. With this update, you can use the same template for creating brokers for GitHub Actions and you also have a field determining the number of construct brokers you want to run on the Azure VM.

When creating brokers for GitHub actions you need to specify a token, an organization url and an agent url. In the information popup with each field, you can see where to get the corresponding information.

1646642540 752 An update to the ARM templates

Windows 11

The ARM templates also have support for creating Windows 11 Azure VMs. I have however disabled this option due to this bug. When I have a resolution for the bug, I will enable Windows 11 as option for the ARM templates.

Enjoy

Freddy Kristiansen
Technical Evangelist

Source

Most Popular