為檔案系統傳輸作業設定 VPC Service Controls

在下列情況下,Storage 移轉服務支援將地端部署資料移轉至受 VPC Service Controls 保護的 Cloud Storage bucket:

  • 使用 Storage 移轉服務 API 建立移轉作業,可保護所有移轉的資料。

  • 使用 Google Cloud 控制台建立轉移作業,只會保護檔案內容。檔案中繼資料 (例如檔案名稱和檔案大小) 不受保護。

本指南說明如何設定 Storage 移轉服務,將資料移轉至安全 perimeter 內的 Cloud Storage bucket。

如要進一步瞭解 VPC Service Controls,請參閱「VPC Service Controls 總覽」。

如要瞭解如何搭配使用 VPC Service Controls 和 Storage 移轉服務,請參閱「搭配使用 Storage 移轉服務與 VPC Service Controls」。

必要條件

如要搭配使用 Storage 移轉服務和 VPC Service Controls,下列項目必須位於相同的 service perimeter 內:

  • 用於建立地端部署移轉工作的專案
  • 目的地 Cloud Storage bucket。

支援的設定

請使用下列任一方法,設定移轉代理程式與 VPC Service Controls 搭配運作:

  • 如果移轉代理程式必須位於包含 Cloud Storage bucket 和 Storage 移轉服務專案的 service perimeter 之外,請將代理程式新增至存取層級。

    這個方法較容易設定,且可讓移轉代理存取Google Cloud service perimeter 內外的資源。

  • 如果可以將移轉代理程式新增至包含 Cloud Storage bucket 和 Storage 移轉服務專案的 service perimeter,請為移轉代理程式使用的地端部署網路設定 Private Google Access 與 VPC Service Controls。

    這個方法需要更多步驟才能完成,且移轉代理程式只能存取 service perimeter 內的 Google Cloud 資源。

將代理新增至存取層級

如要將移轉代理程式新增至存取層級,請按照下列步驟操作:

  1. 決定如何將代理程式新增至存取層級:依 IP 位址或服務帳戶。

  2. 將代理新增至存取層級:

搭配使用 Private Google Access 與 VPC Service Controls

如要搭配使用 Private Google Access 與 VPC Service Controls,請按照下列步驟操作:

  1. 建立 service perimeter,限制下列服務:

    • Cloud Storage
    • Storage 移轉服務
  2. 為地端部署主機設定 Private Google Access。

  3. 在 service perimeter 內的專案中建立移轉工作。

疑難排解

如要排解錯誤,請參閱「排解 VPC Service Controls 錯誤」。