【问题标题】:Google cloud platform to S3/Redshift谷歌云平台到 S3/Redshift
【发布时间】:2019-03-11 15:16:11
【问题描述】:

无论如何,Python 中有没有以编程方式从 S3 中的 Google 云平台摄取数据?我的最终目标是从 Google Big Query 获取数据到 Redshift。

【问题讨论】:

    标签: amazon-s3 google-cloud-platform google-bigquery amazon-redshift


    【解决方案1】:

    您可以使用 gsutil 将数据从 Google Cloud Storage 存储桶复制到 Amazon s3 存储桶,使用如下命令

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

    不需要python代码。

    【讨论】:

    • 谢谢,这有帮助。
    【解决方案2】:

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

    【讨论】:

      猜你喜欢
      • 2020-06-02
      • 1970-01-01
      • 1970-01-01
      • 2020-12-11
      • 1970-01-01
      • 2020-08-06
      • 2018-09-26
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多