How do I access cloud filestore in datastore mode from my application running on apache server?

0 votes
I want my application to access cloud filestore (datastore mode). My application is hosted externally and is not on GCP. Can somebody help?
Nov 4 in GCP by anonymous
• 5,500 points
22 views

1 answer to this question.

0 votes

To access your Datastore mode database from an external application running on a platform outside of Google Cloud Platform:

  1. Go to the Create Service Account Key page in Google Cloud Platform Console.

  2. Click the drop-down box below Service account, then click New service account.

  3. Enter a name for the service account in Service account name.

  4. Under the Role dropdown, select an IAM role that grants access to your database such as Cloud Datastore Owner.

  5. Use the default Service account ID or generate a different one.

  6. Select JSON in Key type.

  7. Click Create.

  8. Upon successful creation, your browser will download the private key. The GCP Console provides a prompt that displays the private key file name. Note the file name so you can locate it, then click Close to dismiss the prompt.

  9. Your Service Account is the Email address displayed under the Service Account section.

  10. Your Private Key is the file you just downloaded.

Use this service account to configure credentials for your application code as described in Providing service account credentials.

For more info refer to : https://cloud.google.com/datastore/docs/activate#other-platforms

answered Nov 4 by Sirajul
• 37,480 points

Related Questions In GCP

0 votes
1 answer

How do i delete a RAM disk from my instance on GCP?

You can unmount a tmpfs RAM disk just like ...READ MORE

answered Oct 22 in GCP by Sirajul
• 37,480 points
23 views
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
• 37,480 points
10 views
+3 votes
11 answers

How do I delete my Google Cloud Platform Account?

How do I delete me cloud and ...READ MORE

answered Jan 18 in GCP by dodge123@yahoo.com
16,453 views
0 votes
1 answer

GCP Error: 403: Access Denied

Check that your credentials are correct. For ...READ MORE

answered Oct 9 in GCP by Sirajul
• 37,480 points
23 views
0 votes
1 answer

Permissions issue with Google Cloud Storage Bucket.

You can regain access to the object by assigning an applicable role, like roles/storage.objectAdmin, to ...READ MORE

answered Oct 10 in GCP by Sirajul
• 37,480 points
47 views
0 votes
1 answer
0 votes
1 answer

How do I get to know my transaction history in Google Cloud Platform?

These are the following steps to look at the transaction history within the Google ...READ MORE

answered Oct 7 in GCP by Sirajul
• 37,480 points
41 views