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.

  • How to have my docker daemon log print to logfile not to STDOUT?
  • How does one specify a particular cipher suite for a nginx docker instance?
  • Set up cassandra driver (python) in Docker
  • Dockerized Rails 5 RC1 application not picking up updates to controllers and models in development
  • “Unable to access jarfile” when trying to run a jar with docker
  • Docker - Cannot execute multiple docker run commands from same .sh file
  • Docker on Ubuntu can't saturate CPU
  • How to test external services from inside a Docker container?
  • Simple REST web server in docker container
  • Installation of Kubernetes-node fails with conflicting packages on CentOs 7
  • Run two services in same Docker container on CoreOS?
  • Scripts with dialog from Docker container
  • 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.