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

Access, claim, and connect to a DevTest Labs VM

Feedback

In this article

When you create a virtual machine (VM) in Azure DevTest Labs, you automatically own the VM. You can connect to the VM and see it listed inMy VMs on the Azure portal lab page.

As a lab user, you can also claim ownership of existing claimable lab VMs. Once you claim a VM, you see it listed inMy VMs and can connect to and manage it as your own VM.

In this tutorial, you learn to:

  • Claim an available lab VM.
  • Connect to the VM.
  • Unclaim or delete the VM when no longer needed.

Prerequisites

You need:

  • At leastDevTest Labs User access to a lab that has a claimable VM.
  • The URL to access the lab in the Azure portal, and the username and password to access the VM.

Claim a lab VM

To claim a lab VM, follow these steps. For more information about claiming VMs, seeUse claim capabilities in Azure DevTest Labs.

  1. Go to the URL for your lab in the Azure portal.

  2. On the labOverview page, selectClaimable virtual machines underMy Lab in the left navigation.

  3. On theClaimable virtual machines page, select the ellipsis... next to the listing for an available VM, and selectClaim machine.

    Screenshot showing Claim machine in the context menu.

    The VM is claimed and started. You can select theNotifications icon at the top of the portal to see progress.

  4. When the process finishes, return to the labOverview page and confirm that you now see the VM listed underMy virtual machines.

    Screenshot showing the claimed VM in the My virtual machines list.

Connect to a lab VM

To connect to a VM, it must be running. An unclaimed VM is stopped. When you claim the VM, it starts automatically. To connect to the VM, make sure the VMStatus is stillRunning, or selectStart at the top of the VM's page to start it.

  1. On the labOverview page, select the VM from the list underMy virtual machines.

  2. On the VM'sOverview page, selectConnect from the top menu.

    Screenshot of selecting Connect in the top menu of the VM.

  3. If available, selectConnect via Bastion from the context menu. In theConnect via Bastion pane, enter the VM username and password, select whether to open the VM in a new window, and then selectConnect.

    Screenshot of selecting Connect via Bastion and connecting through Bastion.

  4. IfConnect via Bastion isn't available:

Once you connect to the VM, you can use it to do your work. You haveOwner role on all lab VMs you claim or create, unless you unclaim them.

Unclaim a lab VM

After you're done using the VM, you can unclaim it so someone else can claim it, by following these steps:

  1. On the labOverview page, select the VM from the list underMy virtual machines.

  2. On the VM'sOverview page, selectUnclaim from the top menu.

    Screenshot of Unclaim on the VM's Overview page.

    The VM is shut down and unclaimed. To claim or reclaim this VM, you can selectClaim machine from the top menu.

    Screenshot of Claim machine on the VM's Overview page.

  3. Return to the labOverview page and confirm that the VM no longer appears underMy virtual machines.

  4. SelectClaimable virtual machines in the left navigation and confirm that the VM is now available to be claimed.

Delete a lab VM

When you're done using a VM, you can delete it unless someone else claims it. To delete an individual lab VM, follow these steps:

  1. Select the ellipsis... next to the VM in theMy virtual machines list or on theClaimable virtual machines page, and selectDelete from the context menu.
  2. On theAre you sure you want to delete it page, selectDelete.

The lab owner can also delete the entire lab when it's no longer needed, which deletes all lab VMs and resources.

Related content


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?