4.1.1 - Azure Image
This will walk you through the process to retrieve the details for a specific image from the Azure marketplace, Azure Cloud Shell and Azure CLI
A Tuono Blueprint allows you to specify multiple images to deploy into your cloud providers. To specify an image from the Azure marketplace we need the Publisher, Product and SKU of the image. This snippet shows how an image is defined under compute.vm.image schema.
compute:
image:
windows:
publisher: cognosys
product: hardened-iis-on-windows-datacenter-2019
sku: hardened-iis-on-windows-datacenter-2019Azure Marketplace
From the Azure marketplace navigate to the desired VM that you would like to create, click GET IT NOW and Continue, granting Microsoft permissions and agreeing to the pricing - where required.
In our example we will use the VM Hardened IIS On Windows Datacenter 2019. This image has an associated cost, so permissions must be granted to use it in your Blueprints.

On the VM page select the Usage Information + Support tab.
Copy the following information:
Publisher ID: cognosys
Offer ID: hardened-iis-on-windows-datacenter-2019
Plan ID: hardened-iis-on-windows-datacenter-2019

Create an image in your Blueprint and add the required:
publisher = Publisher ID
product = Offer ID
sku = Plan ID
Azure Powershell
Open the Azure Cloud Shell.
Select a subscription and create a storage account by clicking Create storage
Change the environment type to Powershell in the top left

Find an image from a specific region, using Powershell within the Cloud Shell
Search the table to find your specific Offer and PublisherName details.
Get the Skus of the specific image, using the Offer and PublisherName from the previous step
This will return:
Create an image in your Blueprint using the obtained information.
Azure CLI
Install the Azure CLI or use Azure Cloud Shell to use the Azure CLI
For local installation, you'll need to log in and follow the prompts:
For Cloud Shell, change the environment type to Bash in the top left
Use the az vm image list command to search for specific images:
Search the table to find your specific image details.
Create an image in your Blueprint using the obtained information.
Last updated
Was this helpful?