13. $ pip install deis
$ deis register http://mylocalpaas.com
$ deis keys:add
● Install client
14. ● Simpler deploy
$ mkdir myapp ; cd myapp
$ deis create myapp
$ deis pull rochacon/ifconfigme
Creating build... done, v2
$ curl myapp.mylocalpaas.com
192.168.20.219
15. ● Docker deploy
Instead of “docker build”
# create the app
$ deis create myapp
# push it
$ git push deis master
-----> Building Docker image
-----> Pushing image to private registry
-----> Launching...
done, myapp:v1 deployed to Deis
http://myapp.mylocalpaas.com
# use it
$ curl http://myapp.mylocalpaas.com
Hello
16. ● Scale it
$ deis scale cmd=5
Scaling processes... but first, coffee!
..o
done in 25s
=== myapp Processes
--- cmd:
cmd.1 up (v13)
cmd.2 up (v13)
cmd.3 up (v13)
cmd.4 up (v13)
cmd.5 up (v13)