简体   繁体   中英

Google cloud platform to S3/Redshift

Is there anyway programmatically in Python to ingest data from Google cloud platform in S3? My ultimate aim is to get data from Google Big Query to Redshift.

You can probably use gsutil to copy data from a Google Cloud Storage bucket to an Amazon s3 bucket, using a command like this

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

no need for python code.

您还可以查看https://rclone.org/,它支持跨许多云存储(包括Google Storage和AWS S3)复制数据。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM