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 in GCP by anonymous
• 4,330 points
11 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 by Sirajul
• 40,980 points

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
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 in GCP by Sirajul
• 40,980 points
16 views