Storage Transfer Service Overview

This page describes Storage Transfer Service, which you can use to quickly import online data into Cloud Storage. You can also transfer data within Cloud Storage, from one bucket to another.

To learn how to set up a transfer in the GCP Console, follow the instructions in Creating and Managing Transfers with the Console.

What is Storage Transfer Service?

Storage Transfer Service transfers data from an online data source to a data sink. Your data source can be an Amazon Simple Storage Service (Amazon S3) bucket, an HTTP/HTTPS location, or a Cloud Storage bucket. Your data sink (the destination) is always a Cloud Storage bucket.

You can use Storage Transfer Service to:

  • Move or back up data to a Cloud Storage bucket from other storage providers.

  • Move data from one Cloud Storage bucket to another, so that it is made available to different groups of users or applications.

  • Periodically move data as part of a data processing pipeline or analytical workflow.

Storage Transfer Service performs a data transfer with a transfer operation. Transfer operations are scheduled and configured through a transfer job. Storage Transfer Service has options that make data transfers and synchronization between data sources and data sinks easier. For example, you can:

  • Schedule one-time transfer operations or recurring transfer operations.

  • Delete existing objects in the destination bucket if they don't have a corresponding object in the source.

  • Delete source objects after transferring them.

  • Schedule periodic synchronization from data source to data sink with advanced filters based on file creation dates, file-name filters, and the times of day you prefer to import data.

By default, Storage Transfer Service copies a file from the data source if the file doesn't exist in the data sink or if it differs between the version in the source and the sink. The default is also to retain files in the source after the transfer operation.

Who can use Storage Transfer Service?

To use Storage Transfer Service, you must have one of the following roles, depending on the duties you are performing:

  • For full access — storagetransfer.admin
  • To submit transfers — storagetransfer.user
  • To view or list transfer jobs and operations — storagetransfer.viewer

For more information about roles and permissions, see access control.

The project that creates the transfer job does not have to be associated with the buckets that act as the source or sink, but additional permissions are required to set up and use sources and sinks. See Configuring Access to Data Sources and Sinks for information on how to do this.

Available interfaces

There are a number of ways you can work with Storage Transfer Service:

Should you use gsutil or Storage Transfer Service?

The gsutil command-line tool also enables you to transfer data between Cloud Storage and other locations. While you can use gsutil to work with Amazon S3 buckets and transfer data from Amazon S3 to Cloud Storage, Storage Transfer Service is recommended for this use case.

Follow these rules of thumb when deciding whether to use gsutil or Storage Transfer Service:

  • When transferring data from an on-premises location, use gsutil.

  • When transferring data from another cloud storage provider, use Storage Transfer Service.

  • Otherwise, evaluate both tools with respect to your specific scenario.

Use this guidance as a starting point. The specific details of your transfer scenario will also help you determine which tool is more appropriate.

Service Level Agreement

Storage Transfer Service currently does not provide an SLA, and some performance fluctuations may occur. For example, we do not provide SLAs for transfer performance or latency.

Var denne siden nyttig? Si fra hva du synes:

Send tilbakemelding om ...

Cloud Storage Transfer Service Documentation