使用 Azure 儲存體總管來管理 Azure 受控磁碟

適用於: ✔️ Linux VM ✔️ Windows VM ✔️ 彈性擴展集 ✔️ 統一擴展集

Azure 儲存體總管包含一組豐富的功能,可讓您:

  • 上傳、下載及複製受控磁碟。
  • 從作業系統或資料磁碟虛擬硬碟建立快照集。
  • 將資料從內部部署移轉到 Azure。
  • 跨 Azure 區域移轉資料。

必要條件

若要完成本文,您需要:

如果您沒有 Azure 訂用帳戶,請在開始前建立免費帳戶

連線到 Azure 訂閱

如果您的儲存體總管未連線到 Azure,您就無法使用其來管理資源。 請遵循本節中的步驟,將儲存體總管連線到 Azure 帳戶。 之後,您可以使用其來管理磁碟。

  1. 開啟 Azure 儲存體總管,然後選取工具列中的 [連線] 圖示。

    Screenshot of Azure Storage Explorer showing the location of the Connect icon.

  2. 在 [連線至 Azure 儲存體] 對話方塊中,選取 [訂用帳戶]

    Screenshot of Azure Storage Explorer highlighting the location of the Subscription option.

  3. 選取適當的環境,然後選取 [下一步]。 您也可以選取 [管理自訂環境] 來設定和新增自訂環境。

    Screenshot of Azure Storage Explorer highlighting the location of the Azure Environment option.

  4. 在 [登入] 對話方塊中,輸入您的 Azure 認證。

    Screenshot of the sign-in dialog box.

  5. 從清單中選取訂用帳戶,然後選取 [開啟 Explorer]

    Screenshot of Azure Storage Explorer highlighting the location of the Open Explorer button.

上傳內部部署 VHD

您可以將內部部署虛擬硬碟 (VHD) 檔案上傳至 Azure,並用其來建立映像。 請遵循本節中的步驟來上傳來源檔案。

  1. 在 [Explorer] 窗格中,展開 [磁碟],然後選取您要上傳磁碟的資源群組。

    Screenshot of Azure Storage Explorer highlighting the location of the Disks node for uploading a disk.

  2. 在 [資源群組詳細資料] 窗格中,選取 [上傳]

    Screenshot of Azure Storage Explorer highlighting the location of the Upload button.

  3. 在 [上傳 VHD] 對話方塊中,指定 VHD 來源檔案、磁碟名稱、作業系統類型、您要上傳磁碟的區域,以及帳戶類型。 如果區域支援可用性區域,您可以選取您選擇的區域。 選取 [建立] 開始上傳磁碟。

    Screenshot of Azure Storage Explorer's Upload VHD dialog box.

  4. 上傳的狀態現在會顯示在 [活動] 中。

    Screenshot of Azure Storage Explorer highlighting the location of the Activities pane containing upload status messages.

如果上傳已完成,而且您在 [活動] 窗格中看不到磁碟,請選取 [重新整理]

下載受控磁碟

請遵循本節中的步驟,將受控磁碟下載到內部部署 VHD。 必須先取消連結磁碟的狀態,才能下載磁碟。

  1. 在 [Explorer] 窗格中,展開 [磁碟],然後選取您要從中下載磁碟的資源群組。

    Screenshot of Azure Storage Explorer highlighting the location of the Disks node for downloading disks.

  2. 在 [資源群組詳細資料] 窗格中,選取您想要下載的磁碟。

  3. 選取 [下載],然後選擇您要儲存磁碟的位置。

    Screenshot of Azure Storage Explorer highlighting the location of the Download button.

  4. 選取 [儲存] 開始下載。 下載狀態會顯示在 [活動] 中。

    Screenshot of Azure Storage Explorer highlighting the location of the Activities pane with download status messages.

複製受控磁碟

透過儲存體總管,您可以在區域內或跨區域複製受控磁碟。 若要複製磁碟:

  1. 在 [Explorer] 窗格中,展開 [磁碟] 下拉式清單,然後選取包含您要複製磁碟的資源群組。

    Screenshot of Azure Storage Explorer highlighting the location of the Disks node for copying a disk.

  2. 在 [資源群組詳細資料] 窗格中,選取您想要複製的磁碟,然後選取 [複製]

    Screenshot of Azure Storage Explorer highlighting the location of the Copy button.

  3. 在 [Explorer] 窗格中,展開 [磁碟],然後選取您要在其中貼上磁碟的資源群組。

    Screenshot of Azure Storage Explorer highlighting the location of the Disks node for pasting a disk.

  4. 在 [資源群組詳細資料] 窗格中選取 [貼上]

    Screenshot of Azure Storage Explorer highlighting the location of the Paste button.

  5. 在 [貼上磁碟] 對話方塊中填入值。 您也可以在支援的區域中指定可用性區域。

    Screenshot of Azure Storage Explorer's Paste Disk form.

  6. 選取 [貼上] 以開始磁碟複製。 狀態會顯示在 [活動] 中。

    Screenshot of Azure Storage Explorer highlighting the location of the Activities pane with copy and paste status messages.

建立快照集

  1. 在 [Explorer] 窗格中,展開 [磁碟],然後選取包含您要建立快照集之磁碟的資源群組。

    Screenshot of Azure Storage Explorer highlighting the location of the Disks node for creating disk snapshots.

  2. 在 [資源群組詳細資料] 窗格中,選取您想要建立快照集的磁碟,然後選取 [建立快照集]

    Screenshot of Azure Storage Explorer highlighting the location of the Create Snapshot button.

  3. 在 [建立快照集] 中,指定快照集的名稱,以及您要在其中建立快照集的資源群組。 選取 建立

    Screenshot of Azure Storage Explorer's Create Snapshot dialog box.

  4. 建立快照集之後,您可以在 [活動] 中選取 [在入口網站中開啟],以在 Azure 入口網站中檢視快照集。

    Screenshot of Azure Storage Explorer highlighting the location of the link in the Activities pane with snapshot status messages.

下一步