Göttliche Regeln
Build your PaaS with deis.io
Nicolas Byl, codecentric AG
Docker
- Docker Container als Deliverable?
- Compliance?
- Application Lifecycle?
Twelve-Factor Applications
- CodebaseOne codebase tracked in revision control, many deploys
- DependenciesExplicitly declare and isolate dependencies
- ConfigStore config in the environment
- Backing ServicesTreat backing services as attached resources
- Build, release, runStrictly separate build and run stages
- ProcessesExecute the app as one or more stateless processes
- Port bindingExport services via port binding
- ConcurrencyScale out via the process model
- DisposabilityMaximize robustness with fast startup and graceful shutdown
- Dev/prod parityKeep development, staging, and production as similar as possible
- LogsTreat logs as event streams
- Admin processesRun admin/management tasks as one-off processes
Deployment
git push deis master
Build Types
- Heroku Buildpacks
- Dockerfile
- Docker Images
Ausblick
- Kubernetes (TP)
- Mesos / Marathon (TP)
- Docker Swarm (TP)
- Upgrades
Danke für die Aufmerksamkeit
Fragen? Antworten!
Göttliche Regeln
Build your PaaS with deis.io
Nicolas Byl, codecentric AG