Configure VPC Service Controls for file system transfers

Storage Transfer Service supports on-premises transfers to Cloud Storage buckets protected by VPC Service Controls, under the following conditions:

  • Creating a transfer with Storage Transfer Service API protects all transferred data.

  • Creating a transfer with Cloud de Confiance console protects only file contents. File metadata, such as file names and file sizes, are not protected.

This guide describes the setup required to use Storage Transfer Service to transfer to Cloud Storage buckets within security perimeters.

To learn more about VPC Service Controls, see Overview of VPC Service Controls.

For information about using VPC Service Controls with Storage Transfer Service, see Using Storage Transfer Service with VPC Service Controls.

Prerequisites

To use Storage Transfer Service with VPC Service Controls, the following items need to be located within the same service perimeter:

  • The project used to create on-premises transfer jobs
  • The destination Cloud Storage bucket.

Supported configurations

Standalone access levels are unavailable in Cloud de Confiance by S3NS. To allow transfer agents outside the service perimeter, use access levels in ingress rules instead. See VPC Service Controls differences.

If transfer agents can be added to the service perimeter that contains your Cloud Storage bucket and Storage Transfer Service project, configure Private Google Access with VPC Service Controls for the on-premises network used by transfer agents. This method requires more steps to complete, and transfer agents are able to access only the Cloud de Confiance resources within the service perimeter.

Using Private Google Access with VPC Service Controls

To use Private Google Access with VPC Service Controls:

  1. Create a service perimeter to restrict the following services:

    • Cloud Storage
    • Storage Transfer Service
  2. Configure Private Google Access for on-premises hosts.

  3. Create transfer jobs in a project that is within the service perimeter.

Troubleshooting

To troubleshoot errors, see Troubleshooting VPC Service Controls errors.