Skip to main content
Share a custom GCP image

How to use an image from your GCP account in Strigo

Daniel Wolf avatar
Written by Daniel Wolf
Updated over 2 weeks ago

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

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

Grant Strigo permissions

To allow Strigo to create VMs based on the image in your project, you will have to grant Strigo permission to read:

  1. Go to the GCP portal

  2. Make sure you are in the project where your image is

  3. Go to IAM

  4. Click "Grant access"

  5. For the Role, choose "Compute image user"

  6. Save

Use the Image in Strigo

In the GCP portal:

  1. Go to Compute Engine | Storage | Images

  2. Select the image you want to use in Strigo

  3. Copy the ID of the image in the format "projects/YOUR_PROJECT/global/images/image-1"

In Strigo:

  1. Go to the relevant Class template or Image definition in the Library.

  2. Under Practice Lab, create a VM-type resource.

  3. In the Image section, paste the copied ID in the Source Image input.

  4. If the image is regional, make sure you choose the same zone where you created the image.

  5. Choose a username for Strigo to connect to the image.

That's it!

Did this answer your question?