Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 1.05 KB

CreateImageAndAzureResources.md

File metadata and controls

13 lines (8 loc) · 1.05 KB

Build an image.

NOTE: You will need to use Packer v1.3.4 or earlier until #929 is resolved.

Create required Azure resources and generate an image

  1. Generating required Azure resources and running a packer build for a targeted image is automated here.

Create a VM based on the template created by Packer

  1. At the end of the output from running Packer above is a URL to the VM resource template with a read access token. It ends with .json plus a query string. Note this URL. For now, it seems like there is an Az CLI bug with specifying the template through a URI. So download the template locally and note the path of the template file.
  2. Generating the required Azure resources and creating the VM is automated here.
  3. After the VM is created, remote into it using its public IP address. You can test the installed tools or install the Azure Pipelines agent and connect it to your Azure DevOps organization.