Exporting data from Google Cloud Storage to Amazon S3

前端 未结 4 860
夕颜
夕颜 2020-11-27 04:37

I would like to transfer data from a table in BigQuery, into another one in Redshift. My planned data flow is as follows:

BigQuery -> Google Cloud Storage -> Amazon

4条回答
  •  渐次进展
    2020-11-27 05:15

    I needed to transfer 2TB of data from Google Cloud Storage bucket to Amazon S3 bucket. For the task, I created the Google Compute Engine of V8CPU (30 GB).

    Allow Login using SSH on the Compute Engine. Once logedin create and empty .boto configuration file to add AWS credential information. Added AWS credentials by taking the reference from the mentioned link.

    Then run the command:

    gsutil -m rsync -rd gs://your-gcs-bucket s3://your-s3-bucket

    The data transfer rate is ~1GB/s.

    Hope this help. (Do not forget to terminate the compute instance once the job is done)

提交回复
热议问题