tsuru: the open source paas

28
tsuru: the open source PaaS Francisco Souza @franciscosouza

Upload: francisco-souza

Post on 08-Sep-2014

797 views

Category:

Technology


0 download

DESCRIPTION

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

TRANSCRIPT

Page 1: tsuru: the open source PaaS

tsuru: the open source PaaS

Francisco Souza @franciscosouza

Page 2: tsuru: the open source PaaS

What the F**rancisco?!

• Software developer @ Globo.com

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

• Open source enthusiast

Page 3: tsuru: the open source PaaS

globo .com

Page 4: tsuru: the open source PaaS

What’s tsuru?

Page 5: tsuru: the open source PaaS

What’s tsuru?

• open source PaaS

Page 6: tsuru: the open source PaaS

What’s tsuru?

• open source PaaS

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

Page 7: tsuru: the open source PaaS

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

Page 8: tsuru: the open source PaaS

Why tsuru?

Page 9: tsuru: the open source PaaS

Why tsuru?

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

Page 10: tsuru: the open source PaaS

Why tsuru?

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

Page 11: tsuru: the open source PaaS

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

Page 12: tsuru: the open source PaaS

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

Page 13: tsuru: the open source PaaS

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

Page 14: tsuru: the open source PaaS

What happened?• app-create

Page 15: tsuru: the open source PaaS

What happened?• git push tsuru master

Page 16: tsuru: the open source PaaS

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

Page 17: tsuru: the open source PaaS

What happened?• env-set

Page 18: tsuru: the open source PaaS
Page 19: tsuru: the open source PaaS

Handling services

Page 20: tsuru: the open source PaaS

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

Page 21: tsuru: the open source PaaS

Extending tsuru

Page 22: tsuru: the open source PaaS

Extending tsuru• Provisioner

• Work queueing

• HTTP Router

• Authentication strategy

• Deployment strategy

• IaaS providers (next version of tsuru)

Page 23: tsuru: the open source PaaS

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

Page 24: tsuru: the open source PaaS

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

Page 25: tsuru: the open source PaaS

Do it now :)

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

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

Page 26: tsuru: the open source PaaS

Future

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

• Resilience, resilience, resilience!

• Ease of use

• Serious documentation :)

Page 27: tsuru: the open source PaaS

Make it happen!

• github.com/tsuru

• tsuru-users @ Google Groups

• #tsuru @ irc.freenode.net

Page 28: tsuru: the open source PaaS

tsuru: the open source PaaS

Francisco Souza @franciscosouza slideshare.net/franciscosouza [email protected]

tsuru.io