Skip to main content
Share a custom Azure image

How to use an image from your Azure account in Strigo

Daniel Wolf avatar
Written by Daniel Wolf
Updated over a week ago

When creating a VM-type lab resource, you can select Azure as the provider.

In this case, you need to provide the details of the image that Strigo will use to create Azure VMs.

The details of the image can be:

  1. For public images:

    1. Publisher

    2. Offer

    3. SKU

    4. Version
      ​

  2. For private images:

    1. The full image ID (usually in format "/subscriptions/<YOUR_SUBSCRIPTION_ID>/resourceGroups/<YOUR_RESOURCE_GROUP>/providers/Microsoft.Compute/galleries/<YOUR_SHARED_GALLERY>/images/<IMAGE_NAME>/versions/<VERSION>")

These are the ways you can currently share a VM in your tenant with the Strigo tenant:

Direct gallery share

It is described in more detail here.

It requires opting into an Azure Preview feature and, therefore, requires Microsoft's confirmation. It's the most straightforward way, so if you're willing to use it, fill in the Microsoft form here.

Once approved, follow the steps in the Azure help article to share the image. Strigo's tenant ID for sharing is cbca8157-d05e-4c9c-9bc0-98ea7bb81e2a, and Strigo's subscription ID is cbca8157-d05e-4c9c-9bc0-98ea7bb81e2a.

You will then need to go to the specific image you want to share in your gallery, to the specific version, and to its properties, and copy the full Image ID (along with the version, as specified in the example above).

Paste that in the Custom Private Image tab in Strigo's resource image dialog:

Community gallery

If you can' or don't want to use the Direct Share method, you can create or use a community gallery. In this case the image will be public and therefore accessible by Strigo. Copy the image details into Strigo's Custom Image dialog.

Manual share

Sharing the gallery and its images only with the Strigo tenant, outside of using a Direct Share, is currently not supported programmatically in Azure. Therefore, if the two methods above are not good for you, you can instead share the full Image ID with Strigo, and Strigo will manually export it and then import it from your tenant.

For that, you do need to provide Strigo's tenant RBAC permissions to your gallery:

  1. It will ask you to authenticate yourself and give permissions to the Strigo Azure application.

  2. Then go to the Compute Gallery:

    1. Go to IAM

    2. Add a new Role Assignment.

    3. Choose the Reader role.

    4. In Members, click Select Members and type in the name of the Strigo Azure application: "Strigo App Production".

  3. Reach out to the Strigo team and send the full Image ID of the image you want to share. Strigo will take care of it from there.

That's it!

Did this answer your question?