Skip to content

Commit 20c480e

Browse files
committed
edits
1 parent df8380b commit 20c480e

File tree

2 files changed

+42
-40
lines changed

2 files changed

+42
-40
lines changed

articles/devtest-labs/devtest-lab-upload-vhd-using-azcopy.md

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,35 +19,37 @@ For more information about disks and VHDs in Azure, see [Introduction to managed
1919
>
2020
> AzCopy is a Windows-only command-line utility.
2121
22-
## Upload a VHD file
22+
## Prerequisites
23+
24+
- [Download and install the latest version of AzCopy](https://aka.ms/downloadazcopy)
2325

24-
To upload a VHD file to Azure DevTest Labs by using [AzCopy](https://aka.ms/downloadazcopy):
26+
- Get the name of the lab's storage account by using the Azure portal:
2527

26-
1. [Download and install the latest version of AzCopy](https://aka.ms/downloadazcopy).
28+
1. Sign in to the [Azure portal](https://go.microsoft.com/fwlink/p/?LinkID=525040).
2729

28-
1. Sign in to the [Azure portal](https://go.microsoft.com/fwlink/p/?LinkID=525040).
30+
1. Select **All resources**, and then select your lab.
2931

30-
1. Select **All resources**, and then select your lab.
32+
1. In the lab menu under **Settings**, select **Configuration and policies**.
3133

32-
1. In the lab menu under **Settings**, select **Configuration and policies**.
34+
1. In **Activity log**, in the resource menu under **Virtual machine bases**, select **Custom images**.
3335

34-
1. In **Activity log**, in the resource menu under **Virtual machine bases**, select **Custom images**.
36+
1. In **Custom images**, select **Add**.
3537

36-
1. In **Custom images**, select **Add**.
38+
1. In **Custom image**, under **VHD**, select the **Upload an image using PowerShell** link.
3739

38-
1. In **Custom image**, under **VHD**, select the **Upload an image using PowerShell** link.
40+
:::image type="content" source="media/devtest-lab-upload-vhd-using-azcopy/upload-image-powershell.png" alt-text="Screenshot that shows settings to upload a VHD by using PowerShell on the Custom image pane.":::
3941

40-
:::image type="content" source="media/devtest-lab-upload-vhd-using-azcopy/upload-image-powershell.png" alt-text="Screenshot that shows settings to upload a VHD by using PowerShell on the Custom image pane.":::
42+
1. In **Upload an image using PowerShell**, scroll right to see a call to the Add-AzureRmVhd cmdlet.
4143

42-
1. In **Upload an image using PowerShell**, scroll right to see a call to the Add-AzureRmVhd cmdlet.
44+
The `-Destination` parameter contains the URI for a blob container in the following format:
4345

44-
The `-Destination` parameter contains the URI for a blob container in the following format:
46+
`https://<STORAGE-ACCOUNT-NAME>.blob.core.windows.net/uploads/...`
4547

46-
`https://<STORAGE-ACCOUNT-NAME>.blob.core.windows.net/uploads/...`
48+
:::image type="content" source="media/devtest-lab-upload-vhd-using-azcopy/destination-parameter.png" alt-text="Screenshot that shows an example of a URI in the Add VHD box.":::
4749

48-
:::image type="content" source="media/devtest-lab-upload-vhd-using-azcopy/destination-parameter.png" alt-text="Screenshot that shows an example of a URI in the Add VHD box.":::
50+
1. Copy the storage account name to use in the following steps.
4951

50-
Copy the full `-Destination` URI to use in a later step.
52+
## Upload a VHD file
5153

5254
1. In Windows, open a Command Window and go to the AzCopy installation directory. By default, AzCopy is installed in *ProgramFiles(x86)\Microsoft SDKs\Azure\AzCopy*.
5355

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
11
---
2-
title: Upload a VHD file to by using Storage Explorer
3-
description: Upload a VHD file to a DevTest Labs lab storage account by using Microsoft Azure Storage Explorer.
2+
title: Upload a VHD file to lab storage by using Storage Explorer
3+
description: Upload a VHD file to a DevTest Labs lab storage account by using Azure Storage Explorer.
44
ms.topic: how-to
55
ms.author: rosemalcolm
66
author: RoseHJM
7-
ms.date: 11/05/2021
7+
ms.date: 12/23/2022
88
---
99

10-
# Upload a VHD file to a lab's storage account by using Storage Explorer
10+
# Upload a VHD file to a lab storage account by using Storage Explorer
1111

1212
[!INCLUDE [devtest-lab-upload-vhd-selector](../../includes/devtest-lab-upload-vhd-selector.md)]
1313

14-
In Azure DevTest Labs, you can use VHD files to create custom images for provisioning virtual machines. This article describes how to use [Microsoft Azure Storage Explorer](../vs-azure-tools-storage-manage-with-storage-explorer.md) to upload a VHD file to a lab's storage account. Once you upload the VHD file to DevTest Labs, you can [create a custom image](devtest-lab-create-custom-image-from-vhd-using-powershell.md) from the uploaded file. For more information about disks and VHDs in Azure, see [Introduction to managed disks](../virtual-machines/managed-disks-overview.md).
14+
In this article, learn how to use [Azure Storage Explorer](../vs-azure-tools-storage-manage-with-storage-explorer.md) to upload a VHD file to a lab storage account in Azure DevTest Labs. After you upload your VHD file, you can create a custom image from the uploaded VHD file and use the image to provision a virtual machine.
1515

16-
Storage Explorer supports several connection options. This article describes connecting to a storage account associated with your Azure subscription. For information about other Storage Explorer connection options, see [Getting started with Storage Explorer](../vs-azure-tools-storage-manage-with-storage-explorer.md).
16+
For more information about disks and VHDs in Azure, see [Introduction to managed disks](../virtual-machines/managed-disks-overview.md).
17+
18+
Storage Explorer supports several connection options. This article describes how to connect to a storage account that's associated with your Azure subscription. For information about other Storage Explorer connection options, see [Get started with Storage Explorer](../vs-azure-tools-storage-manage-with-storage-explorer.md).
1719

1820
## Prerequisites
1921

20-
- [Download and install the latest version of Microsoft Azure Storage Explorer](https://www.storageexplorer.com).
22+
- [Download and install the latest version of Azure Storage Explorer](https://www.storageexplorer.com).
2123

2224
- Get the name of the lab's storage account by using the Azure portal:
2325

@@ -43,47 +45,45 @@ Storage Explorer supports several connection options. This article describes con
4345

4446
:::image type="content" source="media/devtest-lab-upload-vhd-using-azcopy/destination-parameter.png" alt-text="Screenshot that shows an example of a URI in the Add VHD box.":::
4547

46-
Copy the full `-Destination` URI to use in a later step.
47-
4848
1. Copy the storage account name to use in the following steps.
4949

5050
## Upload a VHD file
5151

5252
1. When you open Storage Explorer, the Explorer pane shows all the Azure subscriptions you're signed in to.
5353

54-
If you need to add a different account, select the **Account Management** icon. In the **Account Management** pane, select **Add an account**.
54+
If you need to add a different account, select the **Account Management** icon. In **Account Management**, select **Add an account**.
5555

56-
![Screenshot that shows Add an account in the Account Management pane.](media/devtest-lab-upload-vhd-using-storage-explorer/add-account-link.png)
56+
:::image type="content" source="media/devtest-lab-upload-vhd-using-storage-explorer/add-account-link.png" alt-text="Screenshot that shows Add an account in the Account Management pane.":::
5757

5858
Follow the prompts to sign in with the Microsoft account associated with your Azure subscription.
5959

60-
1. After you sign in, the **Explorer** pane shows the Azure subscriptions associated with your account. Select the dropdown arrow next to the Azure subscription you want to use. The left pane shows the storage accounts associated with the selected Azure subscription.
61-
62-
![Screenshot that shows the storage accounts for a selected Azure subscription.](media/devtest-lab-upload-vhd-using-storage-explorer/storage-accounts-list.png)
60+
1. After you sign in, the Explorer pane shows the Azure subscriptions associated with your account. Select the dropdown arrow next to the Azure subscription you want to use. The left pane shows the storage accounts associated with the selected Azure subscription.
6361

62+
:::image type="content" source="media/devtest-lab-upload-vhd-using-storage-explorer/storage-accounts-list.png" alt-text="Screenshot that shows the storage accounts for a selected Azure subscription.":::
63+
6464
1. Select the dropdown arrow next to the lab storage account name you saved earlier.
6565

66-
1. Expand the **Blob Containers** node, and then select **uploads**.
66+
1. Expand **Blob Containers**, and then select **uploads**.
6767

68-
![Screenshot that shows the expanded Blob Containers node with the uploads directory.](media/devtest-lab-upload-vhd-using-storage-explorer/upload-dir.png)
68+
:::image type="content" source="media/devtest-lab-upload-vhd-using-storage-explorer/upload-dir.png" alt-text="Screenshot that shows the expanded Blob Containers node with the uploads directory.":::
6969

70-
1. In the Storage Explorer right pane, on the blob editor toolbar, select **Upload**, and then select **Upload Files**.
70+
1. In the Storage Explorer right pane, on the blob editor toolbar, select **Upload**, and then select **Upload Files**.
7171

72-
![Screenshot that shows the Upload button and Upload Files.](media/devtest-lab-upload-vhd-using-storage-explorer/upload-button.png)
72+
:::image type="content" source="media/devtest-lab-upload-vhd-using-storage-explorer/upload-button.png" alt-text="Screenshot that shows the Upload button and Upload Files.":::
7373

74-
1. In the **Upload Files** dialog box, select **...** next to the **Selected files** field, browse to the VHD file on your machine, select it, and then select **Open**.
74+
1. In the **Upload Files** dialog, select **...** next to **Selected files**. Bowse to the VHD file on your computer, select the file, and then select **Open**.
7575

76-
1. Under **Blob type**, change **Block Blob** to **Page Blob**.
76+
1. In **Blob type**, change **Block Blob** to **Page Blob**.
7777

7878
1. Select **Upload**.
7979

80-
![Screenshot that shows the Upload Files dialog box.](media/devtest-lab-upload-vhd-using-storage-explorer/upload-file.png)
80+
:::image type="content" source="media/devtest-lab-upload-vhd-using-storage-explorer/upload-file.png" alt-text="Screenshot that shows the Upload Files dialog box.":::
8181

82-
The **Activities** pane at the bottom shows upload status. Uploading the VHD file can take a long time, depending on the size of the VHD file and your connection speed.
82+
The **Activities** pane at the bottom shows upload status. Uploading the VHD file might take a long time, depending on the size of the VHD file and your connection speed.
8383

84-
![Screenshot that shows the Activities pane with upload status.](media/devtest-lab-upload-vhd-using-storage-explorer/upload-status.png)
84+
:::image type="content" source="media/devtest-lab-upload-vhd-using-storage-explorer/upload-status.png" alt-text="Screenshot that shows the Activities pane with upload status.":::
8585

8686
## Next steps
8787

88-
- [Create a custom image in Azure DevTest Labs from a VHD file using the Azure portal](devtest-lab-create-template.md)
89-
- [Create a custom image in Azure DevTest Labs from a VHD file using PowerShell](devtest-lab-create-custom-image-from-vhd-using-powershell.md)
88+
- Learn how to [create a custom image in Azure DevTest Labs from a VHD file by using the Azure portal](devtest-lab-create-template.md).
89+
- Learn how to [create a custom image in Azure DevTest Labs from a VHD file using PowerShell](devtest-lab-create-custom-image-from-vhd-using-powershell.md).

0 commit comments

Comments
 (0)