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.

  • Google Cloud Load Balancer enforce HTTP, not HTTPS, using Kubernetes Ingress
  • Docker node.js Ctrl+C in Node.Js ssh deploy
  • Redis in docker starts/restarts multiple times?
  • webdriver container in circleci for testing
  • Does AWS ECS support per container dynamic scalability?
  • Monitoring docker with prometheus - cpu usage looks the same for different containers
  • Integrating Docker with Xdebug and Sublime Text on PHP environment
  • Docker trusted build doesn't show up in search
  • FATA[0000] Get http:///var/run/docker.sock/v1.17/version: dial unix /var/run/docker.sock
  • Spring boot connection reset after a few minutes in docker container
  • getting to the files system of the Alpine linux which runs Docker-for-mac
  • Load balancing Docker Registry v2 with HAProxy on Tutum
  • 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.