Send the link below via email or IMCopy
Present to your audienceStart remote presentation
- Invited audience members will follow you as you navigate and present
- People invited to a presentation do not need a Prezi account
- This link expires 10 minutes after you close the presentation
- A maximum of 30 users can follow your presentation
- Learn more about this feature in our knowledge base article
Dokku - your very own Heroku
Transcript of Dokku - your very own Heroku
What is Dokku?
Dokku is a PaaS - Platform as a Service. In essence a way to deploy code, do installation, build and environment in a single step
What do you need?
Linux server for hosting
Preferably Ubuntu 13.04 x64
One of the supported languages or build your own Buildpack
Plugins - more stuff!
The other things your environment needs are plugged in, variables set etc.
Why not Heroku?
It's your own Heroku, that's all the why you need!
The TV Chef - I prepared some things...
Thanks for listening!
How stuff works
Setup your project using Git as version control
Add a new remote
Push - it's all automatic: deploy, installation of dependencies, build, host name
Functional blocks instead of layers
Specialized libraries/modules instead of monolithic "engines"
Scalability and thinking in interfaces
Proof of Concept
Instant test environment
Smaller step dev -> release
Developers create and maintain application environment
Operations create, maintain and monitor host environment
Ops can move and scale
History of the Container
Pre 1960: furniture, boxes, barrels, bags in a mess
Difficult to load, optimize, shift
In 1960 the container arrived: standard measurements, protection
Easy to shift, secure, enclosed, optimized
The Docker Container
Virtual machine - sort of, but not really...
Self-contained but not complete
Isolated but light-weight
Movable between different hosts - like a shipping container
Fun with Containers
It's got what apps crave
No need to restart a full machine
Saves snapshots based on diffs
Easy to move
Less isolated than a full VM, but shares resources better
Process managers (Circus, Shoreman, Supervisord)
Node (as a dev tool)
No git submodules
No adding dynos etc.
No client app - some tasks (like viewing logs) requires ssh into host
Dokku > Heroku
Control! (routing, startup time, request limits, memory)
No dynos are le tired
More functionality (save local files?)
Price - Dokku is free!
Instantiated on Digital Ocean
Generated public ssh key
Release the stack and app in one go
Virtualization and diffs without the penalties
Full control and better pricing than Heroku
Try it yourself
Stay in touch
What is supported?
More about Docker