Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

Quickstart: Create a lab in the Azure portal

Feedback

In this article

This quickstart walks you through creating a lab in Azure DevTest Labs by using the Azure portal.Azure DevTest Labs is a service for easily creating, using, and managing infrastructure-as-a-service (IaaS) virtual machines (VMs) and platform-as-a-service (PaaS) environments in a lab context.

Prerequisite

Create a lab

  1. In theAzure portal, search for and selectDevTest Labs.

  2. On theDevTest Labs page, selectCreate. TheCreate DevTest Lab page appears.

  3. On theBasic Settings tab, provide the following information:

    • Subscription: Change the subscription if you want to use a different subscription for the lab.
    • Resource group: Select an existing resource group from the dropdown list, or selectCreate new to create a new resource group so it's easy to delete later.
    • Lab name: Enter a name for the lab.
    • Location: Change the location if you want to use a different Azure region for the lab.
    • Artifacts storage account access: You can select whether the lab uses a user-assigned managed identity or a shared key to access the lab storage account. To use a user-assigned managed identity, select it from the dropdown list. Otherwise, keep the option set toStorage account Shared Key.
    • Public environments: LeaveOn for access to theDevTest Labs public environment repository, or set toOff to disable access. For more information, seeEnable public environments when you create a lab.

    Screenshot of the Basic Settings tab in the DevTest Labs creation form.

  4. Optionally, selectNext or select the other tabs at the top of the page to customize the following settings:

    You can also apply or change most of these settings after lab creation.

  5. After you complete all settings, selectReview + create at the top or bottom of the page.

  6. OnceSucceeded appears at the top of theReview + create page, review the settings and then selectCreate.

Tip

SelectDownload a template for automation at the bottom of the page to view and download the lab configuration as an Azure Resource Manager (ARM) template. You can use the ARM template to create more labs. For more information, seeCreate VMs by using ARM templates.

Auto-shutdown tab

Autoshutdown helps save lab costs by shutting down all lab VMs at a certain time of day. To configure autoshutdown:

  1. On theCreate DevTest Lab page, select theAuto-shutdown tab.

  2. Fill out the following information:

    • Enabled: SelectOn to enable auto shutdown.
    • Scheduled shutdown andTime zone: Specify the daily time and time zone to shut down all lab VMs.
    • Send notification before auto-shutdown: SelectYes orNo for the option to post or send a notification 30 minutes before the autoshutdown time.
    • Webhook URL andEmail address: If you choose to send notifications, enter a webhook URL endpoint or semicolon-separated list of email addresses where you want the notification to post or be sent. For more information, seeConfigure autoshutdown for labs and VMs.

    Screenshot of the Auto-shutdown tab in the DevTest Labs creation form.

Networking tab

Azure DevTest Labs creates a new default virtual network for each lab. You can choose to use another virtual network for the new lab instead of the default. For more information, seeAdd a virtual network in Azure DevTest Labs.

To configure networking:

  1. On theCreate DevTest Lab page, select theNetworking tab.
  2. ForVirtual Network, select a different virtual network from the dropdown list. ForSubnet, if necessary, select a subnet from the dropdown list.
  3. ForIsolate lab resources, selectYes to completely isolate lab resources to the selected network. For more information, seeNetwork isolation in DevTest Labs.

Screenshot of the Networking tab in the DevTest Labs creation form.

Tags tab

You can assign tags that apply to all lab resources. Tags can help you manage and track resources. For more information, seeAdd tags to a lab.

To add tags:

  1. On theCreate DevTest Lab page, select theTags tab.
  2. UnderName andValue, select or enter one or more case-sensitive name-value pairs to help identify resources.

Screenshot of the Tags tab in the DevTest Labs creation form.

Verify lab creation

After you selectCreate, you can monitor the lab creation process inNotifications at top right in the portal.

Screenshot of DevTest Labs deployment notification.

When the deployment finishes, selectGo to resource. The lab'sOverview page appears.

Screenshot of DevTest Labs overview page.

You can now add and configure VMs, environments, users, and policies for the lab.

Clean up resources

When you're done using the lab, delete it and its resources to avoid further charges.

  1. On the labOverview page, selectDelete from the top menu.

    Screenshot of lab delete button.

  2. On theAre you sure you want to delete it page, enter the lab name, and then selectDelete.

    During the deletion process, you can selectNotifications at the top of your screen to view progress. Deleting a lab can take a while.

If you created a resource group for the lab, you can now delete the resource group. You can't delete a resource group that has a lab in it. Deleting the resource group that contained the lab deletes all resources in the resource group.

  1. Select the resource group that contained the lab from your subscription'sResource groups list.
  2. At the top of the page, selectDelete resource group.
  3. On theAre you sure you want to delete "<resource group name>" page, enter the resource group name, and then selectDelete.

Related content

To learn how to add VMs to your lab, go on to the next article:


Feedback

Was this page helpful?

YesNoNo

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?

  • Last updated on

In this article

Was this page helpful?

YesNo
NoNeed help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?