Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

tsuru: the open source PaaS

2,844 views

Published on

Slides for the talk given at OSCON 2014: "tsuru: the open source PaaS".

http://www.oscon.com/oscon2014/public/schedule/detail/34093

Published in: Technology

tsuru: the open source PaaS

  1. 1. tsuru: the open source PaaS Francisco Souza @franciscosouza
  2. 2. What the F**rancisco?! • Software developer @ Globo.com • Working in the tsuru team since it was 2 months old • Open source enthusiast
  3. 3. globo .com
  4. 4. What’s tsuru?
  5. 5. What’s tsuru? • open source PaaS
  6. 6. What’s tsuru? • open source PaaS • the tool that allowed Globo.com developers to run dozens of deployments per week
  7. 7. What’s tsuru? • open source PaaS • the tool that allowed Globo.com developers to run dozens of deployments per week • over 50 contributors around the world (watch out, Docker!)
  8. 8. Why tsuru?
  9. 9. Why tsuru? • Why not OpenShift, Deis, Dokku, Cloud Foundry, Flynn or the new Docker-based PaaS of the week?
  10. 10. Why tsuru? • Why not OpenShift, Deis, Dokku, Cloud Foundry, Flynn or the new Docker-based PaaS of the week?
  11. 11. Why tsuru? • Why not OpenShift, Deis, Dokku, Cloud Foundry, Flynn or the new Docker-based PaaS of the week? • Started January 2012: not that amount of options
  12. 12. Why tsuru? • Why not OpenShift, Deis, Dokku, Cloud Foundry, Flynn or the new Docker-based PaaS of the week? • Started January 2012: not that amount of options • Available options were not that open
  13. 13. What about a demo? Let’s walk into tsuru details with a demo
  14. 14. What happened? • app-create
  15. 15. What happened? • git push tsuru master
  16. 16. What happened? • hit http://hello.portland.souza.cc
  17. 17. What happened? • env-set
  18. 18. Handling services
  19. 19. Handling services • There’s a contract between services and tsuru: an HTTP API • Open source solutions for services like: MySQL, MongoDB, PostgreSQL, Varnish and Redis • Work-in-progress integration with Globo.com's DBaaS solution: github.com/globocom/database- as-a-service
  20. 20. Extending tsuru
  21. 21. Extending tsuru • Provisioner • Work queueing • HTTP Router • Authentication strategy • Deployment strategy • IaaS providers (next version of tsuru)
  22. 22. How we run tsuru • No enterprise tsuru • Home made IaaS, on top of Xen, EC2 API • CloudStack • Redundancy on every component • About 30 docker nodes • More than 500 application deployments in the last month
  23. 23. How you can run tsuru • On your virtual or physical servers • Following the guide: http://fsouza.net/build-your- tsuru • Using a “do-everything” script: https://github.com/ tsuru/now
  24. 24. Do it now :) • tsuru-now: github.com/tsuru/now • tsuru-bootstrap: github.com/tsuru/tsuru-bootstrap
  25. 25. Future • Better integration with the IaaS layer (EC2 and CloudStack on target) • Resilience, resilience, resilience! • Ease of use • Serious documentation :)
  26. 26. Make it happen! • github.com/tsuru • tsuru-users @ Google Groups • #tsuru @ irc.freenode.net
  27. 27. tsuru: the open source PaaS Francisco Souza @franciscosouza slideshare.net/franciscosouza f@souza.cc tsuru.io

×