Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to access google drive from compute engine

I haven't used GCE before but was planning on using it for some CPU bound R scripts.

I see that on the network section of pricing it says there is free egress and ingress with google drive. I don't see any documentation on how to access my google drive from within a GCE. Is there documentation on this that someone can point me towards?

like image 590
Dean MacGregor Avatar asked Jun 23 '15 22:06

Dean MacGregor


People also ask

How do I access Google Compute Engine?

Browse to the Google Cloud Platform console and sign in if required using your Google account. Find and select your project in the project list. Select the “Compute -> Compute Engine” menu item. Locate your server instance and select the SSH button.

How do I connect my GCP to Google Drive?

In the search bar of GCP console, search for Google Drive API and enable it. Create a GCS Bucket by heading to the Cloud Storage service. Under the Browser tab, click Create Bucket and follow the prompts. Give access to your bucket to the service account.

What is the difference between Google App Engine and Google Compute Engine?

Google App Engine is a Platform as a Service (PaaS) solution that makes deployment easier. On the other hand, the Google Compute Engine is an Infrastructure as a Service (IaaS) tool.

Is Google Compute Engine?

Google Compute Engine (GCE) is an infrastructure as a service (IaaS) offering that allows clients to run workloads on Google's physical hardware. Google Compute Engine provides a scalable number of virtual machines (VMs) to serve as large compute clusters for that purpose.


1 Answers

I recommend using Google Cloud Storage instead of drive. Drive is a more consumer oriented (and expensive) product. Its extra features are geared towards file management and not moving around data blobs which is what you would need when programming.

If you really want to use it you can drive, you can find the API documentation at https://developers.google.com/drive/

Drive is NOT part of the Google Cloud Platform and there are no special instructions or integrations other than the network pricing.

like image 96
Stephen Weinberg Avatar answered Sep 20 '22 13:09

Stephen Weinberg