0

Is it possible to create AppEngine-independent applications with Python NDB API? I need to host some basic scripts with database on AE, but I don't want to vendor lockin into the service.

Dan McGrath
  • 41,220
  • 11
  • 99
  • 130
anatoly techtonik
  • 19,847
  • 9
  • 124
  • 140

2 Answers2

1

NDB was designed and built on App Engine. Turning it in to something portable would be a research project.

Dave W. Smith
  • 24,318
  • 4
  • 40
  • 46
1

You could use no DB at all if you don't need to store data, or you can use Cloud SQL which is really a mysql like instance for your application. In any case, if you use AppScale you can move your App Engine application whereever you want, thus there is no vendor lock-in.

graziano
  • 342
  • 1
  • 4
  • I want to use Python NDB API for other database than AppEngine. – anatoly techtonik Sep 16 '15 at 22:14
  • If you want to stay withing GAE, I'm not quite sure how you can use the NDB API to get to a different DB. Perhaps with remote API and simiar, If you want to go the AppScale route, you can use Cassandra right away (AppScale's default), or implement your own DB within it (AppScale used to support 12 DBs). – graziano Sep 20 '15 at 20:09
  • I don't want to stay within GAE. I want to write platform-independent app that doesn't use any platform specific features if possible. – anatoly techtonik Sep 24 '15 at 07:33