Question

I know appengine datastore and what is cloud datastore, using cloud datastore is always an confusion for me, following are my questions:

  1. does cloud datastore requires Compute Engine ? (in google docs i saw like enable compute engine)
  2. how to access cloud datastore from appengine application (this is very needed)
  3. how to enable multiple application to access this common datastore ?

Note: I know how to activate it, but I didn't get clear answers for my questions above.

Was it helpful?

Solution 2

Atlast, i can able to access from cloud datastore from appengine application, following are my answer,

Ans For Ques 1:

Cloud Datstore doesn't require compute engine instance.

Ans for Ques 2:

To access cloud datastore, you need either service account credentials or u must have access token for authenticated user with Scopes set to Datastore, and user email.

Use Google api Client library,or simply use ProtoBuf library provided in documentation.

Ans for Ques 3:

simply use create credentials from application u want to access and use it in other applications

https://developers.google.com/datastore/docs/getstarted/overview

Thanks!

OTHER TIPS

Your questions:

1) No, cloud datastore can also be user by other platforms

2) App engine has native support to use the (cloud) datastore. The cloud datastore is based on the App Engine datastore to make it available for others.

3) You can share the cloud datastore, but see this issue

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top