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,260 points
2,250 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


Hope it works!!

To become a Google certified professional cloud architect, join GCP Training today.

Thanks!

answered Nov 19, 2019 by Sirajul
• 59,230 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
• 59,230 points
6,217 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 23, 2019 in GCP by Sirajul
• 59,230 points
961 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP