Skip to content

Uploading Data

João Carabetta edited this page Aug 29, 2017 · 3 revisions

Uploading to Bucket

Via GSUTILS

if GSUTILS is not installed, start here:

  • install GSUTILS
  • after entering gcloud init, they will ask: Do you want to configure Google Compute Engine (https://cloud.google.com/compute) settings (Y/n). Just hit n

if it is installed, just do:

gsutil cp [LOCAL_OBJECT_LOCATION] gs://[DESTINATION_BUCKET_NAME]/

if your file is very large (>150M), try a parallel upload:

gsutil -o GSUtil:parallel_composite_upload_threshold=150M cp [LOCAL_OBJECT_LOCATION] gs://[DESTINATION_BUCKET_NAME]/

Clone this wiki locally