Compatibility layer above AWS & GAE?

2019-05-07 20:21发布

Has anyone developed an abstraction layer above Amazon Web Services and the Google App Engine? It would be nice to be able to develop a system that could be migrated between either of those two platforms. I am interested in Python.

2条回答
对你真心纯属浪费
2楼-- · 2019-05-07 20:49

Look at TyphoonAE or AppScale. Both projects provide an App Engine like environment. I have successfully ran Python applications, with no modifications, built using webapp on TyphoonAE.

You can also look at django-nonrel or web2py for frameworks with features designed to make moving between GAE + bigtable and other datastores easy.

查看更多
家丑人穷心不美
3楼-- · 2019-05-07 20:53

You are talking about an infrastructure service (IaaS - ec2) and platform service (PaaS - GAE) - the latter is built on something like the former (but obviously GAE doesn't run on ec2).

To get the portability you want - you would need to build in something that runs nicely on GAE - and then work out how to rebuild that platform infrastructure underneath on EC2 (probably not a trivial task). Given that GAE for python is very close to django, for simple apps, carefully written, you may be able to achieve this somewhat by using some django images on AWS/ec2 (obviously a sys admin burden now rests with you whereas it did not with GAE).

Hope that helps !

查看更多
登录 后发表回答