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, 2019 in GCP by anonymous
• 19,610 points
1,343 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, 2019 by Sirajul
• 59,230 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, 2019 in GCP by Sirajul
• 59,230 points
852 views
+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
766 views
0 votes
1 answer

How do I know how much space is used in my cloud storage bucket?

You can use Stackdriver for daily monitoring ...READ MORE

answered Nov 19, 2019 in GCP by Sirajul
• 59,230 points
2,776 views
0 votes
1 answer

GCP Error: 403: Access Denied

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

answered Oct 9, 2019 in GCP by Sirajul
• 59,230 points
3,628 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, 2019 in GCP by Sirajul
• 59,230 points
4,565 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, 2019 in GCP by Sirajul
• 59,230 points
1,609 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