Successfully reported this slideshow.
Your SlideShare is downloading. ×

Docker on Google App Engine


More Related Content


Docker on Google App Engine

  1. 1. Docker on Google App Engine Ekaterina Volkova Software Engineer Bridging the worlds of application hosting and developer tooling
  2. 2. Turn-key deployment Automatic health checking, monitoring, logging, and scaling A complete local development environment Deep integration with core services Google App Engine
  3. 3. + = ?
  4. 4. + = Managed VMs
  5. 5. minutes!
  6. 6. Deploy a more complex app that really does something 1 2 Deploy a simple app, look at the tools App Engine provides In this talk, we will Look at Local Development experience3
  7. 7. Google Compute Engine Instance Dockerfile app.yaml All you need Google App Engine dockerd Docker Container Your app
  8. 8. Dockerfile FROM debian:wheezy ENV DEBIAN_FRONTEND noninteractive RUN apt-get -q update ; apt-get -y -q --no-install-recommends install python2.7 python-pip RUN pip install Flask EXPOSE 8080 ADD . /app ENTRYPOINT ["/usr/bin/python2.7", "/app/"]
  9. 9. app.yaml application: gloomy-vms-prod module: python-flask version: hello-world runtime: custom api_version: 1 threadsafe: on vm: true manual_scaling: instances: 1 handlers: - url: /.* script:
  10. 10. gcloud app deploy <path/to/your/context>
  11. 11. Demo
  12. 12. Behind the scenes docker build using google/docker-registry container Google Compute Engine instance your laptop docker run gcloud deploy startupdate using google/docker-registry container private Google Cloud Storage bucket Google App Engine Your awesome docker image Your awesome docker image docker container docker push docker pull
  13. 13. Let’s try something more real! Dockerfile FROM google/mysql
  14. 14. Demo
  15. 15. App Engine APIs Storage: Cloud Datastore, Cloud SQL, Cloud Storage Memcache Task Queue Cloud Endpoints Find more!
  16. 16. App Engine APIs in your Docker container! Dockerfile FROM google/appengine-python27 app.yaml runtime: <python27|java|go>
  17. 17. App Engine Local Development gcloud app run <path/to/your/context>
  18. 18. Demo
  19. 19. App Engine for Docker Simple to manage Private Registry Bucket APIs and SDK Loadbalancing Autoscaling is coming! Docker for App Engine Use any library Run any code Transparency New Runtimes, build your own! +
  20. 20. We are in limited preview!