tsuru: the open source PaaS

Preview:

DESCRIPTION

Slides for the talk given at OSCON 2014: "tsuru: the open source PaaS". http://www.oscon.com/oscon2014/public/schedule/detail/34093

Citation preview

tsuru: the open source PaaS

Francisco Souza @franciscosouza

What the F**rancisco?!

• Software developer @ Globo.com

• Working in the tsuru team since it was 2 months old

• Open source enthusiast

globo .com

What’s tsuru?

What’s tsuru?

• open source PaaS

What’s tsuru?

• open source PaaS

• the tool that allowed Globo.com developers to run dozens of deployments per week

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!)

Why tsuru?

Why tsuru?

• Why not OpenShift, Deis, Dokku, Cloud Foundry, Flynn or the new Docker-based PaaS of the week?

Why tsuru?

• Why not OpenShift, Deis, Dokku, Cloud Foundry, Flynn or the new Docker-based PaaS of the week?

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

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

What about a demo?Let’s walk into tsuru details with a demo

What happened?• app-create

What happened?• git push tsuru master

What happened?• hit http://hello.portland.souza.cc

What happened?• env-set

Handling services

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

Extending tsuru

Extending tsuru• Provisioner

• Work queueing

• HTTP Router

• Authentication strategy

• Deployment strategy

• IaaS providers (next version of tsuru)

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

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

Do it now :)

• tsuru-now: github.com/tsuru/now

• tsuru-bootstrap: github.com/tsuru/tsuru-bootstrap

Future

• Better integration with the IaaS layer (EC2 and CloudStack on target)

• Resilience, resilience, resilience!

• Ease of use

• Serious documentation :)

Make it happen!

• github.com/tsuru

• tsuru-users @ Google Groups

• #tsuru @ irc.freenode.net

tsuru: the open source PaaS

Francisco Souza @franciscosouza slideshare.net/franciscosouza f@souza.cc

tsuru.io

Recommended