#Stacksmith meets Google Cloud Platform Managed VMs
##Objective Create an webapp using Google App Engine (https://cloud.google.com/appengine/docs) for deployment/orchestration and Bitnami Stacksmith (https://stacksmith.bitnami.com) for software stack creation and maintenance.
##TL;DR Version
git clone https://github.com/nomisbeme/managedvm-hello-world.git
cd managedvm-hello-world
gcloud preview app deploy app.yaml
Wait for GAE to build container image, deploy updated module
curl https://<project-id>.appspot.com
pizza is awesome
##Implementation Notes
- Uses Ruby/Sinatra as the demo application - same approach can be used for other Stacksmith languages and frameworks
- Dockerfile was slightly modified to create /var/log/app_engine/custom_logs as required for GAE to collect application logs (ref: https://cloud.google.com/appengine/docs/managed-vms/custom-runtimes/build)
- Basic app health checking has been implemented
##Possible Improvements
- Cleanly abstracting out GAE app plumbing from app logic, perhaps by deriving from Sinatra::Base?
- Integrate with Cloud Tracing (https://cloud.google.com/trace/)
- Simplify generated Dockerfile for GAE case.
- Anything else? PRs and issues gratefully received.