Deis

Building your own PaaS

@jpizarrom

About Me

@jpizarrom

Lead Software Engineer @ Admetricks.com

PaaS

  • git-push-deploy

Developer Workflow

  • Create applications
  • Deploy code and build artifacts
  • Configure runtime environment
  • Manage releases and rollbacks
  • Run ephemeral commands
  • View aggregated logs
  • Scale out via the process model
  • Collaborate with a team

About Deis

  • Multi-Host Docker PAAS
  • Heroku-inspired workflow
  • 100% open source

Division of Responsibility

  • Developers own the containers
  • Operations own the platform

Approach

  • Focus on 12 Factor Apps
  • Use external backing services for state

Use Deis

  • git push deis master
  • deis scale web=4

CI/CD

  • github
  • jenkins
  • slack

We learn

  • Always Limit Memory
  • Always Limit CPU
  • Always Monitor discs
  • btrfs has troubles

Next Steps

  • Migrate to deis stateless (>1.7)
    • Removal of state from the control plane
    • Reduced resource usage
    • Reduced complexity and operation
    • add one machine at time
  • AWS
    • AWS RDS
    • AWS S3

Thanks!

Resources

http://deis.io/

https://www.docker.com/

https://coreos.com/

http://gabrtv.github.io/deis-dockercon-2014

http://12factor.net/

deis-intro

By Juan Pizarro

deis-intro

  • 915