OpenSource PaaS

Tobias Brunner
September 09, 2015

OpenSource PaaS

An overview of available and actively maintained OpenSource PaaS software

Tobias Brunner

September 09, 2015

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

22 slides
  1. 09/08/15 VSHN AG | http://vshn.ch 2 Agenda • VSHN? Or:

    How do I spell that? • PaaS in 2015 • Buildpack • Open Source Projects overview – Dokku, Deis, Tsuru, Flynn, Apache Stratos, OpenShift v3, Cloud Foundry
  2. 09/08/15 VSHN AG | http://vshn.ch 3 /me • Tobias Brunner

    aka tobru • VSHNeer since the beginning of VSHN • Open Source fan • Blog: https://tobrunet.ch • Twitter: @tobruzh
  3. 09/08/15 VSHN AG | http://vshn.ch 4 Company Profle | v

    ʒ | ˈ ɪ nn • Owner-operated Swiss company • 12 employees at the head office in Zurich • Service provider for DevOps, software delivery automation and confguration management • Partner for operations/hosting of web applications • Further specialty felds: Consulting, System Engineering, Continuous Delivery, Monitoring, Backup, 24/7 Support
  4. 09/08/15 VSHN AG | http://vshn.ch 6 PaaS in 2015 •

    Push to deploy • Automatic – Building – Testing – Releasing – Monitoring – Feedback – (Scaling)
  5. 09/08/15 VSHN AG | http://vshn.ch 7 PaaS in 2015 •

    At the moment: Docker most used backing tool • Shared concepts: – Push to deploy (f.e. git push) – Docker – Builds container matching app language – Automatic deployment • Twelve-Factor App (http://12factor.net/ ) • Buildpacks
  6. 09/08/15 VSHN AG | http://vshn.ch 8 Buildpacks • Invention of

    Heroku • Foundation of many Open Source PaaS implementations • Defnes how to build up the stack • Not limited to one language • Autodetection of application language • Many open buildpacks available
  7. 09/08/15 VSHN AG | http://vshn.ch 9 Tool 1: Dokku •

    Written in Bash (~200 Lines) • Builds on Heroku Buildpacks • Single host • Many plug-ins • Easy to get up and running $ cd node-js-sample $ git remote add dokku [email protected]:node-js-app $ git push dokku master Counting objects: 296, done. Delta compression using up to 4 threads. Compressing objects: 100% (254/254), done. Writing objects: 100% (296/296), 193.59 KiB, done. Total 296 (delta 25), reused 276 (delta 13) -----> Building node-js-app ... Node.js app detected -----> Resolving engine versions ... blah blah blah ... -----> Application deployed: http://node-js-app.dokku.me
  8. 09/08/15 VSHN AG | http://vshn.ch 10 Tool 2: Deis •

    Docker, CoreOS, Ceph • Builds on Heroku Buildpacks • Twelve-Factor App needed • Supported languages: Ruby, Python, Node.js, Java, Clojure, Scala, Play, PHP, Perl, Dart and Go. • At least 3 servers needed • Many components involved: Controller, Database, Cache, Builder, Registry, Logspout, Logger, Publisher, Router, Store. • Scheduler: Fleet. Previews: Kubernetes, Mesos with Marathon, Swarm
  9. 09/08/15 VSHN AG | http://vshn.ch 12 Tool 3: Tsuru •

    Supports any app language and even Buildpacks • Single server possible, but also a cluster of servers – Can be any Docker host • IaaS integration (manage VMs) • Databases as services • git push or tsuru app-deploy • Components: tsurud, tsuru, tsuru-admin, crane, gandalf, registry, router
  10. 09/08/15 VSHN AG | http://vshn.ch 13 Tool 4: Flynn •

    Run anything, not just Twelve-Factor Apps • PostgreSQL support included, others coming • Buildpacks used • One or more nodes • Components: many / self invented – Layer 0 is a low-level resource framework inspired by the Google Omega paper. Layer 0 also includes service discovery. – Layer 1 is a set of higher level components that makes it easy to deploy and maintain applications and databases.
  11. 09/08/15 VSHN AG | http://vshn.ch 14 Tool 5: Apache Stratos

    • PaaS Framework • True Multi-Tenancy • Dynamic scaling, cloud bursting, IaaS integration • Complex architecture • Backed by Apache Foundation • Uses so called cartridges • Supports Kubernetes
  12. 09/08/15 VSHN AG | http://vshn.ch 16 Tool 6: OpenShift v3

    • Enterprise and Origin (OpenSource), RedHat product • Based on Kubernetes • Simple running: Runs itself in a Docker container • Automatic scaling • Provides database services • Helps in building the application (S2I)
  13. 09/08/15 VSHN AG | http://vshn.ch 18 Tool 7: Cloud Foundry

    • Started at VMware, now owned by Pivotal Software • Helps with full application lifecycle: dev, stage, prod, … • Best used with Twelve-Factor Apps • Many components: Cloud Controller, Elastic Runtime, Router, Authentication, Application Execution (DEA), Blob Store, Services, Operations BOSH, Logging and Statistics, HM9000
  14. 09/08/15 VSHN AG | http://vshn.ch 20 Conclusion • Many OpenSource

    PaaS available • From simple (Dokku) to very complex (Apache Stratos) • Getting started: Use Dokku • Production Cluster: Chose between Deis or OpenShift v3 • Having fun: Tsuru, Flynn • For freaking out: Apache Stratos or Cloud Foundry

More Decks by Tobias Brunner

Other Decks in Technology