How do I stream uploads to cloud storage from a process?

0 votes
How do I stream uploads to cloud storage from a process?
Nov 19, 2019 in GCP by anonymous
• 6,250 points
585 views

1 answer to this question.

0 votes

To use gsutil to perform a streaming upload from a process to a Cloud Storage object, pipe the data to the gsutil cp command and use a dash for the source URL.

The following example streams the data produced by the collect_measurements process into the data_measurements Cloud Storage object:

collect_measurements | gsutil cp - gs://my_app_bucket/data_measurements
answered Nov 19, 2019 by Sirajul
• 58,210 points

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer

How do I resolve a declined payment on google cloud storage?

Sometimes payments are declined, and when they ...READ MORE

answered Nov 19, 2019 in GCP by Sirajul
• 58,210 points
487 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
+1 vote
1 answer

How do I deploy a cloud function from my local machine?

You can do this using the gcloud command-line tool, ...READ MORE

answered Oct 22, 2019 in GCP by Sirajul
• 58,210 points
135 views