Setup Azure for deploying Skillable VMs
    • 06 Sep 2024
    • 4 Minutes to read

    Setup Azure for deploying Skillable VMs


    Article summary

    To get started using Azure as a virtualization platform for Skillable labs, there are several required steps across the combination of Microsoft Azure and Skillable Studio. If any steps are missed or skipped, VMs created in later processes may not function as expected.

    Azure Setup

    Prior to using Azure Compute Gallery for virtual machines within Skillable Studio, the Azure tenant must be enabled for Skillable Cloud Slice and the Compute Gallery must exist within the subscription as outlined in the steps below.

    Skillable Cloud Slice Authorization

    If your subscription has already been configured for Skillable Cloud Slice, skip this step.

    If your subscription(s) have not been configured for Skillable Cloud Slice, setup Microsoft Azure for Cloud Slice.

    Enable Marketplace Purchases

    If your subscription already allows or you do not wish to use Marketplace VMs, skip this step.

    In order to add Marketplace VMs to your labs, you first need to be able to access the marketplace through your Azure tenant. This should be the same tenant used to add a subscription to the lab.

    To enable marketplace purchases on your tenant, follow Microsoft's documentation to do so. Note that the steps are different depending on the billing account type for your tenant.

    Create the Resource Group

    If you already have a resource group with a Compute Gallery in it, skip this step.

    To get started, the Compute Gallery and any surrounding resources (storage account, etc.) will need to live within a Resource Group.

    1. Go to the Azure portal and log in to your account.

    2. From the Azure Admin page, select Resource Groups on the left side navigation.

    3. Select +Add in the upper-left of the page.

      1. Subscription: Select the subscription that the resource group will bill to when resource are deployed.

      2. Resource Group: Name the resource group.

      3. Region: Select a region where the resource group will be deployed.

      4. Select Next: Review + Create.

      5. Select Create.

    Create a Compute Gallery

    If you already have a resource group with a Compute Gallery in it, skip this step.

    Next, a Compute Gallery must be created to store your Image Definitions & Image Versions.

    1. Go to the resource group you just created.

    2. Select +Add in the upper-left of the resource group section of the page.

    3. Search for Azure Compute Gallery and select it from the search results.

      1. Subscription: Select the subscription that the Compute Gallery will bill to when resource are deployed.

      2. Resource Group: Select the resource group where the Compute Gallery will be deployed to. This should default to the resource group selected in the previous step.

      3. Name: Name the Compute Gallery.

      4. Region: Select a region where the Compute Gallery will be deployed.

      5. Select Next: Review + Create.

      6. Select Create.

    Configure Lab Developer Permissions

    If all of your lab builders already have permissions to the Compute Gallery, skip this step.

    Finally, ensure anyone that may be building labs on your behalf and customizing the environments has Owner or Contributor access to the Compute Gallery.

    1. In Azure, navigate to the Compute Gallery resource.

    2. Navigate to Access Control (IAM) > Role Assignments

    3. For each user you would like to be able to customize lab environments, complete the following:

      1. Search for the user (or a group the user belongs to)

      2. Ensure they have either Owner or Contributor access.

      3. If they already have access, consider this task complete.

      4. If they do not have Owner or Contributor, select +Add > Add Role Assignment and complete the Add Role Assignment wizard - providing the users with either Owner or Contributor access.

    Azure Check List

    At this point, you should have the configured within Azure:

    • Skillable Cloud-Slice-App authorization

    • Static Resource Group

    • Compute Gallery within Resource Group

    • Contributor or owner permissions for lab developers

    If you are missing any of these items, please go back to previous steps and complete any sections that were missed.

    Skillable Studio Setup

    Configure Subscription Pool & Subscription(s)

    Navigate to the subscription pool your labs will use, if you do not have one yet, create a Cloud Subscription Pool using the authentication information for your subscription in Azure.

    Once a Subscription Pool exists, any subscriptions within the pool need to be mapped to their appropriate Compute Gallery where image definitions are stored. To map the a subscription to a Compute Gallery:

    1. Navigate to the cloud subscription pool in Skillable Studio.

    2. For each subscription, select Edit.

    3. Select the Storage tab of the Edit Cloud Subscription dialog.

    4. On the Storage tab, fill in only the fields below:

      • Image Library Name: The name of the compute gallery resource.

      • Image Library Resource Group: The name of the resource group the compute gallery lives in.

        If your subscription pool has multiple subscriptions, remember to complete this process for each subscription. Each subscription will need to have it’s own compute gallery with the appropriate image definition and version, Skillable Studio currently does not support using a single Compute Gallery across multiple subscriptions.

    Next Steps


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.