gsutil cannot copy to s3 due to authentication

后端 未结 2 1824
温柔的废话
温柔的废话 2021-02-14 09:45

I need to copy many (1000+) files to s3 from GCS to leverage an AWS lambda function. I have edited ~/.boto.cfg and commented out the 2 aws authentication parameters

2条回答
  •  悲哀的现实
    2021-02-14 10:23

    I had a similar problem. Here is what I ended up doing on a GCE machine:

    Step 1: Using gsutil, I copied files from GCS to my GCE hard drive Step 2: Using aws cli (aws s3 cp ...), I copied files from GCE hard drive to s3 bucket

    The above methodology has worked reliably for me. I tried using gsutil rsync but it fail unexpectedly.

    Hope this helps

提交回复
热议问题