Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Göttliche Regeln - Build your PaaS with deis.io

Nicolas Byl
September 18, 2015

Göttliche Regeln - Build your PaaS with deis.io

Nicolas Byl

September 18, 2015
Tweet

More Decks by Nicolas Byl

Other Decks in Technology

Transcript

  1. Göttliche Regeln
    Build your PaaS with
    deis.io
    Nicolas Byl, codecentric AG

    View Slide

  2. View Slide

  3. http://dilbert.com/strip/2011-01-07

    View Slide

  4. http://www.commitstrip.com/en/2014/09/30/two-ways-of-managing-a-new-features-development/

    View Slide

  5. Platform as a Service

    View Slide

  6. Docker

    View Slide

  7. Operations and Docker

    View Slide

  8. Docker
    Docker Container als Deliverable?
    Compliance?
    Application Lifecycle?

    View Slide

  9. Twelve-Factor Applications

    View Slide

  10. Codebase
    One codebase tracked in revision control, many deploys
    Dependencies
    Explicitly declare and isolate dependencies
    Config
    Store config in the environment
    Backing Services
    Treat backing services as attached resources
    Build, release, run
    Strictly separate build and run stages
    Processes
    Execute the app as one or more stateless processes

    View Slide

  11. Port binding
    Export services via port binding
    Concurrency
    Scale out via the process model
    Disposability
    Maximize robustness with fast startup and graceful shutdown
    Dev/prod parity
    Keep development, staging, and production as similar as possible
    Logs
    Treat logs as event streams
    Admin processes
    Run admin/management tasks as one-off processes

    View Slide

  12. View Slide

  13. Architektur

    View Slide

  14. Deployment
    git push deis master

    View Slide

  15. Build Types
    Heroku Buildpacks
    Dockerfile
    Docker Images

    View Slide

  16. Demo Time!

    View Slide

  17. View Slide

  18. Ausblick
    Kubernetes (TP)
    Mesos / Marathon (TP)
    Docker Swarm (TP)
    Upgrades

    View Slide

  19. Fragen? Antworten!
    http://deis.io
    http://github.com/nbyl/deis-workshop
    [email protected]
    @NicolasByl

    View Slide