Storage Transfer Service supports transfers to Cloud Storage buckets protected by VPC Service Controls.
Storage Transfer Service requires access to Cloud Storage buckets in order to move data into or between Cloud Storage buckets. If you have buckets within a VPC Service Controls service perimeter, extra setup is required to use Storage Transfer Service to transfer data to Cloud Storage.
To protect your TransferJob and
TransferOperation requests, you can
add the Storage Transfer Service API as a protected service to your service perimeters.
To protect the underlying Cloud Storage buckets and objects, you also need to
add the Cloud Storage API as a protected service to your service
perimeter.
To learn more about VPC Service Controls, see Overview of VPC Service Controls.
For information about using VPC Service Controls with file system transfers, see Configure VPC Service Controls for file system transfers.
Supported configurations
You can configure Storage Transfer Service to work with Cloud Storage buckets protected by VPC Service Controls with the following method:
You can add your Storage Transfer Service project to the service perimeter of your Cloud Storage buckets if either of the following are true:
- You can configure your Cloud Storage buckets within a single service perimeter.
- All of your Cloud Storage buckets are within the same service perimeter.
This option is the easiest option to set up and manage.
Service perimeter
To use a service perimeter, follow the instructions in Create a service perimeter to include the following projects and services:
- The
TransferJobproject - Cloud Storage bucket projects
- Cloud Storage API (storage.googleapis.com)
- Storage Transfer Service API (storagetransfer.googleapis.com)
Troubleshooting
For help troubleshooting, see VPC Service Controls Troubleshooting.