Storage for Installers

Configure an Azure storage account with a blob container so that we can have a place for the installers (MSI, Exes and config XMLs) not found in chocolatey. You can do the same with an Amazon S3 bucket. Our goal is to have a URL we can use with curl, wget or invoke-webrequest to download it.

Create a storage account:

Click Create a Resource and Click Storage Accounts
Keep it cheap since this is only hosting installers.

Create a container for blob storage

Go into the containers blade
Create a container with Blob public access so that you can use ephemeral DevOps builders in your pipeline

Explanation: Ephemeral Azure Devops agents or builders are containers created automatically when you start your build. The containers will get access to your resources during build. During the last steps of your image builds the agent will be deleted to save on costs and not keep a machine around. You can also create your own agents for authentication and to install your own plugins.

Upload Installers and Save the URL

Click upload, search for the file in your local computer and click upload. Once finished you will have the url for your installer. I uploaded a tightvnc msi and the link generated is:

https://azmdfstorage.blob.core.windows.net/devopsartifacts/tightvnc-2.8.8-gpl-setup-64bit.msi

In the next page we will use the app link to package the application with powershell that we can call it in the packer template.