Running Bottle (back end) + Nodejs (front end) on Google App Engine

I have my Python/bottle backend running on app engine and decided to use Nodejs/ember for the front end. I haven’t used Google Cloud a lot but the Managed VMs beta seems to allow me to deploy my project using Docker.

Question: How do I run both back end and front end on the Google cloud and can I actually run it in the same project? I haven’t found any documentation how to do the configuration. I’m sure there is a simple answer that I’m not seeing.

  • Docker: Combine multiple images
  • elastic beanstalk can not find Dockerfile
  • GitLab CI ERROR: Preparation failed: Post https…docker%3Adind: net/http: timeout awaiting response headers
  • Docker -v paramter limited in size
  • Unable to retrieve restored archive from AWS S3 'Invalid size value: 1g'
  • Nginx + php-fpm: Bad gateway only when xdebug server is running
  • How to have docker restart container with a completely new container?
  • Multiple site docker swarm with enforced topology
  • HHVM inside Docker always running as root
  • Rapid virtualization with “fork from here” to a new LXC/docker container
  • Accessing docker service instances by service_name.n
  • Which DSpace Docker container is officially endorsed by the DSpace community?
  • One Solution collect form web for “Running Bottle (back end) + Nodejs (front end) on Google App Engine”

    The first thing to consider is that Node.js and Ember.js are separate things. Node.js allows for writing javascript as a server side language. This means that it is used as a webserver (backend) not as client side code (front end). So Node.js would replace your python/bottle. (specially if used with Express.js for middleware).

    Secondly you do not need to host the “frontend” on anything. In most modern web apps the “frontend” is served by your backend (python/bottle) to the user’s browser whenever they travel to the web url.

    Because ember has a very full routing system you just have to serve the main index page along with the assets and it will take over the routing for you.

    Finally you can host an python/bottle (backend) Ember.js(front-end) application on google cloud.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.