Skip to content

Simple example how to use together Google App Engine Standard and Flexible Environment in one project.

License

Notifications You must be signed in to change notification settings

zdenulo/gae_flex_pandas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple example how to use together Google App Engine Standard and Flexible Environment in one project.

Lets imagine you have existing GAE application. And since Pandas library is not available in GAE Standard, we will create another service (module) where we will do some work with Pandas and save data into Datastore and then fetch that data in GAE standard.

few comments:

  • in both services we are using webapp2 framework, they both run on Python 2
  • in GAE Flex we creating entities in Datastore with client library
  • with dispach.yaml file we are routing GAE Flex service to url /pandas/

you can run GAE Flex part locally by going into folder flex and run python main (before that you need to install of course requirements.txt (best in virtual env))

To deploy everything at once gcloud app deploy dispatch.yaml flex/app.yaml standard/app.yaml --verbosity=debug --promote

More info in this link https://www.the-swamp.info/blog/google-app-engine-flexible/

If you want to receive weekly news, info, articles atc. regarding Google Cloud Platform, subscribe here https://www.the-swamp.info/newsletter/

About

Simple example how to use together Google App Engine Standard and Flexible Environment in one project.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published